Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

TxqOptionsDlog Class Reference

#include <TxqOptionsDlog.h>

Inheritance diagram for TxqOptionsDlog::

QTabDialog Txq3dOptionsDlog List of all members.

Public Methods

 TxqOptionsDlog (QWidget *parent, const char *name, TxqPlotAttribs *plot)
 Constructor takes a parent wiget, a name, and the plot attributes. More...

virtual ~TxqOptionsDlog ()
 The TxqOptionsDlog destructor. More...

virtual void addTabs ()
 Adds the tabs. More...

virtual void setPlotAttribs (TxqPlotAttribs *pa)
 Set the plot attibutes. More...

virtual TxqPlotAttribsgetPlotAttribs ()
 Get the plot attributes. More...


Protected Methods

virtual void updateAxisAttribs (TxqAxisAttribsTab *axis, TxqAxisAttribs &a, double min, double max, TxqTitleTab *aTitle, TxqTickMarkTab *aTickMark)
 Update the axis attributes from the inputs. More...

virtual void axesTab ()
 axesTab creates the Axes tab editor. More...

virtual void titlesTab ()
 titlesTab creates the Titles tab editor. More...

virtual void tickTab ()
 tickTab creates the Tick mark tab editor. More...

void warn (QString axis)
 Output a warning message if the min is greater than the max. More...

void warnLog (QString axis)
 Output a warning message if the log scale inputs are incorrect. More...

int warnLogDecades (QString axis, double min)
 Output an information message if the log of the max - log of min is greater than 5.0. More...


Protected Attributes

TxqPlotAttribsplotAttribs
 The plot attributes. More...

QLineEdit* xtitle
 The X title editor. More...

QLineEdit* ytitle
 The Y title editor. More...

QLabelx
 The X axis title. More...

QLabely
 The Y axis title. More...

TxqAxisAttribsTabxAxis
 The X axis tab. More...

TxqAxisAttribsTabyAxis
 The Y axis tab. More...

TxqTitleTabxTitle
 The title tab for the X axis. More...

TxqTitleTabyTitle
 The title tab for the Y axis. More...

TxqTickMarkTabxTickMark
 The tick mark tabs. More...

TxqTickMarkTabyTickMark
double xmin
 The original X min and max value. More...

double xmax
 The original X min and max value. More...

double ymin
 The original Y min and max value. More...

double ymax
 The original Y min and max value. More...

QHBox* axesBox
 The axes tab widget. More...

QVBox* titleBox
 The title tab widget. More...

QVBox* tickBox
 The tick mark tab widget. More...


Constructor & Destructor Documentation

TxqOptionsDlog::TxqOptionsDlog ( QWidget * parent,
const char * name,
TxqPlotAttribs * plot )
 

Constructor takes a parent wiget, a name, and the plot attributes.

Parameters:
parent   the parent widget
name   the name for this widget
plot   the TxqPlotAttribs

TxqOptionsDlog::~TxqOptionsDlog ( ) [virtual]
 

The TxqOptionsDlog destructor.


Member Function Documentation

void TxqOptionsDlog::addTabs ( ) [virtual]
 

Adds the tabs.

Reimplemented in Txq3dOptionsDlog.

void TxqOptionsDlog::axesTab ( ) [protected, virtual]
 

axesTab creates the Axes tab editor.

Reimplemented in Txq3dOptionsDlog.

TxqPlotAttribs * TxqOptionsDlog::getPlotAttribs ( ) [virtual]
 

Get the plot attributes.

Returns:
the TxqPlotAttribs pointer.

Reimplemented in Txq3dOptionsDlog.

void TxqOptionsDlog::setPlotAttribs ( TxqPlotAttribs * pa ) [virtual]
 

Set the plot attibutes.

Parameters:
pa   the TxqPlotAttribs pointer to use to set the class data member.

Reimplemented in Txq3dOptionsDlog.

Referenced by Txq3dOptionsDlog::setPlotAttribs().

void TxqOptionsDlog::tickTab ( ) [protected, virtual]
 

tickTab creates the Tick mark tab editor.

Reimplemented in Txq3dOptionsDlog.

