ParaView
Public Slots | Signals | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | List of all members
pqSpreadSheetViewSelectionModel Class Reference

This is the selection model used by spread sheet view. More...

#include <pqSpreadSheetViewSelectionModel.h>

Inherits QItemSelectionModel.

Public Slots

virtual void select (const QModelIndex &index, QItemSelectionModel::SelectionFlags command)
 
virtual void select (const QItemSelection &selection, QItemSelectionModel::SelectionFlags command)
 

Signals

void selection (vtkSMSourceProxy *)
 

Public Member Functions

 pqSpreadSheetViewSelectionModel (pqSpreadSheetViewModel *model, QObject *parent=0)
 
 ~pqSpreadSheetViewSelectionModel ()
 

Protected Slots

void serverSelectionChanged (const QItemSelection &)
 

Protected Member Functions

vtkSMSourceProxygetSelectionSource ()
 Locate the selection source currently set on the representation being shown. More...
 

Protected Attributes

bool UpdatingSelection
 

Detailed Description

This is the selection model used by spread sheet view.

It manages two operations:

Definition at line 56 of file pqSpreadSheetViewSelectionModel.h.

Constructor & Destructor Documentation

◆ pqSpreadSheetViewSelectionModel()

pqSpreadSheetViewSelectionModel::pqSpreadSheetViewSelectionModel ( pqSpreadSheetViewModel model,
QObject *  parent = 0 
)

◆ ~pqSpreadSheetViewSelectionModel()

pqSpreadSheetViewSelectionModel::~pqSpreadSheetViewSelectionModel ( )

Member Function Documentation

◆ select [1/2]

virtual void pqSpreadSheetViewSelectionModel::select ( const QModelIndex &  index,
QItemSelectionModel::SelectionFlags  command 
)
inlinevirtualslot

Definition at line 66 of file pqSpreadSheetViewSelectionModel.h.

◆ select [2/2]

virtual void pqSpreadSheetViewSelectionModel::select ( const QItemSelection &  selection,
QItemSelectionModel::SelectionFlags  command 
)
virtualslot

◆ selection

void pqSpreadSheetViewSelectionModel::selection ( vtkSMSourceProxy )
signal

◆ serverSelectionChanged

void pqSpreadSheetViewSelectionModel::serverSelectionChanged ( const QItemSelection &  )
protectedslot

◆ getSelectionSource()

vtkSMSourceProxy* pqSpreadSheetViewSelectionModel::getSelectionSource ( )
protected

Locate the selection source currently set on the representation being shown.

If no selection exists, or selection present is not "updatable" by this model, we create a new selection.

Member Data Documentation

◆ UpdatingSelection

bool pqSpreadSheetViewSelectionModel::UpdatingSelection
protected

Definition at line 87 of file pqSpreadSheetViewSelectionModel.h.


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