umltemplatedialog.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef UMLTEMPLATEDIALOG_H
00013 #define UMLTEMPLATEDIALOG_H
00014
00015 #include <kdialogbase.h>
00016
00017 class QButtonGroup;
00018 class QCheckBox;
00019 class KComboBox;
00020 class QGroupBox;
00021 class QLineEdit;
00022 class QRadioButton;
00023 class UMLTemplate;
00024
00032 class UMLTemplateDialog : public KDialogBase {
00033 Q_OBJECT
00034 public:
00035 UMLTemplateDialog(QWidget* pParent, UMLTemplate* pAttribute);
00036 ~UMLTemplateDialog();
00037
00038 protected:
00042 void setupDialog();
00043
00048 bool apply();
00049
00053 UMLTemplate* m_pTemplate;
00054
00055
00056 QGroupBox* m_pTemplateGB;
00057 QGroupBox* m_pValuesGB;
00058 QLabel *m_pTypeL, *m_pNameL, *m_pStereoTypeL;
00059 KComboBox* m_pTypeCB;
00060 QLineEdit *m_pNameLE, *m_pStereoTypeLE;
00061
00062 public slots:
00067 void slotApply();
00068
00072 void slotOk();
00073 protected:
00077 void insertType( const QString& type, int index = -1 );
00078
00079 };
00080
00081 #endif
This file is part of the documentation for umbrello Version 3.1.0.