UltraScan III
List of all members | Public Member Functions | Private Slots | Private Attributes
US_PlotAxisConfig Class Reference

A window to customize plot axes. More...

#include "us_plot.h"

Inheritance diagram for US_PlotAxisConfig:
Inheritance graph
[legend]
Collaboration diagram for US_PlotAxisConfig:
Collaboration graph
[legend]

Public Member Functions

 US_PlotAxisConfig (int axis, QwtPlot *, QWidget *=0, Qt::WindowFlags=0)
 Constructor. More...
 
- Public Member Functions inherited from US_WidgetsDialog
 US_WidgetsDialog (QWidget *, Qt::WindowFlags)
 
QLabel * us_label (const QString &, int=0, int=QFont::Bold)
 
QLabel * us_textlabel (const QString &, int=-1, int=QFont::Bold)
 
QLabel * us_banner (const QString &, int=0, int=QFont::Bold)
 
QPushButton * us_pushbutton (const QString &, bool=true, int=0)
 
QTextEdit * us_textedit (void)
 
QLineEdit * us_lineedit (const QString &=0, int=0, bool=false)
 
void us_setReadOnly (QLineEdit *, bool=true)
 
void us_setReadOnly (QTextEdit *, bool=true)
 
QListWidget * us_listwidget (int=0)
 
QGridLayout * us_checkbox (const QString &, QCheckBox *&, bool=false)
 
QGridLayout * us_radiobutton (const QString &text, QRadioButton *&rb, bool state=false)
 
QProgressBar * us_progressBar (int, int, int=0)
 
QComboBox * us_comboBox (void)
 
QLCDNumber * us_lcd (int, int=0)
 
QwtCounter * us_counter (int, double, double, double=0.0)
 
QwtPlot * us_plot (const QString &, const QString &=QString(), const QString &=QString())
 
QwtPlotGrid * us_grid (QwtPlot *)
 
QwtPlotCurve * us_curve (QwtPlot *, const QString &)
 
QwtPlotPicker * us_picker (QwtPlot *)
 
QTabWidget * us_tabwidget (int=0, int=QFont::Bold)
 

Private Slots

void selectTitleFont (void)
 
void selectAxisTitleColor (void)
 
void selectScaleFont (void)
 
void selectScaleColor (void)
 
void selectTickColor (void)
 
void apply (void)
 

Private Attributes

QwtPlot * plot
 A signal to ensure the parent knows the window is closed. More...
 
int axis
 
QLineEdit * le_titleText
 
QLineEdit * le_axisTitleFont
 
QLineEdit * le_axisScaleFont
 
QLineEdit * le_scaleFrom
 
QLineEdit * le_scaleTo
 
QLineEdit * le_scaleStep
 
QLineEdit * le_reference
 
QRadioButton * rb_linear
 
QRadioButton * rb_log
 
QLabel * lb_showAxisTitleColor
 
QLabel * lb_showScaleColor
 
QLabel * lb_showTickColor
 
QCheckBox * cb_present
 
QCheckBox * cb_refValue
 
QCheckBox * cb_symmetric
 
QCheckBox * cb_floating
 
QCheckBox * cb_inverted
 
QCheckBox * cb_autoscale
 
QFont axisTitleFont
 
QFont axisScaleFont
 

Additional Inherited Members

- Public Attributes inherited from US_WidgetsDialog
US_Global g
 Connect to global memory and make the values accessible. More...
 
QPalette vlgray
 Very light gray palette for read-only line edits. More...
 

Detailed Description

A window to customize plot axes.

Definition at line 231 of file us_plot.h.

Constructor & Destructor Documentation

US_PlotAxisConfig::US_PlotAxisConfig ( int  currentAxis,
QwtPlot *  currentPlot,
QWidget *  parent = 0,
Qt::WindowFlags  flags = 0 
)

Constructor.

Parameters
currentAxisAxis ot configure
currentPlotQwtPlot widget
parentParent widget
flagsFrame window flags

Definition at line 1299 of file us_plot.cpp.

Member Function Documentation

void US_PlotAxisConfig::apply ( void  )
privateslot

Definition at line 1606 of file us_plot.cpp.

void US_PlotAxisConfig::selectAxisTitleColor ( void  )
privateslot

Definition at line 1549 of file us_plot.cpp.

void US_PlotAxisConfig::selectScaleColor ( void  )
privateslot

Definition at line 1578 of file us_plot.cpp.

void US_PlotAxisConfig::selectScaleFont ( void  )
privateslot

Definition at line 1563 of file us_plot.cpp.

void US_PlotAxisConfig::selectTickColor ( void  )
privateslot

Definition at line 1592 of file us_plot.cpp.

void US_PlotAxisConfig::selectTitleFont ( void  )
privateslot

Definition at line 1534 of file us_plot.cpp.

Member Data Documentation

int US_PlotAxisConfig::axis
private

Definition at line 244 of file us_plot.h.

QFont US_PlotAxisConfig::axisScaleFont
private

Definition at line 269 of file us_plot.h.

QFont US_PlotAxisConfig::axisTitleFont
private

Definition at line 268 of file us_plot.h.

QCheckBox* US_PlotAxisConfig::cb_autoscale
private

Definition at line 266 of file us_plot.h.

QCheckBox* US_PlotAxisConfig::cb_floating
private

Definition at line 264 of file us_plot.h.

QCheckBox* US_PlotAxisConfig::cb_inverted
private

Definition at line 265 of file us_plot.h.

QCheckBox* US_PlotAxisConfig::cb_present
private

Definition at line 261 of file us_plot.h.

QCheckBox* US_PlotAxisConfig::cb_refValue
private

Definition at line 262 of file us_plot.h.

QCheckBox* US_PlotAxisConfig::cb_symmetric
private

Definition at line 263 of file us_plot.h.

QLabel* US_PlotAxisConfig::lb_showAxisTitleColor
private

Definition at line 257 of file us_plot.h.

QLabel* US_PlotAxisConfig::lb_showScaleColor
private

Definition at line 258 of file us_plot.h.

QLabel* US_PlotAxisConfig::lb_showTickColor
private

Definition at line 259 of file us_plot.h.

QLineEdit* US_PlotAxisConfig::le_axisScaleFont
private

Definition at line 248 of file us_plot.h.

QLineEdit* US_PlotAxisConfig::le_axisTitleFont
private

Definition at line 247 of file us_plot.h.

QLineEdit* US_PlotAxisConfig::le_reference
private

Definition at line 252 of file us_plot.h.

QLineEdit* US_PlotAxisConfig::le_scaleFrom
private

Definition at line 249 of file us_plot.h.

QLineEdit* US_PlotAxisConfig::le_scaleStep
private

Definition at line 251 of file us_plot.h.

QLineEdit* US_PlotAxisConfig::le_scaleTo
private

Definition at line 250 of file us_plot.h.

QLineEdit* US_PlotAxisConfig::le_titleText
private

Definition at line 246 of file us_plot.h.

QwtPlot* US_PlotAxisConfig::plot
private

A signal to ensure the parent knows the window is closed.

Definition at line 243 of file us_plot.h.

QRadioButton* US_PlotAxisConfig::rb_linear
private

Definition at line 254 of file us_plot.h.

QRadioButton* US_PlotAxisConfig::rb_log
private

Definition at line 255 of file us_plot.h.


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