kivio
kivioarrowheadformatdlg.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef KIVIOARROWHEADFORMATDLG_H
00021 #define KIVIOARROWHEADFORMATDLG_H
00022
00023 #include <kdialogbase.h>
00024
00025 #include <KoUnit.h>
00026
00027 class KoUnitDoubleSpinBox;
00028 class KComboBox;
00029 class KivioView;
00030
00031 class KivioArrowHeadFormatDlg : public KDialogBase
00032 {
00033 Q_OBJECT
00034 public:
00035 KivioArrowHeadFormatDlg(KivioView* parent, const char* name = 0);
00036
00037 int startAHType();
00038 double startAHWidth();
00039 double startAHHeight();
00040 int endAHType();
00041 double endAHWidth();
00042 double endAHHeight();
00043
00044 public slots:
00045 void setUnit(KoUnit::Unit u);
00046 void setStartAHType(int t);
00047 void setStartAHWidth(double w);
00048 void setStartAHHeight(double h);
00049 void setEndAHType(int t);
00050 void setEndAHWidth(double w);
00051 void setEndAHHeight(double h);
00052
00053 protected slots:
00054 void slotDefault();
00055
00056 protected:
00057 void init();
00058 void loadArrowHeads(KComboBox* combo);
00059
00060 protected:
00061 KoUnitDoubleSpinBox* m_startAHWidthUSBox;
00062 KoUnitDoubleSpinBox* m_startAHHeightUSBox;
00063 KoUnitDoubleSpinBox* m_endAHWidthUSBox;
00064 KoUnitDoubleSpinBox* m_endAHHeightUSBox;
00065 KComboBox* m_startAHTypeCBox;
00066 KComboBox* m_endAHTypeCBox;
00067 KoUnit::Unit m_unit;
00068 };
00069
00070 #endif
|