umbrello 26.03.70-1a62d36
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
generaloptionpage.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 GENERALOPTIONPAGE_H
7#define GENERALOPTIONPAGE_H
8
9#include "dialogpagebase.h"
10
11class QLineEdit;
12class KComboBox;
13class QGroupBox;
14class QCheckBox;
15class QLabel;
16class QSpinBox;
17
19
28{
29 Q_OBJECT
30public:
31 explicit GeneralOptionPage(QWidget *parent = nullptr);
32 virtual ~GeneralOptionPage();
33
34 void setDefaults();
35 void apply();
36
37Q_SIGNALS:
39
40protected:
42 QGroupBox * miscGB;
43 QGroupBox * autosaveGB;
44 QGroupBox * startupGB;
45
46 QSpinBox * timeISB;
47 KComboBox * diagramKB;
48 KComboBox * languageKB;
49
50 QCheckBox * undoCB;
51 QCheckBox * tabdiagramsCB;
52 QCheckBox * newcodegenCB;
53 QCheckBox * footerPrintingCB;
54 QCheckBox * uml2CB;
55 QCheckBox * showDebugWindowsCB;
56
57 QCheckBox * autosaveCB;
58 QCheckBox * loadlastCB;
59
60 // Allow definition of Suffix for autosave
61 // (Default: ".xmi"), private Ui::GeneralOptionPage
62 QLineEdit * autosaveSuffixT;
64 // End AutoSave Suffix
65
66 QLabel * startL;
67 QLabel * autosaveL;
70
71 void insertDiagram(const QString& type, int index);
72 void insertLayoutType(const QString& type, int index);
73
74protected Q_SLOTS:
76
77};
78#endif
Definition: dialogpagebase.h:20
Definition: generaloptionpage.h:28
void apply()
Definition: generaloptionpage.cpp:176
void insertDiagram(const QString &type, int index)
Definition: generaloptionpage.cpp:200
void insertLayoutType(const QString &type, int index)
struct GeneralOptionPage::GeneralWidgets m_GeneralWidgets
void setDefaults()
Definition: generaloptionpage.cpp:162
virtual ~GeneralOptionPage()
Definition: generaloptionpage.cpp:155
void slotAutosaveCBClicked()
Definition: generaloptionpage.cpp:209
Definition: selectlayouttypewidget.h:14
Definition: generaloptionpage.h:41
KComboBox * diagramKB
Definition: generaloptionpage.h:47
KComboBox * languageKB
Definition: generaloptionpage.h:48
QCheckBox * newcodegenCB
Definition: generaloptionpage.h:52
QCheckBox * footerPrintingCB
Definition: generaloptionpage.h:53
QCheckBox * loadlastCB
Definition: generaloptionpage.h:58
QLabel * defaultLanguageL
Definition: generaloptionpage.h:68
QCheckBox * autosaveCB
Definition: generaloptionpage.h:57
QGroupBox * autosaveGB
Definition: generaloptionpage.h:43
QSpinBox * timeISB
Definition: generaloptionpage.h:46
QCheckBox * tabdiagramsCB
Definition: generaloptionpage.h:51
QCheckBox * undoCB
Definition: generaloptionpage.h:50
QCheckBox * showDebugWindowsCB
Definition: generaloptionpage.h:55
QGroupBox * miscGB
Definition: generaloptionpage.h:42
QGroupBox * startupGB
Definition: generaloptionpage.h:44
QLineEdit * autosaveSuffixT
Definition: generaloptionpage.h:62
QLabel * autosaveL
Definition: generaloptionpage.h:67
QCheckBox * uml2CB
Definition: generaloptionpage.h:54
QLabel * startL
Definition: generaloptionpage.h:66
QLabel * autosaveSuffixL
Definition: generaloptionpage.h:63