ParaView
|
pqPipelineBrowserWidget is the widget for the pipeline browser. More...
#include <pqPipelineBrowserWidget.h>
Public Slots | |
void | setActiveView (pqView *) |
Set the active view. More... | |
![]() | |
void | reset () |
void | selectAll () |
void | setCurrentIndex (const QModelIndex &index) |
void | expandAll () |
void | expand (const QModelIndex &index) |
void | collapse (const QModelIndex &index) |
void | scrollTo (const QModelIndex &index) |
Signals | |
void | deleteKey () |
Fired when the delete key is pressed. More... | |
![]() | |
void | activated (const QModelIndex &index) |
void | clicked (const QModelIndex &index) |
Public Member Functions | |
pqPipelineBrowserWidget (QWidget *parent=0) | |
virtual | ~pqPipelineBrowserWidget () |
virtual bool | eventFilter (QObject *object, QEvent *e) |
Used to monitor the key press events in the tree view. More... | |
void | setSelectionVisibility (bool visible) |
Set the visibility of selected items. More... | |
void | enableAnnotationFilter (const QString &annotationKey) |
Set Annotation filter to use. More... | |
void | disableAnnotationFilter () |
Disable any Annotation filter. More... | |
void | enableSessionFilter (vtkSession *session) |
Set Session filter to use. More... | |
void | disableSessionFilter () |
Disable any Session filter. More... | |
void | setModel (pqPipelineModel *model) |
Overload of pqFlatTreeView::setModel. More... | |
const QModelIndex | pipelineModelIndex (const QModelIndex &index) const |
TODO document. More... | |
const pqPipelineModel * | getPipelineModel (const QModelIndex &index) const |
![]() | |
pqFlatTreeView (QWidget *parent=0) | |
Creates a flat tree view. More... | |
virtual | ~pqFlatTreeView () |
QAbstractItemModel * | getModel () const |
void | setModel (QAbstractItemModel *model) |
QModelIndex | getRootIndex () const |
void | setRootIndex (const QModelIndex &index) |
QItemSelectionModel * | getSelectionModel () const |
void | setSelectionModel (QItemSelectionModel *selectionModel) |
SelectionBehavior | getSelectionBehavior () const |
void | setSelectionBehavior (SelectionBehavior behavior) |
SelectionMode | getSelectionMode () const |
void | setSelectionMode (SelectionMode mode) |
QHeaderView * | getHeader () const |
Gets whether or not the column size is managed by the view. More... | |
void | setHeader (QHeaderView *headerView) |
Gets whether or not the column size is managed by the view. More... | |
bool | isColumnSizeManaged () const |
Gets whether or not the column size is managed by the view. More... | |
void | setColumnSizeManaged (bool managed) |
Sets whether or not the column size is managed by the view. More... | |
int | getIconSize () const |
void | setIconSize (int iconSize) |
bool | isIndexHidden (const QModelIndex &index) const |
void | getVisibleRect (const QModelIndex &index, QRect &area) const |
QModelIndex | getIndexVisibleAt (const QPoint &point) const |
QModelIndex | getIndexCellAt (const QPoint &point) const |
void | getSelectionIn (const QRect &rect, QItemSelection &items) const |
bool | isIndexExpanded (const QModelIndex &index) const |
QModelIndex | getNextVisibleIndex (const QModelIndex &index, const QModelIndex &root=QModelIndex()) const |
QModelIndex | getRelativeIndex (const QString &id, const QModelIndex &root=QModelIndex()) const |
void | getRelativeIndexId (const QModelIndex &index, QString &id, const QModelIndex &root=QModelIndex()) const |
bool | startEditing (const QModelIndex &index) |
void | finishEditing () |
void | cancelEditing () |
Static Public Member Functions | |
static void | setVisibility (bool visible, pqOutputPort *port) |
static method to sets the visibility of a pqOutputPort More... | |
Protected Slots | |
void | handleIndexClicked (const QModelIndex &index) |
void | expandWithModelIndexTranslation (const QModelIndex &) |
![]() | |
void | insertRows (const QModelIndex &parent, int start, int end) |
void | startRowRemoval (const QModelIndex &parent, int start, int end) |
void | finishRowRemoval (const QModelIndex &parent, int start, int end) |
void | insertColumns (const QModelIndex &parent, int start, int end) |
void | startColumnRemoval (const QModelIndex &parent, int start, int end) |
void | finishColumnRemoval (const QModelIndex &parent, int start, int end) |
void | updateData (const QModelIndex &topLeft, const QModelIndex &bottomRight) |
Protected Member Functions | |
void | setVisibility (bool visible, const QModelIndexList &indices) |
sets the visibility for items in the indices list. More... | |
![]() | |
int | horizontalOffset () const |
int | verticalOffset () const |
virtual void | resizeEvent (QResizeEvent *e) |
virtual bool | viewportEvent (QEvent *e) |
virtual void | paintEvent (QPaintEvent *e) |
QStyleOptionViewItem | getViewOptions () const |
virtual void | keyPressEvent (QKeyEvent *e) |
void | keyboardSearch (const QString &search) |
virtual void | mousePressEvent (QMouseEvent *e) |
virtual void | mouseMoveEvent (QMouseEvent *e) |
virtual void | mouseReleaseEvent (QMouseEvent *e) |
virtual void | mouseDoubleClickEvent (QMouseEvent *e) |
virtual void | wheelEvent (QWheelEvent *e) |
virtual bool | event (QEvent *e) |
Protected Attributes | |
pqPipelineModel * | PipelineModel |
pqPipelineAnnotationFilterModel * | FilteredPipelineModel |
Additional Inherited Members | |
![]() | |
enum | SelectionBehavior { SelectItems, SelectRows, SelectColumns } |
enum | SelectionMode { NoSelection, SingleSelection, ExtendedSelection } |
pqPipelineBrowserWidget is the widget for the pipeline browser.
This is a replacement for pqPipelineBrowser.
Definition at line 47 of file pqPipelineBrowserWidget.h.
pqPipelineBrowserWidget::pqPipelineBrowserWidget | ( | QWidget * | parent = 0 | ) |
|
virtual |
|
virtual |
Used to monitor the key press events in the tree view.
Returns True if the event should not be sent to the object.
Reimplemented from pqFlatTreeView.
void pqPipelineBrowserWidget::setSelectionVisibility | ( | bool | visible | ) |
Set the visibility of selected items.
void pqPipelineBrowserWidget::enableAnnotationFilter | ( | const QString & | annotationKey | ) |
Set Annotation filter to use.
void pqPipelineBrowserWidget::disableAnnotationFilter | ( | ) |
Disable any Annotation filter.
void pqPipelineBrowserWidget::enableSessionFilter | ( | vtkSession * | session | ) |
Set Session filter to use.
void pqPipelineBrowserWidget::disableSessionFilter | ( | ) |
Disable any Session filter.
void pqPipelineBrowserWidget::setModel | ( | pqPipelineModel * | model | ) |
Overload of pqFlatTreeView::setModel.
const QModelIndex pqPipelineBrowserWidget::pipelineModelIndex | ( | const QModelIndex & | index | ) | const |
TODO document.
const pqPipelineModel* pqPipelineBrowserWidget::getPipelineModel | ( | const QModelIndex & | index | ) | const |
|
static |
static method to sets the visibility of a pqOutputPort
|
signal |
Fired when the delete key is pressed.
Typically implies that the selected items need to be deleted.
|
slot |
Set the active view.
By default connected to pqActiveObjects::viewChanged() so it keeps track of the active view.
|
protectedslot |
|
protectedslot |
|
protected |
sets the visibility for items in the indices list.
|
protected |
Definition at line 103 of file pqPipelineBrowserWidget.h.
|
protected |
Definition at line 104 of file pqPipelineBrowserWidget.h.