AxesDialog Class Reference

#include <AxesDialog.h>

List of all members.


Detailed Description

General plot options dialog.

Remark: Don't use this dialog as a non modal dialog!

Public Slots

void accept ()
void changeAxesLinewidth (int)
void changeBaselineDist (int baseline)
void changeMajorTicksLength (int majLength)
void changeMinorTicksLength (int minLength)
void customAxisFont ()
void customAxisLabelFont ()
void drawAxesBackbones (bool)
void drawFrame (bool framed)
int exec ()
 Shows the dialog as a modal dialog.
GridOptions getGridOptions ()
void initAxisFonts (const QFont &xB, const QFont &yL, const QFont &xT, const QFont &yR)
void initLabelsRotation (int xAngle, int yAngle)
void insertColList (const QStringList &cols)
void insertTablesList (const QStringList &l)
void majorGridEnabled (bool on)
int mapToQwtAxis (int axis)
int mapToQwtAxisId ()
void minorGridEnabled (bool on)
void pickAxisColor ()
void pickAxisNumColor ()
void pickCanvasFrameColor ()
void putGridOptions (GridOptions gr)
void setAxesBaseline (const QList< int > &lst)
void setAxesLabelsFormatInfo (const QStringList &lst)
void setAxesType (const QList< int > &list)
void setAxisTitles (QStringList t)
void setAxisType (int axis)
void setBaselineDist (int)
void setCurrentScale (int axisPos)
void setEnabledAxes (QVector< bool > ok)
void setEnabledTickLabels (const QStringList &labelsOn)
void setGridOptions ()
void setLabelsNumericFormat (int)
void setTicksType (int)
void setTicksType (const QList< int > &majLst, const QList< int > &minLst)
void showAxesPage ()
void showAxis ()
void showAxisFormatOptions (int format)
void showAxisFormula (int axis)
void showFormulaBox ()
void showGeneralPage ()
void showGridPage ()
void stepDisabled ()
void stepEnabled ()
void updateAxisColor (int)
void updateAxisType (int axis)
void updateFrame (int)
void updateGrid (int)
void updateLabelsFormat (int)
void updateMajTicksType (int)
void updateMinorTicksList (int scaleType)
void updateMinTicksType (int)
bool updatePlot ()
void updateScale ()
void updateShowBox (int axis)
void updateTickLabelsList (bool)
void updateTitleBox (int axis)

Signals

void changeAxisFont (int, const QFont &)
void showAxis (int, int, const QString &, bool, int, int, bool, const QColor &, int, int, int, int, const QString &, const QColor &)
void updateAxisTitle (int, const QString &)

Public Member Functions

 AxesDialog (QWidget *parent=0, Qt::WFlags fl=0)
 Constructor.
void setGraph (Graph *g)
 ~AxesDialog ()
 Destructor.

Protected Member Functions

void initAxesPage ()
 generate UI for the axes page
void initFramePage ()
 generate UI for the general page
void initGridPage ()
 generate UI for the grid page
void initScalesPage ()
 generate UI for the scales page

Protected Attributes

