OpenTwin
0.1
OpenTwin
Loading...
Searching...
No Matches
PropertyGridTree.h
Go to the documentation of this file.
1
4
// ###########################################################################################################################################################################################################################################################################################################################
5
6
#pragma once
7
8
// OpenTwin header
9
#include "
OTWidgets/TreeWidget.h
"
10
11
namespace
ot
{
12
13
class
OT_WIDGETS_API_EXPORT
PropertyGridTree
:
public
TreeWidget
{
14
Q_OBJECT
15
OT_DECL_NOCOPY
(
PropertyGridTree
)
16
public
:
17
PropertyGridTree
();
18
virtual
~PropertyGridTree
();
19
20
protected
:
21
virtual
void
mousePressEvent(QMouseEvent* _event)
override
;
22
23
virtual
void
showEvent(QShowEvent* _event);
24
25
virtual
void
resizeEvent(QResizeEvent* _event);
26
27
virtual
void
drawRow(QPainter* _painter,
const
QStyleOptionViewItem& _options,
const
QModelIndex& _index)
const override
;
28
29
private
:
30
bool
m_wasShown;
31
};
32
}
OT_DECL_NOCOPY
#define OT_DECL_NOCOPY(___class)
Removes the default copy constructor and assignment operator.
Definition
OTClassHelper.h:17
OT_WIDGETS_API_EXPORT
#define OT_WIDGETS_API_EXPORT
Definition
OTWidgetsAPIExport.h:12
TreeWidget.h
ot::PropertyGridTree
Definition
PropertyGridTree.h:13
ot::TreeWidget
Definition
TreeWidget.h:23
ot
Definition
Connector.h:8
Libraries
OTWidgets
include
OTWidgets
PropertyGridTree.h
Generated by
1.10.0