umbrello 2.32.3 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

packagecontentspage.h
Go to the documentation of this file.
1 /***************************************************************************
2 * This program is free software; you can redistribute it and/or modify *
3 * it under the terms of the GNU General Public License as published by *
4 * the Free Software Foundation; either version 2 of the License, or *
5 * (at your option) any later version. *
6 * *
7 * copyright (C) 2003-2020 *
8 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9 ***************************************************************************/
10 #ifndef PACKAGECONTENTSPAGE_H
11 #define PACKAGECONTENTSPAGE_H
12
13 #include "dialogpagebase.h"
14
15 class UMLPackage;
16 class QGroupBox;
17 class QListWidget;
18 class QListWidgetItem;
19
25 class PackageContentsPage : public DialogPageBase
26 {
27 Q_OBJECT
28 public:
29 PackageContentsPage(QWidget *parent, UMLPackage *pkg);
30 ~PackageContentsPage();
31
32 private:
33 UMLPackage * m_package;
34 QListWidget * m_contentLW;
35 QGroupBox * m_contentGB;
36
37 void fillListBox();
38
39 public slots:
40 void slotDoubleClick(QListWidgetItem * item);
41 void slotShowContextMenu(const QPoint&);
42 void slotMenuSelection(QAction* action);
43 };
44
45 #endif
PackageContentsPage::slotShowContextMenu
void slotShowContextMenu(const QPoint &)
Definition: packagecontentspage.cpp:109
UMLPackage::containedObjects
UMLObjectList containedObjects(bool includeInactive=false)
Definition: package.cpp:266
ListPopupMenu::mt_Properties
@ mt_Properties
Definition: listpopupmenu.h:182
UMLObject::name
QString name() const
Definition: umlobject.cpp:211
DialogsPopupMenu
Definition: dialogspopupmenu.h:17
UMLDoc::removeUMLObject
void removeUMLObject(UMLObject *umlobject, bool deleteObject=false)
Definition: umldoc.cpp:1883
packagecontentspage.h
dialogpagebase.h
ClassPropertiesDialog
Definition: classpropertiesdialog.h:35
UMLObject
The base class for UML objects.
Definition: umlobject.h:74
PackageContentsPage::fillListBox
void fillListBox()
Definition: packagecontentspage.cpp:92
PackageContentsPage::m_contentGB
QGroupBox * m_contentGB
Definition: packagecontentspage.h:35
PackageContentsPage::m_contentLW
QListWidget * m_contentLW
Definition: packagecontentspage.h:34
DialogsPopupMenu::tt_Association_Selected
@ tt_Association_Selected
Definition: dialogspopupmenu.h:25
PackageContentsPage::slotDoubleClick
void slotDoubleClick(QListWidgetItem *item)
Definition: packagecontentspage.cpp:73
PackageContentsPage::slotMenuSelection
void slotMenuSelection(QAction *action)
Definition: packagecontentspage.cpp:116
ListPopupMenu::MenuType
MenuType
< This type hosts all possible menu entry types
Definition: listpopupmenu.h:44
DialogPageBase
Definition: dialogpagebase.h:25
UMLObjectListIt
QListIterator< QPointer< UMLObject > > UMLObjectListIt
Definition: umlobjectlist.h:19
i18n
#define i18n
Definition: main.cpp:39
PackageContentsPage::~PackageContentsPage
~PackageContentsPage()
Definition: packagecontentspage.cpp:65
ListPopupMenu::toString
static QString toString(MenuType menu)
Definition: listpopupmenu.cpp:609
uDebug
#define uDebug()
Definition: debug_utils.h:122
MyProject\connect
connect()
Definition: namespaces-multiple.php:5
UMLApp::app
static UMLApp * app()
Definition: uml.cpp:278
PackageContentsPage::m_package
UMLPackage * m_package
Definition: packagecontentspage.h:33
ListPopupMenu::mt_Delete
@ mt_Delete
Definition: listpopupmenu.h:186
uml.h
debug_utils.h
dialogspopupmenu.h
ListPopupMenu::typeFromAction
static MenuType typeFromAction(QAction *action)
Definition: listpopupmenu.cpp:407
classpropertiesdialog.h
PackageContentsPage
The page shows all the objects that belong to a UMLPackage.
Definition: packagecontentspage.h:26
uIgnoreZeroPointer
#define uIgnoreZeroPointer(a)
Definition: debug_utils.h:134
umlobjectlist.h
package.h
UMLObjectList
Definition: umlobjectlist.h:29
UMLApp::document
UMLDoc * document() const
Definition: uml.cpp:1064
PackageContentsPage::PackageContentsPage
PackageContentsPage(QWidget *parent, UMLPackage *pkg)
Definition: packagecontentspage.cpp:34
umldoc.h
UMLPackage
Non-graphical information for a Package.
Definition: package.h:33