20#include <QtCore/qobject.h>
28namespace ot {
class PropertyGrid; };
29namespace ot {
class GraphicsItemCfg; };
43 virtual QString
getToolName(
void)
const override {
return QString(
"Graphics Item Designer"); };
74 void slotImportRequested(
void);
75 void slotExportRequested(
void);
76 void slotExportAsImageRequested(
void);
77 void slotUpdateConfigRequested(
void);
78 void slotDrawFinished(
void);
79 void slotDrawCancelled(
void);
80 void slotMakeTransparentRequested(
void);
81 void slotDuplicateRequested(
void);
82 void slotClearRequested(
void);
83 void slotGeneratePreview(
void);
This file contains defines that may be used simplyfy class creation.
Definition GraphicsItemDesignerDrawHandler.h:18
DrawMode
Definition GraphicsItemDesignerDrawHandler.h:21
Definition GraphicsItemDesignerExportConfig.h:14
Definition GraphicsItemDesigner.h:31
virtual void restoreToolSettings(QSettings &_settings) override
Definition GraphicsItemDesigner.cpp:92
GraphicsItemDesignerNavigation * getNavigation(void) const
Definition GraphicsItemDesigner.h:59
virtual QString getToolName(void) const override
Return the unique tool name The name will be used to create all required menu entries.
Definition GraphicsItemDesigner.h:43
const GraphicsItemDesignerImageExportConfig & getImageExportConfig(void) const
Definition GraphicsItemDesigner.h:65
void setImageExportConfig(const GraphicsItemDesignerImageExportConfig &_config)
Definition GraphicsItemDesigner.h:64
GraphicsItemDesignerView * getView(void) const
Definition GraphicsItemDesigner.h:56
GraphicsItemDesignerToolBar * getToolBar(void) const
Definition GraphicsItemDesigner.h:58
virtual bool prepareToolShutdown(QSettings &_settings) override
Stop all the logic of this tool.
Definition GraphicsItemDesigner.cpp:131
GraphicsItemDesigner()
Definition GraphicsItemDesigner.cpp:41
void setExportConfig(const GraphicsItemDesignerExportConfig &_config)
Definition GraphicsItemDesigner.h:61
ot::PropertyGrid * getPropertyGrid(void) const
Definition GraphicsItemDesigner.h:57
const GraphicsItemDesignerExportConfig & getExportConfig(void) const
Definition GraphicsItemDesigner.h:62
virtual ~GraphicsItemDesigner()
Definition GraphicsItemDesigner.h:35
virtual bool runTool(QMenu *_rootMenu, otoolkit::ToolWidgets &_content) override
Create the central widget that will be displayed to the user in the main tab view.
Definition GraphicsItemDesigner.cpp:48
Definition GraphicsItemDesignerImageExportConfig.h:12
Definition GraphicsItemDesignerNavigation.h:30
Definition GraphicsItemDesignerPreview.h:13
Definition GraphicsItemDesignerView.h:17
The GraphicsItemCfg is the base class for all graphics item configurations.
Definition GraphicsItemCfg.h:33
Definition PropertyGrid.h:29
std::list< UID > UIDList
Unique identifier list.
Definition CoreTypes.h:31