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

#include "us_2dplot.h"

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

Public Member Functions

 US_2dPlot ()
 
- Public Member Functions inherited from US_Widgets
 US_Widgets (bool=true, QWidget *p=0, Qt::WindowFlags f=0)
 
 ~US_Widgets (void)
 
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=-1, 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)
 
void write_plot (const QString &, const QwtPlot *)
 Write a plot file (PNG or SVG+PNG) from a plot. More...
 
int clean_etc_dir (bool=false)
 Clean install and work ./etc directories. More...
 

Private Slots

void calculate (void)
 
void update_par1 (double)
 
void update_par2 (double)
 
void update_par3 (double)
 
void update_par4 (double)
 
void update_resolution (double)
 
void update_model (double)
 

Private Attributes

QVector< double > x
 
QVector< double > y
 
double resolution
 
double s_min
 
double s_max
 
double f_min
 
double f_max
 
double par1
 
double par2
 
double par3
 
double par4
 
int model
 
QPushButton * pb_calculate
 
QPushButton * pb_close
 
QLabel * lbl_par1
 
QLabel * lbl_par2
 
QLabel * lbl_par3
 
QLabel * lbl_par4
 
QLabel * lbl_resolution
 
QLabel * lbl_model
 
QwtPlot * data_plot
 
QwtPlotCurve * f_curve
 
QwtCounter * ct_par1
 
QwtCounter * ct_par2
 
QwtCounter * ct_par3
 
QwtCounter * ct_par4
 
QwtCounter * ct_resolution
 
QwtCounter * ct_model
 
US_Plotplot
 

Additional Inherited Members

- Static Public Member Functions inherited from US_Widgets
static QFont fixedFont (void)
 
- Public Attributes inherited from US_Widgets
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

Definition at line 11 of file us_2dplot.h.

Constructor & Destructor Documentation

US_2dPlot::US_2dPlot ( )

Definition at line 28 of file us_2dplot.cpp.

Member Function Documentation

void US_2dPlot::calculate ( void  )
privateslot

Definition at line 137 of file us_2dplot.cpp.

void US_2dPlot::update_model ( double  val)
privateslot

Definition at line 214 of file us_2dplot.cpp.

void US_2dPlot::update_par1 ( double  val)
privateslot

Definition at line 190 of file us_2dplot.cpp.

void US_2dPlot::update_par2 ( double  val)
privateslot

Definition at line 196 of file us_2dplot.cpp.

void US_2dPlot::update_par3 ( double  val)
privateslot

Definition at line 202 of file us_2dplot.cpp.

void US_2dPlot::update_par4 ( double  val)
privateslot

Definition at line 208 of file us_2dplot.cpp.

void US_2dPlot::update_resolution ( double  val)
privateslot

Definition at line 253 of file us_2dplot.cpp.

Member Data Documentation

QwtCounter* US_2dPlot::ct_model
private

Definition at line 50 of file us_2dplot.h.

QwtCounter* US_2dPlot::ct_par1
private

Definition at line 45 of file us_2dplot.h.

QwtCounter* US_2dPlot::ct_par2
private

Definition at line 46 of file us_2dplot.h.

QwtCounter* US_2dPlot::ct_par3
private

Definition at line 47 of file us_2dplot.h.

QwtCounter* US_2dPlot::ct_par4
private

Definition at line 48 of file us_2dplot.h.

QwtCounter* US_2dPlot::ct_resolution
private

Definition at line 49 of file us_2dplot.h.

QwtPlot* US_2dPlot::data_plot
private

Definition at line 43 of file us_2dplot.h.

QwtPlotCurve* US_2dPlot::f_curve
private

Definition at line 44 of file us_2dplot.h.

double US_2dPlot::f_max
private

Definition at line 26 of file us_2dplot.h.

double US_2dPlot::f_min
private

Definition at line 25 of file us_2dplot.h.

QLabel* US_2dPlot::lbl_model
private

Definition at line 41 of file us_2dplot.h.

QLabel* US_2dPlot::lbl_par1
private

Definition at line 36 of file us_2dplot.h.

QLabel* US_2dPlot::lbl_par2
private

Definition at line 37 of file us_2dplot.h.

QLabel* US_2dPlot::lbl_par3
private

Definition at line 38 of file us_2dplot.h.

QLabel* US_2dPlot::lbl_par4
private

Definition at line 39 of file us_2dplot.h.

QLabel* US_2dPlot::lbl_resolution
private

Definition at line 40 of file us_2dplot.h.

int US_2dPlot::model
private

Definition at line 31 of file us_2dplot.h.

double US_2dPlot::par1
private

Definition at line 27 of file us_2dplot.h.

double US_2dPlot::par2
private

Definition at line 28 of file us_2dplot.h.

double US_2dPlot::par3
private

Definition at line 29 of file us_2dplot.h.

double US_2dPlot::par4
private

Definition at line 30 of file us_2dplot.h.

QPushButton* US_2dPlot::pb_calculate
private

Definition at line 33 of file us_2dplot.h.

QPushButton* US_2dPlot::pb_close
private

Definition at line 34 of file us_2dplot.h.

US_Plot* US_2dPlot::plot
private

Definition at line 53 of file us_2dplot.h.

double US_2dPlot::resolution
private

Definition at line 22 of file us_2dplot.h.

double US_2dPlot::s_max
private

Definition at line 24 of file us_2dplot.h.

double US_2dPlot::s_min
private

Definition at line 23 of file us_2dplot.h.

QVector<double> US_2dPlot::x
private

Definition at line 20 of file us_2dplot.h.

QVector<double> US_2dPlot::y
private

Definition at line 20 of file us_2dplot.h.


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