umlwidgetcolorpage.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef UMLWIDGETCOLORPAGE_H
00013 #define UMLWIDGETCOLORPAGE_H
00014
00015 #include <qwidget.h>
00016 #include "../optionstate.h"
00017
00022 class UMLWidget;
00023 class UMLView;
00024 class KColorButton;
00025 class QLabel;
00026 class QPushButton;
00027 class QCheckBox;
00028 class QGroupBox;
00029
00030 class UMLWidgetColorPage : public QWidget {
00031 Q_OBJECT
00032 public:
00033
00037 UMLWidgetColorPage( QWidget * pParent, UMLWidget * pWidget );
00038
00042 UMLWidgetColorPage( QWidget * pParent, Settings::OptionState *options );
00043
00047 virtual ~UMLWidgetColorPage();
00048
00052 void updateUMLWidget();
00053
00054 public slots:
00059 void slotLineButtonClicked();
00060
00065 void slotFillButtonClicked();
00066
00067 protected:
00071 UMLWidget * m_pUMLWidget;
00072
00073 Settings::OptionState *m_options;
00074
00075
00076 QGroupBox * m_pColorGB;
00077 QLabel * m_pLineColorL, * m_pFillColorL;
00078 QCheckBox * m_pUseFillColorCB;
00079 QPushButton * m_pLineDefaultB, * m_pFillDefaultB;
00080 KColorButton * m_pLineColorB, * m_pFillColorB;
00081 private:
00082 void init();
00083
00084 };
00085
00086 #endif
This file is part of the documentation for umbrello Version 3.1.0.