QList< int > axesBaseline
QListWidget * axesGridList
QListWidget * axesList
QWidget * axesPage
QListWidget * axesTitlesList
QList< int > axesType
QSpinBox * boxAngle
QSpinBox * boxAxesLinewidth
ColorButtonboxAxisColor
ColorButtonboxAxisNumColor
QComboBox * boxAxisType
QCheckBox * boxBackbones
QSpinBox * boxBaseline
QSpinBox * boxBorderWidth
ColorButtonboxCanvasColor
QComboBox * boxColName
ColorBoxboxColorMajor
ColorBoxboxColorMinor
QLineEdit * boxEnd
QComboBox * boxFormat
QTextEdit * boxFormula
ColorButtonboxFrameColor
QGroupBox * boxFramed
QSpinBox * boxFrameWidth
QComboBox * boxGridXAxis
QComboBox * boxGridYAxis
QCheckBox * boxMajorGrid
QSpinBox * boxMajorTicksLength
QComboBox * boxMajorTicksType
QSpinBox * boxMajorValue
QCheckBox * boxMinorGrid
QSpinBox * boxMinorTicksLength
QComboBox * boxMinorTicksType
QComboBox * boxMinorValue
QSpinBox * boxPrecision
QComboBox * boxScaleType
QLabel * boxScaleTypeLabel
QCheckBox * boxShowAxis
QCheckBox * boxShowFormula
QGroupBox * boxShowLabels
QLineEdit * boxStart
QLineEdit * boxStep
QComboBox * boxTableName
QTextEdit * boxTitle
QComboBox * boxTypeMajor
QComboBox * boxTypeMinor
QComboBox * boxUnit
QSpinBox * boxWidthMajor
QSpinBox * boxWidthMinor
QCheckBox * boxXLine
QCheckBox * boxYLine
QPushButton * btnAxesFont
QCheckBox * btnInvert
QCheckBox * btnMajor
QCheckBox * btnStep
QPushButton * buttonApply
QPushButton * buttonCancel
QPushButton * buttonLabelFont
QPushButton * buttonOk
Graphd_graph
TextFormatButtonsformatButtons
QStringList formatInfo
QWidget * frame
QTabWidget * generalDialog
GridOptions grid
QWidget * gridPage
QLabel * label1
QLabel * label2
QLabel * label3
QGroupBox * labelBox
QLabel * labelTable
QWidget * lastPage
 Last selected tab.
QList< int > majTicks
QLabel * minorBoxLabel
QList< int > minTicks
bool rightAxisOn
QWidget * scalesPage
QStringList tablesList
QStringList tickLabelsOn
QStringList titles
bool topAxisOn
bool xAxisOn
QFont xBottomFont
int xBottomLabelsRotation
QFont xTopFont
int xTopLabelsRotation
bool yAxisOn
QFont yLeftFont
QFont yRightFont

Private Slots

void pageChanged (QWidget *page)


Constructor & Destructor Documentation

AxesDialog::AxesDialog ( QWidget *  parent = 0,
Qt::WFlags  fl = 0 
)

Constructor.

Parameters:
parent parent widget
fl window flags

AxesDialog::~AxesDialog (  )  [inline]

Destructor.


Member Function Documentation

void AxesDialog::accept (  )  [slot]

void AxesDialog::changeAxesLinewidth ( int  width  )  [slot]

void AxesDialog::changeAxisFont ( int  ,
const QFont &   
) [signal]

void AxesDialog::changeBaselineDist ( int  baseline  )  [slot]

void AxesDialog::changeMajorTicksLength ( int  majLength  )  [slot]

void AxesDialog::changeMinorTicksLength ( int  minLength  )  [slot]

void AxesDialog::customAxisFont (  )  [slot]

void AxesDialog::customAxisLabelFont (  )  [slot]

void AxesDialog::drawAxesBackbones ( bool  draw  )  [slot]

void AxesDialog::drawFrame ( bool  framed  )  [slot]

int AxesDialog::exec (  )  [slot]

Shows the dialog as a modal dialog.

Show the dialog as a modal dialog and do some initialization.

GridOptions AxesDialog::getGridOptions (  )  [slot]

void AxesDialog::initAxesPage (  )  [protected]

generate UI for the axes page

void AxesDialog::initAxisFonts ( const QFont &  xB,
const QFont &  yL,
const QFont &  xT,
const QFont &  yR 
) [slot]

void AxesDialog::initFramePage (  )  [protected]

generate UI for the general page

void AxesDialog::initGridPage (  )  [protected]

generate UI for the grid page

void AxesDialog::initLabelsRotation ( int  xAngle,
int  yAngle 
) [slot]

void AxesDialog::initScalesPage (  )  [protected]

generate UI for the scales page

void AxesDialog::insertColList ( const QStringList &  cols  )  [slot]

void AxesDialog::insertTablesList ( const QStringList &  l  )  [slot]

void AxesDialog::majorGridEnabled ( bool  on  )  [slot]

int AxesDialog::mapToQwtAxis ( int  axis  )  [slot]

int AxesDialog::mapToQwtAxisId (  )  [slot]

void AxesDialog::minorGridEnabled ( bool  on  )  [slot]

void AxesDialog::pageChanged ( QWidget *  page  )  [private, slot]

void AxesDialog::pickAxisColor (  )  [slot]

void AxesDialog::pickAxisNumColor (  )  [slot]

void AxesDialog::pickCanvasFrameColor (  )  [slot]

