krita
kis_tool_shape.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef KIS_TOOL_SHAPE_H_
00020 #define KIS_TOOL_SHAPE_H_
00021
00022 #include <koffice_export.h>
00023
00024 #include "kis_tool_paint.h"
00025 #include "kis_painter.h"
00026
00027 class QGridLayout;
00028 class WdgGeometryOptions;
00029
00030 class KRITACORE_EXPORT KisToolShape : public KisToolPaint {
00031
00032 Q_OBJECT
00033 typedef KisToolPaint super;
00034
00035 public:
00036 KisToolShape(const QString& UIName);
00037 virtual ~KisToolShape();
00038
00039 virtual enumToolType toolType() { return TOOL_SHAPE; }
00040
00041 protected:
00042 virtual QWidget* createOptionWidget(QWidget* parent);
00043
00044 KisPainter::FillStyle fillStyle();
00045
00046 private:
00047 QGridLayout *m_optionLayout;
00048 WdgGeometryOptions *m_shapeOptionsWidget;
00049 };
00050
00051 #endif // KIS_TOOL_SHAPE_H_
00052
|