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

A window to customize a plot's grid. More...

#include "us_plot.h"

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

Public Member Functions

 US_PlotGridConfig (QwtPlot *, QWidget *=0, Qt::WindowFlags=0)
 A window to configure the plot grid. More...
 
 ~US_PlotGridConfig ()
 
- 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 selectMajorColor (void)
 
void selectMinorColor (void)
 
void apply (void)
 

Private Attributes

QwtPlot * plot
 A signal to tell the parent that the window has been closed. More...
 
QwtPlotGrid * grid
 
QCheckBox * cb_enableX
 
QCheckBox * cb_enableY
 
QCheckBox * cb_enableXminor
 
QCheckBox * cb_enableYminor
 
QLabel * lb_showMajorColor
 
QLabel * lb_showMinorColor
 
QComboBox * cmbb_majorStyle
 
QComboBox * cmbb_minorStyle
 
QSpinBox * sb_majorWidth
 
QSpinBox * sb_minorWidth
 

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 a plot's grid.

Definition at line 282 of file us_plot.h.

Constructor & Destructor Documentation

US_PlotGridConfig::US_PlotGridConfig ( QwtPlot *  currentPlot,
QWidget *  parent = 0,
Qt::WindowFlags  flags = 0 
)

A window to configure the plot grid.

Parameters
currentPlotThe plot to configure
parentParent widget
flagsWindow flags

Definition at line 1683 of file us_plot.cpp.

US_PlotGridConfig::~US_PlotGridConfig ( )
inline

Definition at line 288 of file us_plot.h.

Member Function Documentation

void US_PlotGridConfig::apply ( void  )
privateslot

Definition at line 1916 of file us_plot.cpp.

void US_PlotGridConfig::selectMajorColor ( void  )
privateslot

Definition at line 1890 of file us_plot.cpp.

void US_PlotGridConfig::selectMinorColor ( void  )
privateslot

Definition at line 1903 of file us_plot.cpp.

Member Data Documentation

QCheckBox* US_PlotGridConfig::cb_enableX
private

Definition at line 298 of file us_plot.h.

QCheckBox* US_PlotGridConfig::cb_enableXminor
private

Definition at line 300 of file us_plot.h.

QCheckBox* US_PlotGridConfig::cb_enableY
private

Definition at line 299 of file us_plot.h.

QCheckBox* US_PlotGridConfig::cb_enableYminor
private

Definition at line 301 of file us_plot.h.

QComboBox* US_PlotGridConfig::cmbb_majorStyle
private

Definition at line 306 of file us_plot.h.

QComboBox* US_PlotGridConfig::cmbb_minorStyle
private

Definition at line 307 of file us_plot.h.

QwtPlotGrid* US_PlotGridConfig::grid
private

Definition at line 296 of file us_plot.h.

QLabel* US_PlotGridConfig::lb_showMajorColor
private

Definition at line 303 of file us_plot.h.

QLabel* US_PlotGridConfig::lb_showMinorColor
private

Definition at line 304 of file us_plot.h.

QwtPlot* US_PlotGridConfig::plot
private

A signal to tell the parent that the window has been closed.

Definition at line 288 of file us_plot.h.

QSpinBox* US_PlotGridConfig::sb_majorWidth
private

Definition at line 309 of file us_plot.h.

QSpinBox* US_PlotGridConfig::sb_minorWidth
private

Definition at line 310 of file us_plot.h.


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