void AxesDialog::putGridOptions ( GridOptions  gr  )  [slot]

void AxesDialog::setAxesBaseline ( const QList< int > &  lst  )  [slot]

void AxesDialog::setAxesLabelsFormatInfo ( const QStringList &  lst  )  [slot]

void AxesDialog::setAxesType ( const QList< int > &  list  )  [slot]

void AxesDialog::setAxisTitles ( QStringList  t  )  [slot]

void AxesDialog::setAxisType ( int  axis  )  [slot]

void AxesDialog::setBaselineDist ( int   )  [slot]

void AxesDialog::setCurrentScale ( int  axisPos  )  [slot]

void AxesDialog::setEnabledAxes ( QVector< bool >  ok  )  [slot]

void AxesDialog::setEnabledTickLabels ( const QStringList &  labelsOn  )  [slot]

void AxesDialog::setGraph ( Graph g  ) 

void AxesDialog::setGridOptions (  )  [slot]

void AxesDialog::setLabelsNumericFormat ( int   )  [slot]

void AxesDialog::setTicksType ( int   )  [slot]

void AxesDialog::setTicksType ( const QList< int > &  majLst,
const QList< int > &  minLst 
) [slot]

void AxesDialog::showAxesPage (  )  [slot]

void AxesDialog::showAxis ( int  ,
int  ,
const QString &  ,
bool  ,
int  ,
int  ,
bool  ,
const QColor &  ,
int  ,
int  ,
int  ,
int  ,
const QString &  ,
const QColor &   
) [signal]

void AxesDialog::showAxis (  )  [slot]

void AxesDialog::showAxisFormatOptions ( int  format  )  [slot]

void AxesDialog::showAxisFormula ( int  axis  )  [slot]

void AxesDialog::showFormulaBox (  )  [slot]

void AxesDialog::showGeneralPage (  )  [slot]

void AxesDialog::showGridPage (  )  [slot]

void AxesDialog::stepDisabled (  )  [slot]

void AxesDialog::stepEnabled (  )  [slot]

void AxesDialog::updateAxisColor ( int   )  [slot]

void AxesDialog::updateAxisTitle ( int  ,
const QString &   
) [signal]

void AxesDialog::updateAxisType ( int  axis  )  [slot]

void AxesDialog::updateFrame ( int  width  )  [slot]

void AxesDialog::updateGrid ( int   )  [slot]

void AxesDialog::updateLabelsFormat ( int   )  [slot]

void AxesDialog::updateMajTicksType ( int   )  [slot]

void AxesDialog::updateMinorTicksList ( int  scaleType  )  [slot]

void AxesDialog::updateMinTicksType ( int   )  [slot]

bool AxesDialog::updatePlot (  )  [slot]

void AxesDialog::updateScale (  )  [slot]

void AxesDialog::updateShowBox ( int  axis  )  [slot]

void AxesDialog::updateTickLabelsList ( bool  on  )  [slot]

void AxesDialog::updateTitleBox ( int  axis  )  [slot]


Member Data Documentation

QList<int> AxesDialog::axesBaseline [protected]

QListWidget* AxesDialog::axesGridList [protected]

QListWidget* AxesDialog::axesList [protected]

QWidget* AxesDialog::axesPage [protected]

QListWidget* AxesDialog::axesTitlesList [protected]

QList<int> AxesDialog::axesType [protected]

QSpinBox * AxesDialog::boxAngle [protected]

QSpinBox * AxesDialog::boxAxesLinewidth [protected]

ColorButton* AxesDialog::boxAxisColor [protected]

ColorButton * AxesDialog::boxAxisNumColor [protected]

QComboBox * AxesDialog::boxAxisType [protected]

QCheckBox* AxesDialog::boxBackbones [protected]

QSpinBox * AxesDialog::boxBaseline [protected]

QSpinBox * AxesDialog::boxBorderWidth [protected]

ColorButton* AxesDialog::boxCanvasColor [protected]

QComboBox * AxesDialog::boxColName [protected]

ColorBox* AxesDialog::boxColorMajor [protected]

ColorBox* AxesDialog::boxColorMinor [protected]

QLineEdit* AxesDialog::boxEnd [protected]

QComboBox * AxesDialog::boxFormat [protected]

