Signals | Public Member Functions | Protected Slots | Protected Attributes | Properties | List of all members
pqSpreadSheetViewDecorator Class Reference

pqSpreadSheetViewDecorator adds decoration to a spread-sheet view. More...

#include <pqSpreadSheetViewDecorator.h>

Inherits QObject.

Collaboration diagram for pqSpreadSheetViewDecorator:
Collaboration graph
[legend]

Signals

void uiModified ()
 

Public Member Functions

 pqSpreadSheetViewDecorator (pqSpreadSheetView *view)
 
 ~pqSpreadSheetViewDecorator () override
 
void setPrecision (int)
 
void setFixedRepresentation (bool)
 
bool allowChangeOfSource () const
 Returns whether the user should allowed to interactive change the source. More...
 
void setAllowChangeOfSource (bool val)
 Set whether the user should be allowed to change the source interactively. More...
 
bool eventFilter (QObject *object, QEvent *e) override
 Reimplemented to handle copy to clipboard in CSV format. More...
 
bool generateCellConnectivity () const
 These are linked to the corresponding properties on the SpreadsheetView proxy using a pqPropertyLinks instance. More...
 
void setGenerateCellConnectivity (bool)
 These are linked to the corresponding properties on the SpreadsheetView proxy using a pqPropertyLinks instance. More...
 
bool showFieldData () const
 These are linked to the corresponding properties on the SpreadsheetView proxy using a pqPropertyLinks instance. More...
 
void setShowFieldData (bool)
 These are linked to the corresponding properties on the SpreadsheetView proxy using a pqPropertyLinks instance. More...
 
bool showSelectedElementsOnly () const
 These are linked to the corresponding properties on the SpreadsheetView proxy using a pqPropertyLinks instance. More...
 
void setShowSelectedElementsOnly (bool)
 These are linked to the corresponding properties on the SpreadsheetView proxy using a pqPropertyLinks instance. More...
 
int fieldAssociation () const
 These are linked to the corresponding properties on the SpreadsheetView proxy using a pqPropertyLinks instance. More...
 
void setFieldAssociation (int)
 These are linked to the corresponding properties on the SpreadsheetView proxy using a pqPropertyLinks instance. More...
 

Protected Slots

void onCurrentAttributeChange (int)
 Triggered when the field association attribute changed. More...
 
void currentIndexChanged (pqOutputPort *)
 
void showing (pqDataRepresentation *)
 
void displayPrecisionChanged (int)
 
void toggleFixedRepresentation (bool)
 
void copyToClipboard ()
 

Protected Attributes

pqSpreadSheetViewSpreadsheet
 

Properties

bool allowChangeOfSource
 
bool generateCellConnectivity
 There properties are connected to the corresponding ServerManager properties on the SpreadsheetView proxy. More...
 
bool showFieldData
 There properties are connected to the corresponding ServerManager properties on the SpreadsheetView proxy. More...
 
bool showSelectedElementsOnly
 There properties are connected to the corresponding ServerManager properties on the SpreadsheetView proxy. More...
 
int fieldAssociation
 There properties are connected to the corresponding ServerManager properties on the SpreadsheetView proxy. More...
 

Detailed Description

pqSpreadSheetViewDecorator adds decoration to a spread-sheet view.

This includes widgets that allows changing the currently shown source/field etc. To use the decorator, simply instantiate a new decorator for every new instance of pqSpreadSheetView.

Definition at line 21 of file pqSpreadSheetViewDecorator.h.

Constructor & Destructor Documentation

◆ pqSpreadSheetViewDecorator()

pqSpreadSheetViewDecorator::pqSpreadSheetViewDecorator ( pqSpreadSheetView view)

◆ ~pqSpreadSheetViewDecorator()

pqSpreadSheetViewDecorator::~pqSpreadSheetViewDecorator ( )
override

Member Function Documentation

◆ generateCellConnectivity()

bool pqSpreadSheetViewDecorator::generateCellConnectivity ( ) const

These are linked to the corresponding properties on the SpreadsheetView proxy using a pqPropertyLinks instance.

◆ setGenerateCellConnectivity()

void pqSpreadSheetViewDecorator::setGenerateCellConnectivity ( bool  )

These are linked to the corresponding properties on the SpreadsheetView proxy using a pqPropertyLinks instance.

◆ showFieldData()

bool pqSpreadSheetViewDecorator::showFieldData ( ) const

