karbon
vstrokedlg.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef __VSTROKEDLG_H__
00022 #define __VSTROKEDLG_H__
00023
00024 #include <kdialogbase.h>
00025
00026 class QComboBox;
00027 class QVButtonGroup;
00028
00029 class KarbonPart;
00030 class KoUnitDoubleSpinBox;
00031 class VStroke;
00032 class VColorTab;
00033
00034 class VStrokeDlg : public KDialogBase
00035 {
00036 Q_OBJECT
00037
00038 public:
00039 VStrokeDlg( KarbonPart* part, QWidget* parent = 0L, const char* name = 0L );
00040
00041 private:
00042 VColorTab* m_colortab;
00043 KarbonPart *m_part;
00044 KoUnitDoubleSpinBox *m_setLineWidth;
00045 QComboBox *m_styleCombo;
00046 QVButtonGroup *m_typeOption;
00047 QVButtonGroup *m_capOption;
00048 QVButtonGroup *m_joinOption;
00049
00050 protected:
00051 VStroke m_stroke;
00052
00053 signals:
00054 void strokeChanged( const VStroke & );
00055
00056 private slots:
00057 void slotTypeChanged( int ID );
00058 void slotCapChanged( int ID );
00059 void slotJoinChanged( int ID );
00060 void slotOKClicked();
00061 void slotUpdateDialog();
00062
00063 };
00064
00065 #endif
00066
|