OpenTwin
0.1
OpenTwin
Loading...
Searching...
No Matches
Splitter.h
Go to the documentation of this file.
1
4
// ###########################################################################################################################################################################################################################################################################################################################
5
6
#pragma once
7
8
// OpenTwin header
9
#include "
OTCore/OTClassHelper.h
"
10
#include "
OTWidgets/ColorStyle.h
"
11
#include "
OTWidgets/OTWidgetsAPIExport.h
"
12
13
// Qt header
14
#include <QtWidgets/qsplitter.h>
15
16
namespace
ot
{
17
18
class
OT_WIDGETS_API_EXPORT
Splitter
:
public
QSplitter {
19
Q_OBJECT
20
OT_DECL_NOCOPY
(
Splitter
)
21
public
:
22
Splitter
(QWidget* _parent = (QWidget*)
nullptr
);
23
Splitter
(Qt::Orientation _orientation, QWidget* _parent = (QWidget*)
nullptr
);
24
virtual
~Splitter
();
25
26
private
Q_SLOTS:
27
void
slotGlobalColorStyleChanged(
const
ColorStyle
& _style);
28
};
29
30
}
ColorStyle.h
OTClassHelper.h
This file contains defines that may be used simplyfy class creation.
OT_DECL_NOCOPY
#define OT_DECL_NOCOPY(___class)
Removes the default copy constructor and assignment operator.
Definition
OTClassHelper.h:14
OTWidgetsAPIExport.h
OT_WIDGETS_API_EXPORT
#define OT_WIDGETS_API_EXPORT
Definition
OTWidgetsAPIExport.h:12
ot::ColorStyle
Definition
ColorStyle.h:24
ot::Splitter
Definition
Splitter.h:18
ot
Definition
Connector.h:8
Libraries
OTWidgets
include
OTWidgets
Splitter.h
Generated by
1.10.0