20#ifndef __VRECTANGLETOOL_H__
21#define __VRECTANGLETOOL_H__
25#include <kdialogbase.h>
27#include "vshapetool.h"
31class KoUnitDoubleSpinBox;
33class VRectangleTool : public VShapeTool
36 VRectangleTool( KarbonView * view );
37 virtual ~VRectangleTool();
39 virtual void setup(TDEActionCollection *collection);
40 virtual bool showDialog() const;
41 virtual TQString uiname() { return i18n( "Rectangle Tool" ); }
42 virtual VPath* shape( bool interactive = false ) const;
47 class VRectangleOptionsWidget : public KDialogBase
50 VRectangleOptionsWidget( KarbonPart *part, TQWidget* parent = 0L, const char* name = 0L );
53 double height() const;
54 void setWidth( double value );
55 void setHeight( double value );
59 KoUnitDoubleSpinBox *m_width;
60 KoUnitDoubleSpinBox *m_height;
62 TQLabel *m_heightLabel;
63 TQLabel *m_widthLabel;
66 VRectangleOptionsWidget *m_optionWidget;
Keeps track of visual per document properties.
A composite path consists of one or many subpaths.
|