umbrello: umbrello/dialogs/codeviewerdialog.h Source File

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

codeviewerdialog.h
Go to the documentation of this file.
1 /***************************************************************************
2 * This program is free software; you can redistribute it and/or modify *
3 * it under the terms of the GNU General Public License as published by *
4 * the Free Software Foundation; either version 2 of the License, or *
5 * (at your option) any later version. *
6 * *
7 * copyright (C) 2003-2020 *
8 * Brian Thomas <brian.thomas@gsfc.nasa.gov> *
9 * copyright (C) 2004-2020 *
10 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
11 ***************************************************************************/
12
13 #ifndef CODEVIEWERDIALOG_H
14 #define CODEVIEWERDIALOG_H
15
16 #include "codeviewerstate.h"
17 #include "ui_codeviewerdialogbase.h"
18 #include "singlepagedialogbase.h"
19
20 class CodeDocument;
21
27 class CodeViewerDialog : public SinglePageDialogBase, private Ui::CodeViewerDialogBase
28 {
29 Q_OBJECT
30 public:
31
32 CodeViewerDialog (QWidget* parent, CodeDocument * doc, Settings::CodeViewerState state);
33
34 ~CodeViewerDialog ();
35
36 Settings::CodeViewerState state();
37
38 void addCodeDocument(CodeDocument * doc);
39
40 protected:
41
42 bool close ();
43
44 private:
45
46 friend class CodeEditor;
47
48 Settings::CodeViewerState m_state;
49
50 void initGUI();
51
52 public slots:
53
54 protected slots:
55
56 virtual void languageChange();
57
58 };
59
60
61 #endif // CODEVIEWERDIALOG_H
CodeDocument
Definition: codedocument.h:33
CodeEditor
Definition: codeeditor.h:71
CodeViewerDialog
Definition: codeviewerdialog.h:28
CodeViewerDialog::initGUI
void initGUI()
Definition: codeviewerdialog.cpp:44
CodeViewerDialog::languageChange
virtual void languageChange()
Definition: codeviewerdialog.cpp:95
CodeViewerDialog::state
Settings::CodeViewerState state()
Definition: codeviewerdialog.cpp:73
CodeViewerDialog::~CodeViewerDialog
~CodeViewerDialog()
Definition: codeviewerdialog.cpp:39
CodeViewerDialog::addCodeDocument
void addCodeDocument(CodeDocument *doc)
Definition: codeviewerdialog.cpp:58
CodeViewerDialog::close
bool close()
Definition: codeviewerdialog.cpp:78
CodeViewerDialog::CodeViewerDialog
CodeViewerDialog(QWidget *parent, CodeDocument *doc, Settings::CodeViewerState state)
Definition: codeviewerdialog.cpp:28
CodeViewerDialog::m_state
Settings::CodeViewerState m_state
Definition: codeviewerdialog.h:48
Settings::CodeViewerState
configurable params for the code viewer tool
Definition: codeviewerstate.h:20
SinglePageDialogBase
Definition: singlepagedialogbase.h:36
codeviewerstate.h
singlepagedialogbase.h