void TxqOptionsDlog::titlesTab ( ) [protected, virtual]
 

titlesTab creates the Titles tab editor.

Reimplemented in Txq3dOptionsDlog.

void TxqOptionsDlog::updateAxisAttribs ( TxqAxisAttribsTab * axis,
TxqAxisAttribs & a,
double min,
double max,
TxqTitleTab * aTitle,
TxqTickMarkTab * aTickMark ) [protected, virtual]
 

Update the axis attributes from the inputs.

Parameters:
axis   the TxqAxisAttribTab pointer
a   the TxqAxisAttribs
min   the min value for the axis
max   the max value for the axis
aTitle   the TxqTitleTab
aTickMark   the TxqTickMarkTab

void TxqOptionsDlog::warn ( QString axis ) [protected]
 

Output a warning message if the min is greater than the max.

Parameters:
axis   the axis string name

void TxqOptionsDlog::warnLog ( QString axis ) [protected]
 

Output a warning message if the log scale inputs are incorrect.

Parameters:
axis   the axis string name

int TxqOptionsDlog::warnLogDecades ( QString axis,
double min ) [protected]
 

Output an information message if the log of the max - log of min is greater than 5.0.

Parameters:
axis   the axis string name
min   the suggested new min


Member Data Documentation

QHBox * TxqOptionsDlog::axesBox [protected]
 

The axes tab widget.

Definition at line 192 of file TxqOptionsDlog.h.

TxqPlotAttribs * TxqOptionsDlog::plotAttribs [protected]
 

The plot attributes.

Definition at line 132 of file TxqOptionsDlog.h.

QVBox * TxqOptionsDlog::tickBox [protected]
 

The tick mark tab widget.

Definition at line 202 of file TxqOptionsDlog.h.

QVBox * TxqOptionsDlog::titleBox [protected]
 

The title tab widget.

Definition at line 197 of file TxqOptionsDlog.h.

QLabel * TxqOptionsDlog::x [protected]
 

The X axis title.

Definition at line 147 of file TxqOptionsDlog.h.

TxqAxisAttribsTab * TxqOptionsDlog::xAxis [protected]
 

The X axis tab.

Definition at line 157 of file TxqOptionsDlog.h.

TxqTickMarkTab * TxqOptionsDlog::xTickMark [protected]
 

The tick mark tabs.

Definition at line 176 of file TxqOptionsDlog.h.

TxqTitleTab * TxqOptionsDlog::xTitle [protected]
 

The title tab for the X axis.

Definition at line 167 of file TxqOptionsDlog.h.

double TxqOptionsDlog::xmax [protected]
 

The original X min and max value.

Definition at line 182 of file TxqOptionsDlog.h.

double TxqOptionsDlog::xmin [protected]
 

The original X min and max value.

Definition at line 182 of file TxqOptionsDlog.h.

QLineEdit * TxqOptionsDlog::xtitle [protected]
 

The X title editor.

Definition at line 137 of file TxqOptionsDlog.h.

QLabel * TxqOptionsDlog::y [protected]
 

The Y axis title.

Definition at line 152 of file TxqOptionsDlog.h.

TxqAxisAttribsTab * TxqOptionsDlog::yAxis [protected]
 

The Y axis tab.

Definition at line 162 of file TxqOptionsDlog.h.

TxqTickMarkTab * TxqOptionsDlog::yTickMark [protected]
 

Definition at line 177 of file TxqOptionsDlog.h.

TxqTitleTab * TxqOptionsDlog::yTitle [protected]
 

The title tab for the Y axis.

Definition at line 171 of file TxqOptionsDlog.h.

double TxqOptionsDlog::ymax [protected]
 

The original Y min and max value.

Definition at line 187 of file TxqOptionsDlog.h.

double TxqOptionsDlog::ymin [protected]
 

The original Y min and max value.

Definition at line 187 of file TxqOptionsDlog.h.

QLineEdit * TxqOptionsDlog::ytitle [protected]
 

The Y title editor.

Definition at line 142 of file TxqOptionsDlog.h.


The documentation for this class was generated from the following file: Copyright Tech-X Corporation, all rights reserved.