umbrello API Documentation

classgenpage.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) 2002-2006                                               *
00009  *   Umbrello UML Modeller Authors <uml-devel@uml.sf.net>                  *
00010  ***************************************************************************/
00011 
00012 #ifndef CLASSGENPAGE_H
00013 #define CLASSGENPAGE_H
00014 
00015 #include <qwidget.h>
00016 
00017 class QGroupBox;
00018 class QLabel;
00019 class QLineEdit;
00020 class QButtonGroup;
00021 class QMultiLineEdit;
00022 class QRadioButton;
00023 class QCheckBox;
00024 class KComboBox;
00025 
00026 class UMLObject;
00027 class UMLWidget;
00028 class ObjectWidget;
00029 class UMLDoc;
00030 
00039 class ClassGenPage : public QWidget {
00040     Q_OBJECT
00041 public:
00042 
00050     ClassGenPage(UMLDoc *d, QWidget *parent, UMLObject * o);
00051 
00059     ClassGenPage(UMLDoc *d, QWidget *parent, ObjectWidget * o);
00060 
00069     ClassGenPage(UMLDoc* d, QWidget* parent, UMLWidget* widget);
00070 
00074     ~ClassGenPage();
00075 
00080     void updateObject();
00081 private:
00082     QGroupBox *m_pDocGB;
00083     QButtonGroup        * m_pButtonBG;
00084     QLabel * m_pNameL, * m_pInstanceL, * m_pStereoTypeL, * m_pPackageL;
00085     QLineEdit * m_pClassNameLE, *m_pInstanceLE, * m_pPackageLE;
00086     KComboBox * m_pStereoTypeCB;
00087     QRadioButton *m_pPublicRB, *m_pPrivateRB, *m_pProtectedRB, *m_pImplementationRB;
00088     QCheckBox * m_pMultiCB, * m_pDrawActorCB, * m_pAbstractCB, * m_pDeconCB;
00089     QMultiLineEdit * m_pDoc;
00090     UMLObject * m_pObject;
00091     UMLDoc * m_pUmldoc;
00092     ObjectWidget * m_pWidget;
00093     UMLWidget* m_pInstanceWidget;
00094     QButtonGroup* m_pDrawAsBG;
00095     QRadioButton* m_pDefaultRB,* m_pFileRB,* m_pLibraryRB,* m_pTableRB;
00096     QCheckBox* m_pExecutableCB;
00097 
00098     void insertStereotype(const QString& type, int index = -1);
00099 
00100 public slots:
00106     void slotActorToggled( bool state );
00107 };
00108 
00109 #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:07:54 2007 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003