umbrello 26.03.70-1a62d36 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

codeviewerdialog.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3
4 SPDX-FileCopyrightText: 2003-2020 Brian Thomas <brian.thomas@gsfc.nasa.gov>
5 SPDX-FileCopyrightText: 2004-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
6*/
7
8#ifndef CODEVIEWERDIALOG_H
9#define CODEVIEWERDIALOG_H
10
11#include "codeviewerstate.h"
12#include "ui_codeviewerdialogbase.h"
13#include "singlepagedialogbase.h"
14
15 class CodeDocument;
16
22 class CodeViewerDialog : public SinglePageDialogBase, private Ui::CodeViewerDialogBase
23{
24 Q_OBJECT
25 public:
26
27 CodeViewerDialog (QWidget* parent, CodeDocument * doc, Settings::CodeViewerState state);
28
29 ~CodeViewerDialog ();
30
31 Settings::CodeViewerState state();
32
33 void addCodeDocument(CodeDocument * doc);
34
35 protected:
36
37 bool close ();
38
39 private:
40
41 friend class CodeEditor;
42
43 Settings::CodeViewerState m_state;
44
45 void initGUI();
46
47 public Q_SLOTS:
48
49 protected Q_SLOTS:
50
51 virtual void languageChange();
52
53};
54
55
56#endif // CODEVIEWERDIALOG_H
CodeDocument
Definition: codedocument.h:30
CodeEditor
Definition: codeeditor.h:63
CodeViewerDialog
Definition: codeviewerdialog.h:23
CodeViewerDialog::initGUI
void initGUI()
Definition: codeviewerdialog.cpp:43
CodeViewerDialog::languageChange
virtual void languageChange()
Definition: codeviewerdialog.cpp:92
CodeViewerDialog::state
Settings::CodeViewerState state()
Definition: codeviewerdialog.cpp:70
CodeViewerDialog::~CodeViewerDialog
~CodeViewerDialog()
Definition: codeviewerdialog.cpp:38
CodeViewerDialog::addCodeDocument
void addCodeDocument(CodeDocument *doc)
Definition: codeviewerdialog.cpp:55
CodeViewerDialog::close
bool close()
Definition: codeviewerdialog.cpp:75
CodeViewerDialog::m_state
Settings::CodeViewerState m_state
Definition: codeviewerdialog.h:43
Settings::CodeViewerState
configurable params for the code viewer tool
Definition: codeviewerstate.h:15
SinglePageDialogBase
Definition: singlepagedialogbase.h:23
codeviewerstate.h
singlepagedialogbase.h