umbrello  2.31.90
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 
26 {
27  Q_OBJECT
28 public:
29  PackageContentsPage(QWidget *parent, UMLPackage *pkg);
31 
32 private:
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
Definition: dialogpagebase.h:25
The page shows all the objects that belong to a UMLPackage.
Definition: packagecontentspage.h:26
PackageContentsPage(QWidget *parent, UMLPackage *pkg)
Definition: packagecontentspage.cpp:34
UMLPackage * m_package
Definition: packagecontentspage.h:33
void fillListBox()
Definition: packagecontentspage.cpp:92
QListWidget * m_contentLW
Definition: packagecontentspage.h:34
void slotDoubleClick(QListWidgetItem *item)
Definition: packagecontentspage.cpp:73
void slotShowContextMenu(const QPoint &)
Definition: packagecontentspage.cpp:109
~PackageContentsPage()
Definition: packagecontentspage.cpp:65
void slotMenuSelection(QAction *action)
Definition: packagecontentspage.cpp:116
QGroupBox * m_contentGB
Definition: packagecontentspage.h:35
Non-graphical information for a Package.
Definition: package.h:33