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

umlwidgetstylepage.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
6#ifndef UMLWIDGETSTYLEPAGE_H
7#define UMLWIDGETSTYLEPAGE_H
8
9#include "optionstate.h"
10
11#include <QWidget>
12
13 class SelectLayoutTypeWidget;
14 class UMLScene;
15 class WidgetBase;
16 class KColorButton;
17 class QLabel;
18 class QPushButton;
19 class QCheckBox;
20 class QGroupBox;
21 class QSpinBox;
22
27 class UMLWidgetStylePage : public QWidget
28{
29 Q_OBJECT
30 public:
31
32 UMLWidgetStylePage(QWidget * pParent, WidgetBase * pWidget);
33 UMLWidgetStylePage(QWidget * pParent, Settings::OptionState *options);
34 UMLWidgetStylePage(QWidget * pParent, UMLScene *scene);
35
36 virtual ~UMLWidgetStylePage();
37
38 void apply();
39
40 public slots:
41
42 void slotTextButtonClicked();
43 void slotLineButtonClicked();
44 void slotFillButtonClicked();
45 void slotBackgroundButtonClicked();
46 void slotGridDotButtonClicked();
47 void slotLineWidthButtonClicked();
48
49 protected:
50
51 WidgetBase * m_pUMLWidget;
52 UMLScene *m_scene;
53
54 Settings::OptionState * m_options;
55
56 //GUI widgets
57 QGroupBox * m_pColorGB;
58 QGroupBox * m_pStyleGB;
59 QLabel * m_pTextColorL;
60 QLabel * m_pLineColorL;
61 QLabel * m_pFillColorL;
62 QLabel * m_BackgroundColorL;
63 QLabel * m_GridDotColorL;
64 QLabel * m_lineWidthL;
65 QCheckBox * m_pUseFillColorCB;
66 QPushButton * m_pTextDefaultB;
67 QPushButton * m_pLineDefaultB;
68 QPushButton * m_pFillDefaultB;
69 QPushButton * m_BackgroundDefaultB;
70 QPushButton * m_GridDotDefaultB;
71 QPushButton * m_lineWidthDefaultB;
72 KColorButton * m_pTextColorB;
73 KColorButton * m_pLineColorB;
74 KColorButton * m_pFillColorB;
75 KColorButton * m_BackgroundColorB;
76 KColorButton * m_GridDotColorB;
77 SelectLayoutTypeWidget *m_layoutTypeW;
78
79 QSpinBox * m_lineWidthB;
80
81 private:
82 void init();
83
84};
85
86#endif
SelectLayoutTypeWidget
Definition selectlayouttypewidget.h:14
Settings::OptionState
Definition optionstate.h:308
UMLScene
Definition umlscene.h:65
UMLWidgetStylePage
Definition umlwidgetstylepage.h:28
UMLWidgetStylePage::m_pLineDefaultB
QPushButton * m_pLineDefaultB
Definition umlwidgetstylepage.h:67
UMLWidgetStylePage::apply
void apply()
Definition umlwidgetstylepage.cpp:273
UMLWidgetStylePage::~UMLWidgetStylePage
virtual ~UMLWidgetStylePage()
Definition umlwidgetstylepage.cpp:212
UMLWidgetStylePage::slotGridDotButtonClicked
void slotGridDotButtonClicked()
Definition umlwidgetstylepage.cpp:256
UMLWidgetStylePage::m_pUseFillColorCB
QCheckBox * m_pUseFillColorCB
Definition umlwidgetstylepage.h:65
UMLWidgetStylePage::m_GridDotColorL
QLabel * m_GridDotColorL
Definition umlwidgetstylepage.h:63
UMLWidgetStylePage::m_pUMLWidget
WidgetBase * m_pUMLWidget
the widget to set the style for
Definition umlwidgetstylepage.h:51
UMLWidgetStylePage::m_BackgroundDefaultB
QPushButton * m_BackgroundDefaultB
Definition umlwidgetstylepage.h:69
UMLWidgetStylePage::slotFillButtonClicked
void slotFillButtonClicked()
Definition umlwidgetstylepage.cpp:238
UMLWidgetStylePage::m_pTextColorL
QLabel * m_pTextColorL
Definition umlwidgetstylepage.h:59
UMLWidgetStylePage::m_BackgroundColorL
QLabel * m_BackgroundColorL
Definition umlwidgetstylepage.h:62
UMLWidgetStylePage::m_lineWidthL
QLabel * m_lineWidthL
Definition umlwidgetstylepage.h:64
UMLWidgetStylePage::m_scene
UMLScene * m_scene
Definition umlwidgetstylepage.h:52
UMLWidgetStylePage::m_pTextDefaultB
QPushButton * m_pTextDefaultB
Definition umlwidgetstylepage.h:66
UMLWidgetStylePage::m_pTextColorB
KColorButton * m_pTextColorB
Definition umlwidgetstylepage.h:72
UMLWidgetStylePage::m_pLineColorB
KColorButton * m_pLineColorB
Definition umlwidgetstylepage.h:73
UMLWidgetStylePage::m_lineWidthDefaultB
QPushButton * m_lineWidthDefaultB
Definition umlwidgetstylepage.h:71
UMLWidgetStylePage::m_GridDotColorB
KColorButton * m_GridDotColorB
Definition umlwidgetstylepage.h:76
UMLWidgetStylePage::init
void init()
Definition umlwidgetstylepage.cpp:95
UMLWidgetStylePage::slotTextButtonClicked
void slotTextButtonClicked()
Definition umlwidgetstylepage.cpp:220
UMLWidgetStylePage::slotBackgroundButtonClicked
void slotBackgroundButtonClicked()
Definition umlwidgetstylepage.cpp:247
UMLWidgetStylePage::m_pFillDefaultB
QPushButton * m_pFillDefaultB
Definition umlwidgetstylepage.h:68
UMLWidgetStylePage::m_pStyleGB
QGroupBox * m_pStyleGB
Definition umlwidgetstylepage.h:58
UMLWidgetStylePage::slotLineButtonClicked
void slotLineButtonClicked()
Definition umlwidgetstylepage.cpp:229
UMLWidgetStylePage::m_options
Settings::OptionState * m_options
Definition umlwidgetstylepage.h:54
UMLWidgetStylePage::slotLineWidthButtonClicked
void slotLineWidthButtonClicked()
Definition umlwidgetstylepage.cpp:265
UMLWidgetStylePage::UMLWidgetStylePage
UMLWidgetStylePage(QWidget *pParent, WidgetBase *pWidget)
Definition umlwidgetstylepage.cpp:33
UMLWidgetStylePage::m_pLineColorL
QLabel * m_pLineColorL
Definition umlwidgetstylepage.h:60
UMLWidgetStylePage::m_layoutTypeW
SelectLayoutTypeWidget * m_layoutTypeW
Definition umlwidgetstylepage.h:77
UMLWidgetStylePage::m_lineWidthB
QSpinBox * m_lineWidthB
Definition umlwidgetstylepage.h:79
UMLWidgetStylePage::m_BackgroundColorB
KColorButton * m_BackgroundColorB
Definition umlwidgetstylepage.h:75
UMLWidgetStylePage::m_pColorGB
QGroupBox * m_pColorGB
Definition umlwidgetstylepage.h:57
UMLWidgetStylePage::m_GridDotDefaultB
QPushButton * m_GridDotDefaultB
Definition umlwidgetstylepage.h:70
UMLWidgetStylePage::m_pFillColorB
KColorButton * m_pFillColorB
Definition umlwidgetstylepage.h:74
UMLWidgetStylePage::m_pFillColorL
QLabel * m_pFillColorL
Definition umlwidgetstylepage.h:61
WidgetBase
Common base class for UMLWidget and AssociationWidget.
Definition widgetbase.h:101
optionstate.h