SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
smtk
extension
qt
qtNewAttributeWidget.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 qtNewAttributeWidget - a widget for creating new attribute.
11
// .SECTION Description
12
// .SECTION Caveats
13
14
#ifndef smtk_extension_qtNewAttributeWidget_h
15
#define smtk_extension_qtNewAttributeWidget_h
16
17
#include <QDialog>
18
19
#include "
smtk/PublicPointerDefs.h
"
20
#include "smtk/extension/qt/Exports.h"
21
22
namespace
smtk
23
{
24
namespace
attribute
25
{
26
class
SMTKQTEXT_EXPORT
qtNewAttributeWidget
:
public
QDialog
27
{
28
Q_OBJECT
29
typedef
QDialog Superclass;
30
31
public
:
32
qtNewAttributeWidget
(QWidget* parent =
nullptr
);
33
~
qtNewAttributeWidget
()
override
;
34
35
QString attributeName()
const
;
36
QString attributeType()
const
;
37
virtual
void
setBaseWidget(QWidget* baseWidget);
38
virtual
int
showWidget(
const
QString& name,
const
QList<QString>& attTypes);
39
40
private
:
41
qtNewAttributeWidget
(
const
qtNewAttributeWidget
&);
// Not implemented.
42
void
operator=(
const
qtNewAttributeWidget
&);
// Not implemented.
43
44
class
PIMPL
;
45
PIMPL
* Private;
46
47
};
// class
48
};
// namespace attribute
49
};
// namespace smtk
50
51
#endif
smtk
The main namespace for the Simulation Modeling Tool Kit (SMTK).
Definition:
doc.h:33
smtk::attribute::qtNewAttributeWidget::PIMPL
Definition:
qtNewAttributeWidget.cxx:25
PublicPointerDefs.h
smtk::attribute::qtNewAttributeWidget
Definition:
qtNewAttributeWidget.h:26
Generated by
1.8.17