umbrello API Documentation

umltemplatedialog.h

00001 /***************************************************************************
00002  *                                                                         *
00003  *   This program is free software; you can redistribute it and/or modify  *
00004  *   it under the terms of the GNU General Public License as published by  *
00005  *   the Free Software Foundation; either version 2 of the License, or     *
00006  *   (at your option) any later version.                                   *
00007  *                                                                         *
00008  *   copyright (C) 2003-2006                                               *
00009  *   Umbrello UML Modeller Authors <uml-devel@uml.sf.net>                  *
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     //GUI Widgets
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
KDE Logo
This file is part of the documentation for umbrello Version 3.1.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Jun 26 08:08:01 2007 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003