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

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
11 namespace Settings {
12 class OptionState;
13}
14
15 class SelectLayoutTypeWidget;
16
17 class KColorButton;
18 class KComboBox;
19 class QSpinBox;
20
21 class QCheckBox;
22 class QGroupBox;
23 class QSpinBox;
24 class QLabel;
25
36 class UIOptionsPage : public DialogPageBase
37{
38 Q_OBJECT
39 public:
40 UIOptionsPage(QWidget* parent, Settings::OptionState *options);
41 virtual ~UIOptionsPage();
42
43 void setDefaults();
44 void apply();
45
46 protected:
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
67 protected 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
Definition dialogpagebase.h:20
SelectLayoutTypeWidget
Definition selectlayouttypewidget.h:14
Settings::OptionState
Definition optionstate.h:308
UIOptionsPage
A dialog page to display the user interface options.
Definition uioptionspage.h:37
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:240
UIOptionsPage::m_colorGB
QGroupBox * m_colorGB
Definition uioptionspage.h:50
UIOptionsPage::slotBgCBChecked
void slotBgCBChecked(bool value)
Definition uioptionspage.cpp:228
UIOptionsPage::UIOptionsPage
UIOptionsPage(QWidget *parent, Settings::OptionState *options)
Definition uioptionspage.cpp:34
UIOptionsPage::slotLineCBChecked
void slotLineCBChecked(bool value)
Definition uioptionspage.cpp:194
UIOptionsPage::m_gridColorCB
QCheckBox * m_gridColorCB
Definition uioptionspage.h:55
UIOptionsPage::apply
void apply()
Definition uioptionspage.cpp:169
UIOptionsPage::slotGridCBChecked
void slotGridCBChecked(bool value)
Definition uioptionspage.cpp:216
UIOptionsPage::setupPage
void setupPage()
Definition uioptionspage.cpp:51
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:183
UIOptionsPage::setDefaults
void setDefaults()
Definition uioptionspage.cpp:147
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:205
UIOptionsPage::m_layoutTypeW
SelectLayoutTypeWidget * m_layoutTypeW
Definition uioptionspage.h:64
UIOptionsPage::~UIOptionsPage
virtual ~UIOptionsPage()
Definition uioptionspage.cpp:44
dialogpagebase.h
Settings
Definition codeviewerstate.cpp:10