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

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

uioptionspage.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3 SPDX-FileCopyrightText: 2018-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4*/
5
6#ifndef UIOPTIONSPAGE_H
7#define UIOPTIONSPAGE_H
8
9#include "dialogpagebase.h"
10
11namespace Settings {
12 class OptionState;
13}
14
15class SelectLayoutTypeWidget;
16
17class KColorButton;
18class KComboBox;
19class QSpinBox;
20
21class QCheckBox;
22class QGroupBox;
23class QSpinBox;
24class QLabel;
25
36 class UIOptionsPage : public DialogPageBase
37{
38 Q_OBJECT
39public:
40 UIOptionsPage(QWidget* parent, Settings::OptionState *options);
41 virtual ~UIOptionsPage();
42
43 void setDefaults();
44 void apply();
45
46protected:
47 Settings::OptionState *m_options;
48
49 QCheckBox * m_rightToLeftUI;
50 QGroupBox * m_colorGB;
51 QCheckBox * m_textColorCB;
52 QCheckBox * m_lineColorCB;
53 QCheckBox * m_fillColorCB;
54 QCheckBox * m_lineWidthCB;
55 QCheckBox * m_gridColorCB;
56 QCheckBox * m_bgColorCB;
57 KColorButton * m_textColorB;
58 KColorButton * m_lineColorB;
59 KColorButton * m_fillColorB;
60 KColorButton * m_gridColorB;
61 KColorButton * m_bgColorB;
62 QSpinBox * m_lineWidthB;
63 QCheckBox * m_useFillColorCB;
64 SelectLayoutTypeWidget *m_layoutTypeW;
65 void setupPage();
66
67protected Q_SLOTS:
68 void slotTextCBChecked(bool value);
69 void slotLineCBChecked(bool value);
70 void slotFillCBChecked(bool value);
71 void slotGridCBChecked(bool value);
72 void slotBgCBChecked(bool value);
73 void slotLineWidthCBChecked(bool value);
74};
75#endif
DialogPageBase::DialogPageBase
DialogPageBase(QWidget *parent)
Definition dialogpagebase.cpp:16
SelectLayoutTypeWidget
Definition selectlayouttypewidget.h:14
Settings::OptionState
Definition optionstate.h:308
UIOptionsPage::m_lineWidthCB
QCheckBox * m_lineWidthCB
Definition uioptionspage.h:54
UIOptionsPage::m_lineColorCB
QCheckBox * m_lineColorCB
Definition uioptionspage.h:52
UIOptionsPage::m_rightToLeftUI
QCheckBox * m_rightToLeftUI
Definition uioptionspage.h:49
UIOptionsPage::m_lineColorB
KColorButton * m_lineColorB
Definition uioptionspage.h:58
UIOptionsPage::slotLineWidthCBChecked
void slotLineWidthCBChecked(bool value)
Definition uioptionspage.cpp:242
UIOptionsPage::m_colorGB
QGroupBox * m_colorGB
Definition uioptionspage.h:50
UIOptionsPage::slotBgCBChecked
void slotBgCBChecked(bool value)
Definition uioptionspage.cpp:230
UIOptionsPage::UIOptionsPage
UIOptionsPage(QWidget *parent, Settings::OptionState *options)
Definition uioptionspage.cpp:35
UIOptionsPage::slotLineCBChecked
void slotLineCBChecked(bool value)
Definition uioptionspage.cpp:196
UIOptionsPage::m_gridColorCB
QCheckBox * m_gridColorCB
Definition uioptionspage.h:55
UIOptionsPage::apply
void apply()
Definition uioptionspage.cpp:171
UIOptionsPage::slotGridCBChecked
void slotGridCBChecked(bool value)
Definition uioptionspage.cpp:218
UIOptionsPage::setupPage
void setupPage()
Definition uioptionspage.cpp:52
UIOptionsPage::m_useFillColorCB
QCheckBox * m_useFillColorCB
Definition uioptionspage.h:63
UIOptionsPage::m_fillColorCB
QCheckBox * m_fillColorCB
Definition uioptionspage.h:53
UIOptionsPage::m_options
Settings::OptionState * m_options
Definition uioptionspage.h:47
UIOptionsPage::m_textColorCB
QCheckBox * m_textColorCB
Definition uioptionspage.h:51
UIOptionsPage::m_bgColorCB
QCheckBox * m_bgColorCB
Definition uioptionspage.h:56
UIOptionsPage::m_gridColorB
KColorButton * m_gridColorB
Definition uioptionspage.h:60
UIOptionsPage::m_fillColorB
KColorButton * m_fillColorB
Definition uioptionspage.h:59
UIOptionsPage::m_lineWidthB
QSpinBox * m_lineWidthB
Definition uioptionspage.h:62
UIOptionsPage::slotTextCBChecked
void slotTextCBChecked(bool value)
Definition uioptionspage.cpp:185
UIOptionsPage::setDefaults
void setDefaults()
Definition uioptionspage.cpp:149
UIOptionsPage::m_bgColorB
KColorButton * m_bgColorB
Definition uioptionspage.h:61
UIOptionsPage::m_textColorB
KColorButton * m_textColorB
Definition uioptionspage.h:57
UIOptionsPage::slotFillCBChecked
void slotFillCBChecked(bool value)
Definition uioptionspage.cpp:207
UIOptionsPage::m_layoutTypeW
SelectLayoutTypeWidget * m_layoutTypeW
Definition uioptionspage.h:64
UIOptionsPage::~UIOptionsPage
virtual ~UIOptionsPage()
Definition uioptionspage.cpp:45
dialogpagebase.h
Settings
Definition codeviewerstate.cpp:10