16 #ifndef QGSLAYOUTDESIGNERINTERFACE_H 17 #define QGSLAYOUTDESIGNERINTERFACE_H 58 if ( qobject_cast<QgsLayoutDesignerInterface *>( sipCpp ) )
59 sipType = sipType_QgsLayoutDesignerInterface;
93 virtual QWidget *window() = 0;
109 virtual void selectItems(
const QList< QgsLayoutItem * > &items ) = 0;
117 virtual void setAtlasPreviewEnabled(
bool enabled ) = 0;
125 virtual bool atlasPreviewEnabled()
const = 0;
135 virtual void showItemOptions(
QgsLayoutItem *item,
bool bringPanelToFront =
true ) = 0;
153 virtual QMenu *layoutMenu() = 0;
169 virtual QMenu *editMenu() = 0;
185 virtual QMenu *viewMenu() = 0;
201 virtual QMenu *itemsMenu() = 0;
219 virtual QMenu *atlasMenu() = 0;
237 virtual QMenu *reportMenu() = 0;
253 virtual QMenu *settingsMenu() = 0;
266 virtual QToolBar *layoutToolbar() = 0;
279 virtual QToolBar *navigationToolbar() = 0;
292 virtual QToolBar *actionsToolbar() = 0;
308 virtual QToolBar *atlasToolbar() = 0;
319 virtual void addDockWidget( Qt::DockWidgetArea area, QDockWidget *dock ) = 0;
330 virtual void removeDockWidget( QDockWidget *dock ) = 0;
337 virtual void close() = 0;
344 virtual void showRulers(
bool visible ) = 0;
349 #endif // QGSLAYOUTDESIGNERINTERFACE_H Base class for graphical items within a QgsLayout.
A graphical widget to display and interact with QgsLayouts.
QgsLayoutDesignerInterface(QObject *parent=nullptr)
Constructor for QgsLayoutDesignerInterface.
A bar for displaying non-blocking messages to the user.
A common interface for layout designer dialogs and widgets.
Base class for layouts, which can contain items such as maps, labels, scalebars, etc.
#define SIP_CONVERT_TO_SUBCLASS_CODE(code)
Interface for master layout type objects, such as print layouts and reports.