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

- Main Page
- Related Pages
- Modules
- 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 QCheckBox * m_alignmentGuidesUI;
51 QGroupBox * m_colorGB;
52 QCheckBox * m_textColorCB;
53 QCheckBox * m_lineColorCB;
54 QCheckBox * m_fillColorCB;
55 QCheckBox * m_lineWidthCB;
56 QCheckBox * m_gridColorCB;
57 QCheckBox * m_bgColorCB;
58 KColorButton * m_textColorB;
59 KColorButton * m_lineColorB;
60 KColorButton * m_fillColorB;
61 KColorButton * m_gridColorB;
62 KColorButton * m_bgColorB;
63 QSpinBox * m_lineWidthB;
64 QCheckBox * m_useFillColorCB;
65 SelectLayoutTypeWidget *m_layoutTypeW;
66 void setupPage();
67
68 protected Q_SLOTS:
69 void slotTextCBChecked(bool value);
70 void slotLineCBChecked(bool value);
71 void slotFillCBChecked(bool value);
72 void slotGridCBChecked(bool value);
73 void slotBgCBChecked(bool value);
74 void slotLineWidthCBChecked(bool value);
75};
76#endif
DialogPageBase
Definition: dialogpagebase.h:20
SelectLayoutTypeWidget
Definition: selectlayouttypewidget.h:14
Settings::OptionState
Definition: optionstate.h:314
UIOptionsPage
A dialog page to display the user interface options.
Definition: uioptionspage.h:37
UIOptionsPage::m_lineWidthCB
QCheckBox * m_lineWidthCB
Definition: uioptionspage.h:55
UIOptionsPage::m_lineColorCB
QCheckBox * m_lineColorCB
Definition: uioptionspage.h:53
UIOptionsPage::m_rightToLeftUI
QCheckBox * m_rightToLeftUI
Definition: uioptionspage.h:49
UIOptionsPage::m_lineColorB
KColorButton * m_lineColorB
Definition: uioptionspage.h:59
UIOptionsPage::slotLineWidthCBChecked
void slotLineWidthCBChecked(bool value)
Definition: uioptionspage.cpp:250
UIOptionsPage::m_colorGB
QGroupBox * m_colorGB
Definition: uioptionspage.h:51
UIOptionsPage::slotBgCBChecked
void slotBgCBChecked(bool value)
Definition: uioptionspage.cpp:238
UIOptionsPage::slotLineCBChecked
void slotLineCBChecked(bool value)
Definition: uioptionspage.cpp:204
UIOptionsPage::m_gridColorCB
QCheckBox * m_gridColorCB
Definition: uioptionspage.h:56
UIOptionsPage::apply
void apply()
Definition: uioptionspage.cpp:177
UIOptionsPage::slotGridCBChecked
void slotGridCBChecked(bool value)
Definition: uioptionspage.cpp:226
UIOptionsPage::setupPage
void setupPage()
Definition: uioptionspage.cpp:52
UIOptionsPage::m_useFillColorCB
QCheckBox * m_useFillColorCB
Definition: uioptionspage.h:64
UIOptionsPage::m_fillColorCB
QCheckBox * m_fillColorCB
Definition: uioptionspage.h:54
UIOptionsPage::m_options
Settings::OptionState * m_options
Definition: uioptionspage.h:47
UIOptionsPage::m_textColorCB
QCheckBox * m_textColorCB
Definition: uioptionspage.h:52
UIOptionsPage::m_bgColorCB
QCheckBox * m_bgColorCB
Definition: uioptionspage.h:57
UIOptionsPage::m_gridColorB
KColorButton * m_gridColorB
Definition: uioptionspage.h:61
UIOptionsPage::m_alignmentGuidesUI
QCheckBox * m_alignmentGuidesUI
Definition: uioptionspage.h:50
UIOptionsPage::m_fillColorB
KColorButton * m_fillColorB
Definition: uioptionspage.h:60
UIOptionsPage::m_lineWidthB
QSpinBox * m_lineWidthB
Definition: uioptionspage.h:63
UIOptionsPage::slotTextCBChecked
void slotTextCBChecked(bool value)
Definition: uioptionspage.cpp:193
UIOptionsPage::setDefaults
void setDefaults()
Definition: uioptionspage.cpp:154
UIOptionsPage::m_bgColorB
KColorButton * m_bgColorB
Definition: uioptionspage.h:62
UIOptionsPage::m_textColorB
KColorButton * m_textColorB
Definition: uioptionspage.h:58
UIOptionsPage::slotFillCBChecked
void slotFillCBChecked(bool value)
Definition: uioptionspage.cpp:215
UIOptionsPage::m_layoutTypeW
SelectLayoutTypeWidget * m_layoutTypeW
Definition: uioptionspage.h:65
UIOptionsPage::~UIOptionsPage
virtual ~UIOptionsPage()
Definition: uioptionspage.cpp:45
dialogpagebase.h
Settings
Definition: codeviewerstate.cpp:10