Button class that can be used to display information about a given node. If the given node is a nullptr the node info text will be shown. The node info can be formatted text (e.g. HTML code; like the tooltip text).
More...
#include <QmitkNodeSelectionButton.h>
Button class that can be used to display information about a given node. If the given node is a nullptr the node info text will be shown. The node info can be formatted text (e.g. HTML code; like the tooltip text).
Definition at line 29 of file QmitkNodeSelectionButton.h.
◆ QmitkNodeSelectionButton()
QmitkNodeSelectionButton::QmitkNodeSelectionButton |
( |
QWidget * |
parent = nullptr | ) |
|
|
explicit |
◆ ~QmitkNodeSelectionButton()
QmitkNodeSelectionButton::~QmitkNodeSelectionButton |
( |
| ) |
|
|
override |
◆ AddNodeObserver()
void QmitkNodeSelectionButton::AddNodeObserver |
( |
| ) |
|
|
protected |
◆ changeEvent()
void QmitkNodeSelectionButton::changeEvent |
( |
QEvent * |
event | ) |
|
|
overrideprotected |
◆ GetSelectedNode()
const mitk::DataNode* QmitkNodeSelectionButton::GetSelectedNode |
( |
| ) |
const |
◆ GetSelectionIsOptional()
bool QmitkNodeSelectionButton::GetSelectionIsOptional |
( |
| ) |
const |
◆ OnNodeModified()
void QmitkNodeSelectionButton::OnNodeModified |
( |
const itk::Object * |
, |
|
|
const itk::EventObject & |
|
|
) |
| |
|
protected |
◆ paintEvent()
void QmitkNodeSelectionButton::paintEvent |
( |
QPaintEvent * |
p | ) |
|
|
overrideprotected |
◆ RemoveNodeObserver()
void QmitkNodeSelectionButton::RemoveNodeObserver |
( |
| ) |
|
|
protected |
◆ SetNodeInfo
virtual void QmitkNodeSelectionButton::SetNodeInfo |
( |
QString |
info | ) |
|
|
virtualslot |
◆ SetSelectedNode
virtual void QmitkNodeSelectionButton::SetSelectedNode |
( |
const mitk::DataNode * |
node | ) |
|
|
virtualslot |
◆ SetSelectionIsOptional
void QmitkNodeSelectionButton::SetSelectionIsOptional |
( |
bool |
isOptional | ) |
|
|
slot |
Set the widget into an optional mode. Optional means that the selection of no valid node does not mean an invalid state. Thus no node is a valid "node" selection too. The state influences if the info text is handled as an information (optional) or a warning (optional==false).
◆ m_DataMTime
itk::ModifiedTimeType QmitkNodeSelectionButton::m_DataMTime |
|
protected |
◆ m_Info
QString QmitkNodeSelectionButton::m_Info |
|
protected |
◆ m_IsOptional
bool QmitkNodeSelectionButton::m_IsOptional |
|
protected |
◆ m_NodeModifiedObserverTag
unsigned long QmitkNodeSelectionButton::m_NodeModifiedObserverTag |
|
protected |
◆ m_NodeObserved
bool QmitkNodeSelectionButton::m_NodeObserved |
|
protected |
◆ m_OutDatedThumbNail
bool QmitkNodeSelectionButton::m_OutDatedThumbNail |
|
protected |
◆ m_SelectedNode
◆ m_SelectionPropMTime
itk::ModifiedTimeType QmitkNodeSelectionButton::m_SelectionPropMTime |
|
protected |
◆ m_ThumbNail
QPixmap QmitkNodeSelectionButton::m_ThumbNail |
|
protected |
The documentation for this class was generated from the following file: