16 #ifndef QGSLAYOUTDESIGNERINTERFACE_H 17 #define QGSLAYOUTDESIGNERINTERFACE_H 58 if ( qobject_cast<QgsLayoutDesignerInterface *>( sipCpp ) )
59 sipType = sipType_QgsLayoutDesignerInterface;
100 virtual QWidget *window() = 0;
116 virtual void selectItems(
const QList< QgsLayoutItem * > &items ) = 0;
124 virtual void setAtlasPreviewEnabled(
bool enabled ) = 0;
132 virtual bool atlasPreviewEnabled()
const = 0;
142 virtual void showItemOptions(
QgsLayoutItem *item,
bool bringPanelToFront =
true ) = 0;
160 virtual QMenu *layoutMenu() = 0;
176 virtual QMenu *editMenu() = 0;
192 virtual QMenu *viewMenu() = 0;
208 virtual QMenu *itemsMenu() = 0;
226 virtual QMenu *atlasMenu() = 0;
244 virtual QMenu *reportMenu() = 0;
260 virtual QMenu *settingsMenu() = 0;
273 virtual QToolBar *layoutToolbar() = 0;
286 virtual QToolBar *navigationToolbar() = 0;
299 virtual QToolBar *actionsToolbar() = 0;
315 virtual QToolBar *atlasToolbar() = 0;
326 virtual void addDockWidget( Qt::DockWidgetArea area, QDockWidget *dock ) = 0;
337 virtual void removeDockWidget( QDockWidget *dock ) = 0;
351 virtual void close() = 0;
358 virtual void showRulers(
bool visible ) = 0;
363 #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.
StandardTool
Standard designer tools which are always available for use.
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.