karbon
- karbon
- plugins
- shadoweffect
20#ifndef __SHADOWEFFECTPLUGIN_H__
21#define __SHADOWEFFECTPLUGIN_H__
23#include <tdeparts/plugin.h>
24#include <kdialogbase.h>
25#include <commands/vcommand.h>
29class VShadowEffectDlg;
31class ShadowEffectPlugin : public KParts::Plugin
36 ShadowEffectPlugin( KarbonView *parent, const char* name, const TQStringList & );
37 virtual ~ShadowEffectPlugin() {}
40 void slotShadowEffect();
43 VShadowEffectDlg *m_shadowEffectDlg;
48class VShadowEffectDlg : public KDialogBase
54 VShadowEffectDlg( TQWidget* parent = 0L, const char* name = 0L );
57 void setDistance( int );
58 void setOpacity( int );
65 KIntNumInput *m_angle;
66 KIntNumInput *m_distance;
67 KIntNumInput *m_opacity;
70class VCreateShadowCmd : public VCommand
73 VCreateShadowCmd( VDocument* doc, int distance, int angle, float opacity );
74 virtual ~VCreateShadowCmd();
80 VSelection *m_oldObjects;
81 VSelection *m_newObjects;
The base class for all karbon commands.
virtual void unexecute() Unexecutes the command.
virtual bool changesSelection() const Returns if the command changes the actual document selection.
virtual void execute()=0 Executes the command.
VSelection manages a set of selected vobjects.
|