umbrello: umbrello/dialogs/umlviewdialog.h Source File

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

- Main Page
- Related Pages
- Topics
- Namespaces
- Classes
- Files

- File List
- File Members

umlviewdialog.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3 SPDX-FileCopyrightText: 2002-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4*/
5#ifndef UMLVIEWDIALOG_H
6#define UMLVIEWDIALOG_H
7
8// qt includes
9
10// kde includes
11
12// app includes
13#include "multipagedialogbase.h"
14#include "optionstate.h"
15
16class ClassOptionsPage;
17class DiagramPropertiesPage;
18class UMLScene;
19class UMLView;
20class UMLWidgetStylePage;
21class QFontDialog;
22
27 class UMLViewDialog : public MultiPageDialogBase
28{
29 Q_OBJECT
30public:
31 UMLViewDialog(QWidget * pParent, UMLScene * pScene);
32 ~UMLViewDialog();
33
34 virtual void apply();
35
36protected:
37 void setupPages();
38
39 void setupDiagramPropertiesPage();
40 void setupDisplayPage();
41 void setupStylePage();
42
43 void applyPage(KPageWidgetItem*);
44
45 void checkName();
46
47 UMLScene* m_pScene;
48 DiagramPropertiesPage* m_diagramPropertiesPage;
49 ClassOptionsPage* m_pOptionsPage;
50 KPageWidgetItem* m_pageStyleItem;
51 KPageWidgetItem* m_pageFontItem;
52 KPageWidgetItem* m_pageDisplayItem;
53 KPageWidgetItem* m_pageDiagramItem;
54
55public slots:
56 void slotOk();
57 void slotApply();
58};
59
60#endif
ClassOptionsPage
A dialog page to display the class related options.
Definition classoptionspage.h:35
DiagramPropertiesPage
Definition diagrampropertiespage.h:18
MultiPageDialogBase
Definition multipagedialogbase.h:47
UMLScene
Definition umlscene.h:65
UMLViewDialog
Definition umlviewdialog.h:28
UMLViewDialog::m_pageFontItem
KPageWidgetItem * m_pageFontItem
Definition umlviewdialog.h:51
UMLViewDialog::apply
virtual void apply()
Definition umlviewdialog.cpp:52
UMLViewDialog::m_pageStyleItem
KPageWidgetItem * m_pageStyleItem
Definition umlviewdialog.h:50
UMLViewDialog::checkName
void checkName()
UMLViewDialog::m_pageDiagramItem
KPageWidgetItem * m_pageDiagramItem
Definition umlviewdialog.h:53
UMLViewDialog::UMLViewDialog
UMLViewDialog(QWidget *pParent, UMLScene *pScene)
Definition umlviewdialog.cpp:34
UMLViewDialog::setupStylePage
void setupStylePage()
Definition umlviewdialog.cpp:113
UMLViewDialog::applyPage
void applyPage(KPageWidgetItem *)
Definition umlviewdialog.cpp:123
UMLViewDialog::slotOk
void slotOk()
Definition umlviewdialog.cpp:57
UMLViewDialog::setupPages
void setupPages()
Definition umlviewdialog.cpp:74
UMLViewDialog::m_diagramPropertiesPage
DiagramPropertiesPage * m_diagramPropertiesPage
Definition umlviewdialog.h:48
UMLViewDialog::m_pageDisplayItem
KPageWidgetItem * m_pageDisplayItem
Definition umlviewdialog.h:52
UMLViewDialog::slotApply
void slotApply()
Definition umlviewdialog.cpp:66
UMLViewDialog::setupDisplayPage
void setupDisplayPage()
Definition umlviewdialog.cpp:95
UMLViewDialog::m_pScene
UMLScene * m_pScene
the scene to represent
Definition umlviewdialog.h:47
UMLViewDialog::~UMLViewDialog
~UMLViewDialog()
Definition umlviewdialog.cpp:48
UMLViewDialog::setupDiagramPropertiesPage
void setupDiagramPropertiesPage()
Definition umlviewdialog.cpp:85
UMLViewDialog::m_pOptionsPage
ClassOptionsPage * m_pOptionsPage
Definition umlviewdialog.h:49
UMLView
Definition umlview.h:30
UMLWidgetStylePage
Definition umlwidgetstylepage.h:28
multipagedialogbase.h
optionstate.h