umbrello  26.08.1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
codevieweroptionspage.h
Go to the documentation of this file.
1 /*
2  SPDX-License-Identifier: GPL-2.0-or-later
3 
4  SPDX-FileCopyrightText: 2002-2020 Luis De la Parra <luis@delaparra.org>
5  SPDX-FileCopyrightText: 2003-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
6 */
7 #ifndef CODEVIEWEROPTIONSPAGE_H
8 #define CODEVIEWEROPTIONSPAGE_H
9 
10 #include "dialogpagebase.h"
11 #include "ui_codevieweroptionsbase.h"
12 #include "codeviewerstate.h"
13 
17 class CodeViewerOptionsPage : public DialogPageBase, private Ui::CodeViewerOptionsBase
18 {
19  Q_OBJECT
20 public:
21  explicit CodeViewerOptionsPage (Settings::CodeViewerState options, QWidget *parent = nullptr, const char *name = nullptr);
23 
25  void apply();
26 
27 private:
29 
30 protected Q_SLOTS:
31 
32 Q_SIGNALS:
33  void applyClicked();
34 
35 };
36 
37 #endif
Settings::CodeViewerState m_options
Definition: codevieweroptionspage.h:28
configurable params for the code viewer tool
Definition: codeviewerstate.h:15
Definition: dialogpagebase.h:19
CodeViewerOptionsPage(Settings::CodeViewerState options, QWidget *parent=nullptr, const char *name=nullptr)
Definition: codevieweroptionspage.cpp:15
Settings::CodeViewerState getOptions()
Definition: codevieweroptionspage.cpp:52
~CodeViewerOptionsPage()
Definition: codevieweroptionspage.cpp:34
Definition: codevieweroptionspage.h:17
void apply()
Definition: codevieweroptionspage.cpp:38