PlotInfoBase Class Reference

#include <plot_info_base.hh>

Inherited by PlotDataInfo, PlotFunctionInfo, and PlotGroupInfo.


Public Types

enum  modes {
  POINTS, LINES, POINTSANDLINES, AREA,
  POINTSANDAREA
}
enum  shapes { CIRCLE, RECTANGLE, CROSS, DIAGONALCROSS }
enum  errormodes { NONE, LINE, BOX, VECTOR }

Signals

void appearanceChanged ()
void visibilityChanged ()
void nameChanged ()

Public Member Functions

 PlotInfoBase (PlotViewerPanel *viewer=0)
 PlotInfoBase (const PlotInfoBase &)
virtual ~PlotInfoBase ()
virtual PlotInfoBaseSetName (const QString &n)
virtual PlotInfoBaseSetMode (unsigned int val)
virtual PlotInfoBaseSetVisible (bool val)
virtual PlotInfoBaseSetColor (const QColor &color)
virtual PlotInfoBaseSetColor (int r, int g, int b)
virtual PlotInfoBaseSetLineColor (int r, int g, int b)
virtual PlotInfoBaseSetFillColor (int r, int g, int b)
virtual PlotInfoBaseSetLineColor (const QColor &color)
virtual PlotInfoBaseSetFillColor (const QColor &color)

Data Fields

QString name
QPen pen
QBrush brush
unsigned int mode
bool visible


Detailed Description

Definition at line 39 of file plot_info_base.hh.


Member Enumeration Documentation

enum errormodes

Enumerator:
NONE 
LINE 
BOX 
VECTOR 

Definition at line 56 of file plot_info_base.hh.

enum modes

Enumerator:
POINTS 
LINES 
POINTSANDLINES 
AREA 
POINTSANDAREA 

Definition at line 43 of file plot_info_base.hh.

enum shapes

Enumerator:
CIRCLE 
RECTANGLE 
CROSS 
DIAGONALCROSS 

Definition at line 50 of file plot_info_base.hh.


Constructor & Destructor Documentation

PlotInfoBase ( PlotViewerPanel viewer = 0  ) 

PlotInfoBase ( const PlotInfoBase  ) 

virtual ~PlotInfoBase (  )  [virtual]


Member Function Documentation

void appearanceChanged (  )  [signal]

void nameChanged (  )  [signal]

virtual PlotInfoBase& SetColor ( int  r,
int  g,
int  b 
) [virtual]

Reimplemented in PlotGroupInfo.

virtual PlotInfoBase& SetColor ( const QColor &  color  )  [virtual]

Reimplemented in PlotGroupInfo.

virtual PlotInfoBase& SetFillColor ( const QColor &  color  )  [virtual]

Reimplemented in PlotGroupInfo.

virtual PlotInfoBase& SetFillColor ( int  r,
int  g,
int  b 
) [virtual]

Reimplemented in PlotGroupInfo.

virtual PlotInfoBase& SetLineColor ( const QColor &  color  )  [virtual]

Reimplemented in PlotGroupInfo.

virtual PlotInfoBase& SetLineColor ( int  r,
int  g,
int  b 
) [virtual]

Reimplemented in PlotGroupInfo.

virtual PlotInfoBase& SetMode ( unsigned int  val  )  [virtual]

Reimplemented in PlotGroupInfo.

virtual PlotInfoBase& SetName ( const QString &  n  )  [virtual]

virtual PlotInfoBase& SetVisible ( bool  val  )  [virtual]

void visibilityChanged (  )  [signal]


Field Documentation

QBrush brush

Definition at line 77 of file plot_info_base.hh.

unsigned int mode

Definition at line 78 of file plot_info_base.hh.

QString name

Definition at line 75 of file plot_info_base.hh.

QPen pen

Definition at line 76 of file plot_info_base.hh.

bool visible

Definition at line 79 of file plot_info_base.hh.


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

Generated on Fri Jul 2 14:23:06 2010 for OpenStructure by  doxygen 1.5.8