umbrello API Documentation

assocrolepage.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 ASSOCROLEPAGE_H
00013 #define ASSOCROLEPAGE_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 
00025 //my class includes
00026 #include "../umlobject.h"
00027 #include "../objectwidget.h"
00028 #include "../umldoc.h"
00029 #include "../associationwidget.h"
00030 
00039 class AssocRolePage : public QWidget {
00040     Q_OBJECT
00041 public:
00042 
00050     AssocRolePage(UMLDoc *d, QWidget *parent, AssociationWidget *a);
00051 
00055     ~AssocRolePage();
00056 
00061     void updateObject();
00062 
00063 private:
00064     QLineEdit *m_pRoleALE, *m_pRoleBLE, *m_pMultiALE, *m_pMultiBLE;
00065     QMultiLineEdit *m_pDocA, *m_pDocB;
00066     AssociationWidget *m_pAssociationWidget;
00067     UMLDoc * m_pUmldoc;
00068     ObjectWidget *m_pWidget;
00069     QRadioButton *m_PublicARB, *m_ProtectedARB, *m_PrivateARB, *m_ImplementationARB;
00070     QRadioButton *m_PublicBRB, *m_ProtectedBRB, *m_PrivateBRB, *m_ImplementationBRB;
00071     QRadioButton *m_ChangeableARB, *m_AddOnlyARB, *m_FrozenARB;
00072     QRadioButton *m_ChangeableBRB, *m_AddOnlyBRB, *m_FrozenBRB;
00073 
00074     void constructWidget();
00075 
00076 public slots:
00082     // void slotActorToggled( bool state );
00083 };
00084 
00085 #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