OpenTwin
0.1
OpenTwin
Loading...
Searching...
No Matches
TextEditorView.h
Go to the documentation of this file.
1
4
// ###########################################################################################################################################################################################################################################################################################################################
5
6
#pragma once
7
8
// OpenTwin header
9
#include "
OTWidgets/WidgetView.h
"
10
#include "
OTWidgets/TextEditor.h
"
11
12
namespace
ot
{
13
14
class
OT_WIDGETS_API_EXPORT
TextEditorView
:
public
TextEditor
,
public
WidgetView
{
15
public
:
16
TextEditorView
();
17
virtual
~TextEditorView
();
18
19
// ###########################################################################################################################################################################################################################################################################################################################
20
21
// Base class functions
22
23
virtual
QWidget* getViewWidget(
void
)
override
;
24
25
virtual
void
setupFromConfig(
const
TextEditorCfg
& _config,
bool
_isUpdate)
override
;
26
27
// ###########################################################################################################################################################################################################################################################################################################################
28
29
protected
:
30
virtual
void
contentSaved(
void
)
override
;
31
virtual
void
contentChanged(
void
)
override
;
32
33
private
:
34
35
};
36
37
}
OT_WIDGETS_API_EXPORT
#define OT_WIDGETS_API_EXPORT
Definition
OTWidgetsAPIExport.h:12
TextEditor.h
WidgetView.h
ot::TextEditorCfg
Definition
TextEditorCfg.h:19
ot::TextEditor
Definition
TextEditor.h:47
ot::TextEditorView
Definition
TextEditorView.h:14
ot::WidgetView
The WidgetView class is used to integrate the Qt-ADS functionallity into open twin.
Definition
WidgetView.h:32
ot
Definition
Connector.h:8
Libraries
OTWidgets
include
OTWidgets
TextEditorView.h
Generated by
1.10.0