1 #ifndef US_WIDGETS_DIALOG_H
3 #define US_WIDGETS_DIALOG_H
7 #include "qwt_counter.h"
9 #include "qwt_plot_grid.h"
10 #include "qwt_plot_picker.h"
11 #include "qwt_plot_curve.h"
42 QLabel* us_label (
const QString&,
int = 0,
int = QFont::Bold );
47 QLabel* us_textlabel (
const QString&,
int = -1,
int = QFont::Bold );
55 QLabel* us_banner (
const QString&,
int = 0,
int = QFont::Bold );
64 QPushButton* us_pushbutton(
const QString&,
bool =
true,
int = 0 );
71 QTextEdit* us_textedit (
void );
76 QLineEdit* us_lineedit (
const QString& = 0,
int = 0,
bool =
false );
80 void us_setReadOnly( QLineEdit*,
bool =
true );
84 void us_setReadOnly( QTextEdit*,
bool =
true );
88 QListWidget* us_listwidget (
int = 0 );
95 QGridLayout* us_checkbox (
const QString&, QCheckBox*&,
bool =
false );
103 QGridLayout* us_radiobutton(
const QString& text, QRadioButton*& rb,
104 bool state =
false );
111 QProgressBar* us_progressBar(
int,
int,
int = 0 );
114 QComboBox* us_comboBox(
void );
120 QLCDNumber* us_lcd(
int,
int = 0 );
127 QwtCounter* us_counter(
int,
double,
double,
double = 0.0 );
134 QwtPlot* us_plot(
const QString&,
const QString& = QString(),
135 const QString& = QString() );
140 QwtPlotGrid* us_grid( QwtPlot* );
145 QwtPlotCurve* us_curve( QwtPlot*,
const QString& );
150 QwtPlotPicker* us_picker( QwtPlot* );
155 QTabWidget* us_tabwidget(
int = 0,