umbrello API Documentation

assocgenpage.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 ASSOCGENPAGE_H
00013 #define ASSOCGENPAGE_H
00014 
00015 //quicktime class includes
00016 #include <qwidget.h>
00017 #include <qgroupbox.h>
00018 #include <qlabel.h>
00019 #include <qlineedit.h>
00020 #include <qbuttongroup.h>
00021 #include <qmultilineedit.h>
00022 #include <qradiobutton.h>
00023 #include <qcheckbox.h>
00024 #include <qvaluelist.h>
00025 
00026 //my class includes
00027 #include "../umlobject.h"
00028 #include "../objectwidget.h"
00029 #include "../umldoc.h"
00030 #include "../associationwidget.h"
00031 
00032 class KComboBox;
00033 
00034 
00043 class AssocGenPage : public QWidget {
00044     Q_OBJECT
00045 public:
00046 
00054     AssocGenPage(UMLDoc *d, QWidget *parent, AssociationWidget *a);
00055 
00059     ~AssocGenPage();
00060 
00065     void updateObject();
00066 
00067 private:
00068     QLineEdit * m_pAssocNameLE;
00069     KComboBox *m_pTypeCB;
00070 
00071     /* Choices for the QComboBox, and we store ints and strings
00072        so we can translate both ways */
00073     QValueList<Uml::Association_Type> m_AssocTypes;
00074     QStringList m_AssocTypeStrings;
00075 
00076     QMultiLineEdit * m_pDoc;
00077 
00078     AssociationWidget *m_pAssociationWidget;
00079     UMLDoc * m_pUmldoc;
00080     ObjectWidget * m_pWidget;
00081 
00082     void constructWidget();
00083 
00084 public slots:
00090     // void slotActorToggled( bool state );
00091 };
00092 
00093 #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