SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
smtk
extension
qt
qtViewInfoDialog.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 qtViewInfoDialog - A Information Dialog for SMTK Operations
11
// .SECTION Description
12
// .SECTION Caveats
13
#ifndef _qtViewInfoDialog_h
14
#define _qtViewInfoDialog_h
15
16
#include "
smtk/PublicPointerDefs.h
"
17
#include "smtk/extension/qt/Exports.h"
18
#include <QDialog>
19
#include <QString>
20
21
namespace
Ui
22
{
23
class
qtViewInfoDialog;
24
}
25
26
namespace
smtk
27
{
28
namespace
extension
29
{
30
31
class
SMTKQTEXT_EXPORT
qtViewInfoDialog
:
public
QDialog
32
{
33
Q_OBJECT
34
35
public
:
36
qtViewInfoDialog
(QWidget* Parent);
37
~
qtViewInfoDialog
()
override
;
38
qtViewInfoDialog
(
const
qtViewInfoDialog
&) =
delete
;
39
qtViewInfoDialog
& operator=(
const
qtViewInfoDialog
&) =
delete
;
40
41
void
displayInfo(
smtk::attribute::AttributePtr
att);
42
void
displayInfo(
smtk::view::ConfigurationPtr
view);
43
44
static
void
formatInfoHtml(
smtk::attribute::AttributePtr
att, QString& html);
45
46
private
:
47
Ui::qtViewInfoDialog* m_dialog;
48
smtk::view::ConfigurationPtr
m_view;
49
smtk::attribute::AttributePtr
m_attribute;
50
};
51
}
// namespace extension
52
}
// namespace smtk
53
#endif // !_qtViewInfoDialog_h
smtk
The main namespace for the Simulation Modeling Tool Kit (SMTK).
Definition:
doc.h:33
PublicPointerDefs.h
smtk::extension::qtViewInfoDialog
Definition:
qtViewInfoDialog.h:31
smtk::attribute::AttributePtr
smtk::shared_ptr< smtk::attribute::Attribute > AttributePtr
Definition:
PublicPointerDefs.h:463
smtk::view::ConfigurationPtr
smtk::shared_ptr< smtk::view::Configuration > ConfigurationPtr
Definition:
PublicPointerDefs.h:649
Generated by
1.8.17