20#ifndef __WHIRLPINCHPLUGIN_H__
21#define __WHIRLPINCHPLUGIN_H__
23#include <kdialogbase.h>
24#include <tdeparts/plugin.h>
25#include <commands/vreplacingcmd.h>
30class WhirlPinchPlugin : public KParts::Plugin
35 WhirlPinchPlugin( KarbonView *parent, const char* name, const TQStringList & );
36 virtual ~WhirlPinchPlugin() {}
39 void slotWhirlPinch();
42 VWhirlPinchDlg *m_whirlPinchDlg;
47class VWhirlPinchDlg : public KDialogBase
53 VWhirlPinchDlg( TQWidget* parent = 0L, const char* name = 0L );
57 double radius() const;
58 void setAngle( double value );
59 void setPinch( double value );
60 void setRadius( double value );
63 KDoubleNumInput* m_angle;
64 KDoubleNumInput* m_pinch;
65 KDoubleNumInput* m_radius;
75 VWhirlPinchCmd( VDocument* doc,
76 double angle, double pinch, double radius );
77 virtual ~VWhirlPinchCmd();
79 virtual void visitVPath( VPath& composite );
80 virtual void visitVSubpath( VSubpath& path );
virtual bool changesSelection() const Returns if the command changes the actual document selection.
A composite path consists of one or many subpaths.
VReplacingCmd is a generic command.
VSelection manages a set of selected vobjects.
VSubpath provides a sophisticated list of VSegment.
|