karbon
vstrokedocker.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef __VSTROKEDOCKER_H__
00022 #define __VSTROKEDOCKER_H__
00023
00024 class QHButtonGroup;
00025 class QWidget;
00026
00027 class KoUnitDoubleSpinBox;
00028
00029 class KoMainWindow;
00030 class KarbonView;
00031 class KarbonPart;
00032
00033 class VStrokeDocker : public QWidget
00034 {
00035 Q_OBJECT
00036
00037 public:
00038 VStrokeDocker( KarbonPart* part, KarbonView* parent = 0L, const char* name = 0L );
00039
00040 public slots:
00041 virtual void setStroke( const VStroke & );
00042 virtual void setUnit( KoUnit::Unit unit );
00043
00044 private:
00045 QHButtonGroup *m_capGroup;
00046 QHButtonGroup *m_joinGroup;
00047 KarbonPart *m_part;
00048 KarbonView *m_view;
00049 KoUnitDoubleSpinBox *m_setLineWidth;
00050
00051 private slots:
00052 void slotCapChanged( int ID );
00053 void slotJoinChanged( int ID );
00054 void updateCanvas();
00055 void updateDocker();
00056 void widthChanged();
00057
00058 protected:
00059 VStroke m_stroke;
00060 };
00061
00062 #endif
00063
|