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

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

diagramprintpage.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3 SPDX-FileCopyrightText: 2002-2022 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4*/
5
6#ifndef DIAGRAMPRINTPAGE_H
7#define DIAGRAMPRINTPAGE_H
8
9#include "basictypes.h"
10#include "dialogpagebase.h"
11#include "umlview.h"
12
13#include <QList>
14
15class QListWidget;
16class QRadioButton;
17class QGroupBox;
18class KComboBox;
19class UMLDoc;
20
32 class DiagramPrintPage : public DialogPageBase
33{
34 Q_OBJECT
35public:
36 DiagramPrintPage(QWidget * parent, UMLDoc *doc);
37 ~DiagramPrintPage();
38
39 int printUmlCount();
40 QString printUmlDiagram(int sel);
41
42 bool isValid(QString& msg);
43
44public Q_SLOTS:
45 void slotClicked();
46 void slotActivated(int index);
47
48private:
49 bool isSelected(int index);
50
51 QGroupBox * m_pFilterGB;
52 QGroupBox * m_pSelectGB;
53 QListWidget * m_pSelectLW;
54 QRadioButton * m_pAllRB;
55 QRadioButton * m_pCurrentRB;
56 QRadioButton * m_pSelectRB;
57 QRadioButton * m_pTypeRB;
58 KComboBox * m_pTypeCB;
59
60 UMLDoc * m_doc;
61 Uml::DiagramType::Enum m_ViewType;
62
63 QList<Uml::ID::Type> m_nIdList;
64
65 enum FilterType{Current = 0, All, Select, Type};
66
67};
68
69#endif
basictypes.h
DiagramPrintPage::m_ViewType
Uml::DiagramType::Enum m_ViewType
Definition diagramprintpage.h:61
DiagramPrintPage::FilterType
FilterType
Definition diagramprintpage.h:65
DiagramPrintPage::Current
@ Current
Definition diagramprintpage.h:65
DiagramPrintPage::Type
@ Type
Definition diagramprintpage.h:65
DiagramPrintPage::Select
@ Select
Definition diagramprintpage.h:65
DiagramPrintPage::All
@ All
Definition diagramprintpage.h:65
DiagramPrintPage::slotClicked
void slotClicked()
Definition diagramprintpage.cpp:181
DiagramPrintPage::slotActivated
void slotActivated(int index)
Definition diagramprintpage.cpp:239
DiagramPrintPage::isSelected
bool isSelected(int index)
Definition diagramprintpage.cpp:164
DiagramPrintPage::m_doc
UMLDoc * m_doc
Definition diagramprintpage.h:60
DiagramPrintPage::m_pFilterGB
QGroupBox * m_pFilterGB
Definition diagramprintpage.h:51
DiagramPrintPage::m_pCurrentRB
QRadioButton * m_pCurrentRB
Definition diagramprintpage.h:55
DiagramPrintPage::m_nIdList
QList< Uml::ID::Type > m_nIdList
list containing the IDs of diagrams to print
Definition diagramprintpage.h:63
DiagramPrintPage::m_pTypeCB
KComboBox * m_pTypeCB
Definition diagramprintpage.h:58
DiagramPrintPage::m_pAllRB
QRadioButton * m_pAllRB
Definition diagramprintpage.h:54
DiagramPrintPage::~DiagramPrintPage
~DiagramPrintPage()
Definition diagramprintpage.cpp:106
DiagramPrintPage::isValid
bool isValid(QString &msg)
Definition diagramprintpage.cpp:145
DiagramPrintPage::m_pSelectGB
QGroupBox * m_pSelectGB
Definition diagramprintpage.h:52
DiagramPrintPage::DiagramPrintPage
DiagramPrintPage(QWidget *parent, UMLDoc *doc)
Definition diagramprintpage.cpp:34
DiagramPrintPage::m_pSelectLW
QListWidget * m_pSelectLW
Definition diagramprintpage.h:53
DiagramPrintPage::m_pTypeRB
QRadioButton * m_pTypeRB
Definition diagramprintpage.h:57
DiagramPrintPage::m_pSelectRB
QRadioButton * m_pSelectRB
Definition diagramprintpage.h:56
DiagramPrintPage::printUmlCount
int printUmlCount()
Definition diagramprintpage.cpp:114
DiagramPrintPage::printUmlDiagram
QString printUmlDiagram(int sel)
Definition diagramprintpage.cpp:125
DialogPageBase::DialogPageBase
DialogPageBase(QWidget *parent)
Definition dialogpagebase.cpp:16
UMLDoc
Definition umldoc.h:63
dialogpagebase.h
Uml::DiagramType::Enum
Enum
Definition basictypes.h:63
umlview.h