SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
10 #ifndef smtk_extension_qt_qtReferenceItemData_h
11 #define smtk_extension_qt_qtReferenceItemData_h
15 #include "smtk/extension/qt/Exports.h"
16 #include "smtk/extension/qt/qtDescriptivePhraseDelegate.h"
17 #include "smtk/extension/qt/qtDescriptivePhraseModel.h"
19 #include "smtk/view/Configuration.h"
20 #include "smtk/view/PhraseModel.h"
22 #include "smtk/operation/Manager.h"
24 #include "smtk/resource/Manager.h"
25 #include "smtk/resource/Resource.h"
29 #include <QGridLayout>
30 #include <QHBoxLayout>
34 #include <QPushButton>
35 #include <QToolButton>
36 #include <QVBoxLayout>
43 class qtReferenceItemData;
64 QPointer<QCheckBox> m_optional{
nullptr };
82 QPointer<QVBoxLayout> m_popupLayout;
83 QPointer<QListView> m_popupList;
85 bool m_alreadyClosingPopup{
false };
100 std::string m_unselectedIconURL;
The main namespace for the Simulation Modeling Tool Kit (SMTK).
Definition: doc.h:33
Definition: Observers.h:106
QPointer< QPushButton > m_copyToSelection
A button to copy the item's entries into the selection.
Definition: qtReferenceItemData.h:72
QPointer< QPushButton > m_copyFromSelection
A button to copy the selection into the item's entries.
Definition: qtReferenceItemData.h:70
QPointer< QLabel > m_synopsis
A live summary of the item's entries and acceptability.
Definition: qtReferenceItemData.h:68
smtk::shared_ptr< smtk::view::PhraseModel > PhraseModelPtr
Definition: PublicPointerDefs.h:637
QPointer< QPushButton > m_linkSeln
A button to link an app. selection to the item's entries permanently.
Definition: qtReferenceItemData.h:78
QPointer< QGridLayout > m_grid
Main widget contents.
Definition: qtReferenceItemData.h:62
A base class for protected data shared between component and resource items.
Definition: qtReferenceItemData.h:50
std::string m_selectedIconURL
Icons used to show item membership.
Definition: qtReferenceItemData.h:99
QPointer< QLabel > m_label
The item's label (or name if no label).
Definition: qtReferenceItemData.h:66
QPointer< QDialog > m_popup
Popup widget contents.
Definition: qtReferenceItemData.h:81
QPointer< QPushButton > m_clear
A button to clear the item's entries.
Definition: qtReferenceItemData.h:74
Adapt an smtk::view::PhraseModel instance into a hierarchical Qt model.
Definition: qtDescriptivePhraseModel.h:40
Present the contents of an smtk::model::Resource instance via qtDescriptivePhraseModel.
Definition: qtDescriptivePhraseDelegate.h:29
QPointer< QToolButton > m_editBtn
A button to show a popup used to edit the item's entries.
Definition: qtReferenceItemData.h:76