QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
16 #ifndef QGSLAYOUTDESIGNERINTERFACE_H
17 #define QGSLAYOUTDESIGNERINTERFACE_H
60 if ( qobject_cast<QgsLayoutDesignerInterface *>( sipCpp ) )
61 sipType = sipType_QgsLayoutDesignerInterface;
102 virtual QWidget *window() = 0;
118 virtual void selectItems(
const QList< QgsLayoutItem * > &items ) = 0;
126 virtual void setAtlasPreviewEnabled(
bool enabled ) = 0;
134 virtual bool atlasPreviewEnabled()
const = 0;
141 virtual void setAtlasFeature(
const QgsFeature &feature ) = 0;
151 virtual void showItemOptions(
QgsLayoutItem *item,
bool bringPanelToFront =
true ) = 0;
169 virtual QMenu *layoutMenu() = 0;
185 virtual QMenu *editMenu() = 0;
201 virtual QMenu *viewMenu() = 0;
217 virtual QMenu *itemsMenu() = 0;
235 virtual QMenu *atlasMenu() = 0;
253 virtual QMenu *reportMenu() = 0;
269 virtual QMenu *settingsMenu() = 0;
282 virtual QToolBar *layoutToolbar() = 0;
295 virtual QToolBar *navigationToolbar() = 0;
308 virtual QToolBar *actionsToolbar() = 0;
324 virtual QToolBar *atlasToolbar() = 0;
335 virtual void addDockWidget( Qt::DockWidgetArea area, QDockWidget *dock ) = 0;
346 virtual void removeDockWidget( QDockWidget *dock ) = 0;
353 virtual void activateTool( StandardTool tool ) = 0;
392 virtual void close() = 0;
399 virtual void showRulers(
bool visible ) = 0;
410 void layoutExported();
422 #endif // QGSLAYOUTDESIGNERINTERFACE_H
@ ToolMoveItemNodes
Move item nodes tool.
ExportResult
Result codes for exporting layouts.
QgsLayoutDesignerInterface(QObject *parent=nullptr)
Constructor for QgsLayoutDesignerInterface.
@ ToolMoveItemContent
Move item content tool.
QgsLayoutExporter::ExportResult result
Result/error code of export.
#define SIP_CONVERT_TO_SUBCLASS_CODE(code)
A bar for displaying non-blocking messages to the user.
StandardTool
Standard designer tools which are always available for use.
Base class for graphical items within a QgsLayout.
Layout graphical items for displaying a map.
QMap< QString, QgsLabelingResults * > labelingResults
Returns the labeling results for all map items included in the export.
Base class for layouts, which can contain items such as maps, labels, scalebars, etc.
A common interface for layout designer dialogs and widgets.
Encapsulates the results of an export operation performed in the designer.
A graphical widget to display and interact with QgsLayouts.
The feature class encapsulates a single feature including its unique ID, geometry and a list of field...
Interface for master layout type objects, such as print layouts and reports.