QTextEdit* AxesDialog::boxFormula [protected]

ColorButton* AxesDialog::boxFrameColor [protected]

QGroupBox* AxesDialog::boxFramed [protected]

QSpinBox* AxesDialog::boxFrameWidth [protected]

QComboBox * AxesDialog::boxGridXAxis [protected]

QComboBox * AxesDialog::boxGridYAxis [protected]

QCheckBox* AxesDialog::boxMajorGrid [protected]

QSpinBox* AxesDialog::boxMajorTicksLength [protected]

QComboBox* AxesDialog::boxMajorTicksType [protected]

QSpinBox* AxesDialog::boxMajorValue [protected]

QCheckBox* AxesDialog::boxMinorGrid [protected]

QSpinBox * AxesDialog::boxMinorTicksLength [protected]

QComboBox * AxesDialog::boxMinorTicksType [protected]

QComboBox* AxesDialog::boxMinorValue [protected]

QSpinBox * AxesDialog::boxPrecision [protected]

QComboBox* AxesDialog::boxScaleType [protected]

QLabel * AxesDialog::boxScaleTypeLabel [protected]

QCheckBox* AxesDialog::boxShowAxis [protected]

QCheckBox * AxesDialog::boxShowFormula [protected]

QGroupBox* AxesDialog::boxShowLabels [protected]

QLineEdit* AxesDialog::boxStart [protected]

QLineEdit* AxesDialog::boxStep [protected]

QComboBox * AxesDialog::boxTableName [protected]

QTextEdit * AxesDialog::boxTitle [protected]

QComboBox* AxesDialog::boxTypeMajor [protected]

QComboBox* AxesDialog::boxTypeMinor [protected]

QComboBox* AxesDialog::boxUnit [protected]

QSpinBox* AxesDialog::boxWidthMajor [protected]

QSpinBox* AxesDialog::boxWidthMinor [protected]

QCheckBox* AxesDialog::boxXLine [protected]

QCheckBox* AxesDialog::boxYLine [protected]

QPushButton* AxesDialog::btnAxesFont [protected]

QCheckBox * AxesDialog::btnInvert [protected]

QCheckBox* AxesDialog::btnMajor [protected]

QCheckBox* AxesDialog::btnStep [protected]

QPushButton* AxesDialog::buttonApply [protected]

QPushButton* AxesDialog::buttonCancel [protected]

QPushButton* AxesDialog::buttonLabelFont [protected]

QPushButton* AxesDialog::buttonOk [protected]

Graph* AxesDialog::d_graph [protected]

TextFormatButtons* AxesDialog::formatButtons [protected]

QStringList AxesDialog::formatInfo [protected]

QWidget * AxesDialog::frame [protected]

QTabWidget* AxesDialog::generalDialog [protected]

GridOptions AxesDialog::grid [protected]

QWidget* AxesDialog::gridPage [protected]

QLabel* AxesDialog::label1 [protected]

QLabel * AxesDialog::label2 [protected]

QLabel * AxesDialog::label3 [protected]

QGroupBox* AxesDialog::labelBox [protected]

QLabel * AxesDialog::labelTable [protected]

QWidget* AxesDialog::lastPage [protected]

Last selected tab.

QList<int> AxesDialog::majTicks [protected]

QLabel * AxesDialog::minorBoxLabel [protected]

QList<int> AxesDialog::minTicks [protected]

bool AxesDialog::rightAxisOn [protected]

QWidget* AxesDialog::scalesPage [protected]

QStringList AxesDialog::tablesList [protected]

QStringList AxesDialog::tickLabelsOn [protected]

QStringList AxesDialog::titles [protected]

bool AxesDialog::topAxisOn [protected]

bool AxesDialog::xAxisOn [protected]

QFont AxesDialog::xBottomFont [protected]

int AxesDialog::xBottomLabelsRotation [protected]

QFont AxesDialog::xTopFont [protected]

int AxesDialog::xTopLabelsRotation [protected]

bool AxesDialog::yAxisOn [protected]

QFont AxesDialog::yLeftFont [protected]

QFont AxesDialog::yRightFont [protected]


The documentation for this class was generated from the following files:
Generated on Mon Oct 15 06:11:43 2007 for QtiPlot by  doxygen 1.5.3