SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
smtk
extension
qt
VisibilityBadge.h
1
//=========================================================================
2
// Copyright (c) Kitware, Inc.
3
// All rights reserved.
4
// See LICENSE.txt for details.
5
//
6
// This software is distributed WITHOUT ANY WARRANTY; without even
7
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
8
// PURPOSE. See the above copyright notice for more information.
9
//=========================================================================
10
#ifndef smtk_extension_qt_VisibilityBadge_h
11
#define smtk_extension_qt_VisibilityBadge_h
12
13
#include "
smtk/PublicPointerDefs.h
"
14
15
#include "smtk/extension/qt/Exports.h"
16
17
#include "smtk/view/Badge.h"
18
#include "smtk/view/BadgeSet.h"
19
#include "smtk/view/Configuration.h"
20
#include "smtk/view/DescriptivePhrase.h"
21
22
// VTK's wrapper parser does not properly handle Qt macros on macos.
23
#if defined(__VTK_WRAP__) && !defined(Q_SLOTS)
24
#define Q_DISABLE_COPY(x)
25
#define Q_SLOTS
26
#define Q_SIGNALS protected
27
#define Q_OBJECT
28
#endif
29
30
#include <QObject>
31
32
namespace
smtk
33
{
34
namespace
extension
35
{
36
namespace
qt
37
{
38
44
class
SMTKQTEXT_EXPORT
VisibilityBadge
45
:
public
QObject
46
,
public
smtk::view::Badge
47
{
48
Q_OBJECT
49
public
:
50
VisibilityBadge
();
51
~
VisibilityBadge
()
override
;
52
};
53
}
// namespace qt
54
}
// namespace extension
55
}
// namespace smtk
56
57
#endif
smtk
The main namespace for the Simulation Modeling Tool Kit (SMTK).
Definition:
doc.h:33
PublicPointerDefs.h
smtk::view::Badge
A base class for descriptive-phrase badges.
Definition:
Badge.h:78
smtk::extension::qt::VisibilityBadge
An empty base class for badges controlling visibility of objects (in other views).
Definition:
VisibilityBadge.h:44
Generated by
1.8.17