20 #include <QHBoxLayout> 21 #include <QHeaderView> 25 #include <QVBoxLayout> 27 #include <vtkRenderWindow.h> 32 : QWidget(parent, f), m_NodePropertiesTableView(nullptr), m_Model(nullptr)
48 if (_List.IsNotNull())
70 QVBoxLayout *_NodePropertiesLayout =
new QVBoxLayout;
71 QWidget *_PropertyFilterKeyWordPane =
new QWidget(QWidget::parentWidget());
72 QHBoxLayout *_PropertyFilterKeyWordLayout =
new QHBoxLayout;
73 QLabel *_LabelPropertyFilterKeyWord =
new QLabel(
"Filter: ", _PropertyFilterKeyWordPane);
78 setLayout(_NodePropertiesLayout);
80 _PropertyFilterKeyWordPane->setLayout(_PropertyFilterKeyWordLayout);
82 _PropertyFilterKeyWordLayout->setMargin(0);
83 _PropertyFilterKeyWordLayout->addWidget(_LabelPropertyFilterKeyWord);
86 _NodePropertiesLayout->setMargin(0);
87 _NodePropertiesLayout->addWidget(_PropertyFilterKeyWordPane);
99 SIGNAL(textChanged(
const QString &)),
QLineEdit * m_TxtPropertyFilterKeyWord
virtual void SetFilterPropertiesKeyWord(std::string _FilterKeyWord)
Set a keyword for filtering of properties. Only properties beginning with this string will be shown...
void SetPropertyList(mitk::PropertyList::Pointer _List)
QmitkPropertiesTableModel * getModel() const
void PropertyFilterKeyWordTextChanged(const QString &text)
QmitkPropertiesTableModel * m_Model
QTableView * getTable() const
QTableView * m_NodePropertiesTableView
void SetPropertyList(mitk::PropertyList *_PropertyList)
~QmitkPropertiesTableEditor() override
Standard dtor. Nothing to do here.
QmitkPropertiesTableEditor(QWidget *parent=nullptr, Qt::WindowFlags f=nullptr, mitk::DataNode::Pointer _Node=nullptr)