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

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

Signals

void selection (vtkSMSourceProxy *)
 

Public Member Functions

 pqSpreadSheetViewSelectionModel (pqSpreadSheetViewModel *model, QObject *parent=nullptr)
 
 ~pqSpreadSheetViewSelectionModel () override
 

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 28 of file pqSpreadSheetViewSelectionModel.h.

Constructor & Destructor Documentation

◆ pqSpreadSheetViewSelectionModel()

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

◆ ~pqSpreadSheetViewSelectionModel()

pqSpreadSheetViewSelectionModel::~pqSpreadSheetViewSelectionModel ( )
override

Member Function Documentation

◆ select [1/2]

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

Definition at line 38 of file pqSpreadSheetViewSelectionModel.h.

◆ select [2/2]

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

◆ 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 60 of file pqSpreadSheetViewSelectionModel.h.


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