umbrello API Documentation

assocpage.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 
00013 #ifndef ASSOCPAGE_H
00014 #define ASSOCPAGE_H
00015 
00016 #include <qwidget.h>
00017 #include <qgroupbox.h>
00018 #include <qlistbox.h>
00019 #include <qptrlist.h>
00020 
00021 #include "../umlobject.h"
00022 #include "../umlview.h"
00023 #include "../associationwidgetlist.h"
00024 #include "../associationwidget.h"
00025 #include "../listpopupmenu.h"
00026 
00027 
00041 class AssocPage : public QWidget {
00042     Q_OBJECT
00043 public:
00051     AssocPage(QWidget *parent, UMLView * v, UMLObject * o);
00052 
00056     ~AssocPage();
00057 private:
00058     UMLObject * m_pObject;
00059     UMLView * m_pView;
00060     QListBox * m_pAssocLB;
00061     QGroupBox * m_pAssocGB;
00062     AssociationWidgetList m_List;
00063     ListPopupMenu * m_pMenu;
00064 
00068     void fillListBox();
00069 public slots:
00070     void slotDoubleClick(QListBoxItem * i);
00071     void slotRightButtonClicked(QListBoxItem */* item*/, const QPoint &/* p*/);
00072     void slotRightButtonPressed(QListBoxItem * item, const QPoint & p);
00073     void slotPopupMenuSel(int id);
00074 };
00075 
00076 #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