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"
18 #include "singlepagedialogbase.h"
19 
20 class CodeDocument;
21 
28 {
29  Q_OBJECT
30 public:
31 
33 
35 
37 
38  void addCodeDocument(CodeDocument * doc);
39 
40 protected:
41 
42  bool close ();
43 
44 private:
45 
46  friend class CodeEditor;
47 
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
Definition: codedocument.h:34
Definition: codeeditor.h:71
Definition: codeviewerdialog.h:28
void initGUI()
Definition: codeviewerdialog.cpp:44
virtual void languageChange()
Definition: codeviewerdialog.cpp:95
Settings::CodeViewerState state()
Definition: codeviewerdialog.cpp:73
~CodeViewerDialog()
Definition: codeviewerdialog.cpp:39
void addCodeDocument(CodeDocument *doc)
Definition: codeviewerdialog.cpp:58
bool close()
Definition: codeviewerdialog.cpp:78
CodeViewerDialog(QWidget *parent, CodeDocument *doc, Settings::CodeViewerState state)
Definition: codeviewerdialog.cpp:28
Settings::CodeViewerState m_state
Definition: codeviewerdialog.h:48
configurable params for the code viewer tool
Definition: codeviewerstate.h:20
Definition: singlepagedialogbase.h:36
Definition: ui_codeviewerdialogbase.h:98