Version: 8.3.0
pqCustomPlotSettingsModel Class Reference

#include <pqCustomPlotSettingsModel.h>

Inheritance diagram for pqCustomPlotSettingsModel:
Inheritance graph

Data Structures

class  pqImplementation
 

Public Slots

void setSeriesEnabled (int row, bool enabled)
 

Public Member Functions

 pqCustomPlotSettingsModel (QObject *parent=0)
 
 ~pqCustomPlotSettingsModel ()
 
void setRepresentation (pqDataRepresentation *rep)
 
pqDataRepresentation * representation () const
 
virtual bool setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole)
 Sets the data for the given model index. More...
 
void SetIgnoreUnitsModeOn (bool enabled)
 
void SetAutoSelectModeOn (bool enabled)
 

Private Types

typedef pqPlotSettingsModel Superclass
 

Private Member Functions

QString getUnit (const QString &seriesName)
 

Private Attributes

pqImplementationImplementation
 
bool IgnoreUnitsModeOn
 
bool AutoSelectModeOn
 

Member Typedef Documentation

Constructor & Destructor Documentation

pqCustomPlotSettingsModel::pqCustomPlotSettingsModel ( QObject parent = 0)
pqCustomPlotSettingsModel::~pqCustomPlotSettingsModel ( )

References Implementation.

Member Function Documentation

void pqCustomPlotSettingsModel::setRepresentation ( pqDataRepresentation *  rep)
pqDataRepresentation * pqCustomPlotSettingsModel::representation ( ) const
bool pqCustomPlotSettingsModel::setData ( const QModelIndex &  index,
const QVariant &  value,
int  role = Qt::EditRole 
)
virtual
Parameters
indexThe model index.
valueThe new data for the given role.
roleThe role to set data for.
Returns
True if the data was changed successfully.

References setSeriesEnabled().

void pqCustomPlotSettingsModel::SetIgnoreUnitsModeOn ( bool  enabled)

References IgnoreUnitsModeOn.

void pqCustomPlotSettingsModel::SetAutoSelectModeOn ( bool  enabled)
void pqCustomPlotSettingsModel::setSeriesEnabled ( int  row,
bool  enabled 
)
slot
QString pqCustomPlotSettingsModel::getUnit ( const QString &  seriesName)
private

Field Documentation

pqImplementation* pqCustomPlotSettingsModel::Implementation
private
bool pqCustomPlotSettingsModel::IgnoreUnitsModeOn
private
bool pqCustomPlotSettingsModel::AutoSelectModeOn
private