umbrello: umbrello/dialogs/pages/packagecontentspage.h Source File

umbrello 2.31.0 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
ListPopupMenu::mt_Properties
@ mt_Properties
Definition: listpopupmenu.h:182
UMLObject::name
QString name() const
Definition: umlobject.cpp:211
DialogsPopupMenu
Definition: dialogspopupmenu.h:16
UMLDoc::removeUMLObject
void removeUMLObject(UMLObject *umlobject, bool deleteObject=false)
Definition: umldoc.cpp:1881
packagecontentspage.h
UMLPackage::containedObjects
UMLObjectList & containedObjects()
Definition: package.cpp:228
dialogpagebase.h
ClassPropertiesDialog
Definition: classpropertiesdialog.h:34
UMLObject
The base class for UML objects.
Definition: umlobject.h:73
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:41
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:43
DialogPageBase
Definition: dialogpagebase.h:24
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:269
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:25
uIgnoreZeroPointer
#define uIgnoreZeroPointer(a)
Definition: debug_utils.h:134
umlobjectlist.h
package.h
UMLObjectList
Definition: umlobjectlist.h:28
UMLApp::document
UMLDoc * document() const
Definition: uml.cpp:1055
PackageContentsPage::PackageContentsPage
PackageContentsPage(QWidget *parent, UMLPackage *pkg)
Definition: packagecontentspage.cpp:34
umldoc.h
UMLPackage
Non-graphical information for a Package.
Definition: package.h:32