20#ifndef __VSINUSTOOL_H__
21#define __VSINUSTOOL_H__
23#include <kdialogbase.h>
24#include "vshapetool.h"
26class KoUnitDoubleSpinBox;
31class VSinusTool : public VShapeTool
34 VSinusTool( KarbonView * view );
35 virtual ~VSinusTool();
37 virtual void setup(TDEActionCollection *collection);
38 virtual bool showDialog() const;
39 virtual TQString uiname() { return i18n( "Sinus Tool" ); }
41 virtual VPath *shape( bool interactive = false ) const;
46 class VSinusOptionsWidget : public KDialogBase
49 VSinusOptionsWidget( KarbonPart *part, TQWidget *parent = 0L, const char *name = 0L );
52 double height() const;
54 void setWidth( double value );
55 void setHeight( double value );
56 void setPeriods( uint value );
60 KoUnitDoubleSpinBox *m_width;
61 KoUnitDoubleSpinBox *m_height;
62 KIntSpinBox *m_periods;
64 TQLabel *m_heightLabel;
65 TQLabel *m_widthLabel;
68 VSinusOptionsWidget *m_optionsWidget;
Keeps track of visual per document properties.
A composite path consists of one or many subpaths.
|