These are linked to the corresponding properties on the SpreadsheetView proxy using a pqPropertyLinks instance.

◆ setShowFieldData()

void pqSpreadSheetViewDecorator::setShowFieldData ( bool  )

These are linked to the corresponding properties on the SpreadsheetView proxy using a pqPropertyLinks instance.

◆ showSelectedElementsOnly()

bool pqSpreadSheetViewDecorator::showSelectedElementsOnly ( ) const

These are linked to the corresponding properties on the SpreadsheetView proxy using a pqPropertyLinks instance.

◆ setShowSelectedElementsOnly()

void pqSpreadSheetViewDecorator::setShowSelectedElementsOnly ( bool  )

These are linked to the corresponding properties on the SpreadsheetView proxy using a pqPropertyLinks instance.

◆ fieldAssociation()

int pqSpreadSheetViewDecorator::fieldAssociation ( ) const

These are linked to the corresponding properties on the SpreadsheetView proxy using a pqPropertyLinks instance.

◆ setFieldAssociation()

void pqSpreadSheetViewDecorator::setFieldAssociation ( int  )

These are linked to the corresponding properties on the SpreadsheetView proxy using a pqPropertyLinks instance.

◆ setPrecision()

void pqSpreadSheetViewDecorator::setPrecision ( int  )

◆ setFixedRepresentation()

void pqSpreadSheetViewDecorator::setFixedRepresentation ( bool  )

◆ allowChangeOfSource()

bool pqSpreadSheetViewDecorator::allowChangeOfSource ( ) const

Returns whether the user should allowed to interactive change the source.

being shown in the view. true by default.

◆ setAllowChangeOfSource()

void pqSpreadSheetViewDecorator::setAllowChangeOfSource ( bool  val)

Set whether the user should be allowed to change the source interactively.

◆ eventFilter()

bool pqSpreadSheetViewDecorator::eventFilter ( QObject *  object,
QEvent *  e 
)
override

Reimplemented to handle copy to clipboard in CSV format.

◆ uiModified

void pqSpreadSheetViewDecorator::uiModified ( )
signal

◆ onCurrentAttributeChange

void pqSpreadSheetViewDecorator::onCurrentAttributeChange ( int  )
protectedslot

Triggered when the field association attribute changed.

Enabled/disable buttons that apply only to a given attribute.

◆ currentIndexChanged

void pqSpreadSheetViewDecorator::currentIndexChanged ( pqOutputPort )
protectedslot

◆ showing

void pqSpreadSheetViewDecorator::showing ( pqDataRepresentation )
protectedslot

◆ displayPrecisionChanged

void pqSpreadSheetViewDecorator::displayPrecisionChanged ( int  )
protectedslot

◆ toggleFixedRepresentation

void pqSpreadSheetViewDecorator::toggleFixedRepresentation ( bool  )
protectedslot

◆ copyToClipboard

void pqSpreadSheetViewDecorator::copyToClipboard ( )
protectedslot

Member Data Documentation

◆ Spreadsheet

pqSpreadSheetView* pqSpreadSheetViewDecorator::Spreadsheet
protected

Definition at line 95 of file pqSpreadSheetViewDecorator.h.

Property Documentation

◆ allowChangeOfSource

bool pqSpreadSheetViewDecorator::allowChangeOfSource
readwrite

Definition at line 25 of file pqSpreadSheetViewDecorator.h.

◆ generateCellConnectivity

bool pqSpreadSheetViewDecorator::generateCellConnectivity
readwrite

There properties are connected to the corresponding ServerManager properties on the SpreadsheetView proxy.

Definition at line 25 of file pqSpreadSheetViewDecorator.h.

◆ showFieldData

bool pqSpreadSheetViewDecorator::showFieldData
readwrite

There properties are connected to the corresponding ServerManager properties on the SpreadsheetView proxy.

Definition at line 33 of file pqSpreadSheetViewDecorator.h.

◆ showSelectedElementsOnly

bool pqSpreadSheetViewDecorator::showSelectedElementsOnly
readwrite

There properties are connected to the corresponding ServerManager properties on the SpreadsheetView proxy.

Definition at line 34 of file pqSpreadSheetViewDecorator.h.

◆ fieldAssociation

int pqSpreadSheetViewDecorator::fieldAssociation
readwrite

There properties are connected to the corresponding ServerManager properties on the SpreadsheetView proxy.

Definition at line 36 of file pqSpreadSheetViewDecorator.h.


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