tuchulcha  0.10.1
Graphical Workflow Configuration Editor
NodeTreeView Class Reference

QTreeView for module selection. More...

#include <NodeTreeView.h>

Inheritance diagram for NodeTreeView:

Public Slots

void on_editFilter_textChanged (const QString &text)
 handle filter changes More...
 
void on_treeView_clicked (const QModelIndex &index)
 handle documentation display on selection change
 
void on_treeView_doubleClicked (const QModelIndex &)
 handle double click events
 
void reload ()
 loads nodes/modules from the classesFile
 

Signals

void addNode (QString type)
 initiate adding a new instance
 
void showClassDoc (const QString &className)
 show documentation page More...
 

Public Member Functions

 NodeTreeView (QWidget *parent=0)
 default constructor
 

Private Attributes

QSortFilterProxyModel * _filter
 filter wildcard proxy
 
QSortFilterProxyModel * _hideEmtptyGroups
 hide emtpy groups proxy
 
QStandardItemModel * _model
 the model of the view
 
Ui::NodeTreeView * _ui
 designer gui
 

Detailed Description

Definition at line 42 of file NodeTreeView.h.

Member Function Documentation

void NodeTreeView::on_editFilter_textChanged ( const QString &  text)
slot

the second level of items is filtered by the given text that is interpreted as unix wildcard regexp. Items matching this regex are shown, others are hidden. Given an empty string, all items are shown.

Parameters
textfilter regexp

Definition at line 175 of file NodeTreeView.cpp.

References _filter, _hideEmtptyGroups, and _ui.

void NodeTreeView::showClassDoc ( const QString &  className)
signal
Parameters
classNameclass to show doc for

The documentation for this class was generated from the following files: