SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
smtk
extension
qt
qtVoidItem.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
// .NAME qtVoidItem - a qt item for Void type attribute items
11
// .SECTION Description
12
// .SECTION See Also
13
// qtItem
14
15
#ifndef smtk_extension_qtVoidItem_h
16
#define smtk_extension_qtVoidItem_h
17
18
#include "smtk/extension/qt/Exports.h"
19
#include "smtk/extension/qt/qtItem.h"
20
21
class
qtVoidItemInternals
;
22
23
namespace
smtk
24
{
25
namespace
extension
26
{
27
class
SMTKQTEXT_EXPORT
qtVoidItem
:
public
qtItem
28
{
29
Q_OBJECT
30
31
public
:
32
static
qtItem
* createItemWidget(
const
qtAttributeItemInfo
& info);
33
qtVoidItem
(
const
qtAttributeItemInfo
& info);
34
~
qtVoidItem
()
override
;
35
void
setLabelVisible(
bool
)
override
;
36
37
public
Q_SLOTS:
38
void
setOutputOptional(
int
);
39
void
updateItemData()
override
;
40
41
protected
Q_SLOTS:
42
43
protected
:
44
void
createWidget()
override
;
45
46
private
:
47
qtVoidItemInternals
* Internals;
48
49
};
// class
50
};
// namespace extension
51
};
// namespace smtk
52
53
#endif
smtk
The main namespace for the Simulation Modeling Tool Kit (SMTK).
Definition:
doc.h:33
smtk::extension::qtItem
an abstract UI class for attribute item
Definition:
qtItem.h:61
qtVoidItemInternals
Definition:
qtVoidItem.cxx:27
smtk::extension::qtVoidItem
Definition:
qtVoidItem.h:27
smtk::extension::qtAttributeItemInfo
Class used to generate widgets for Attribute Items.
Definition:
qtAttributeItemInfo.h:39
Generated by
1.8.17