20#ifndef __VROUNDRECTTOOL_H__
21#define __VROUNDRECTTOOL_H__
24#include <kdialogbase.h>
28#include "vshapetool.h"
33class KoUnitDoubleSpinBox;
36class VRoundRectTool : public VShapeTool
39 VRoundRectTool( KarbonView * view );
40 virtual ~VRoundRectTool();
42 virtual bool showDialog() const;
43 virtual void setup(TDEActionCollection *collection);
44 virtual TQString uiname() { return i18n( "Round Rectangle Tool" ); }
46 virtual VPath* shape( bool interactive = false ) const;
51 class VRoundRectOptionsWidget : public KDialogBase
54 VRoundRectOptionsWidget( KarbonPart *part, TQWidget *parent = 0L, const char *name = 0L );
57 double height() const;
58 double roundx() const;
59 double roundy() const;
60 void setWidth( double value );
61 void setHeight( double value );
62 void setRoundX( double value );
63 void setRoundY( double value );
68 KoUnitDoubleSpinBox* m_width;
69 KoUnitDoubleSpinBox* m_height;
70 KoUnitDoubleSpinBox* m_roundx;
71 KoUnitDoubleSpinBox* m_roundy;
77 VRoundRectOptionsWidget* m_optionsWidget;
Keeps track of visual per document properties.
A composite path consists of one or many subpaths.
|