6 #include <QRadioButton> 7 #include <QDoubleSpinBox> 8 #include <QDialogButtonBox> 13 class SigGenDlg :
public QDialog
18 explicit SigGenDlg(
Generator *generator, QDialog *parent = 0);
20 bool output()
const {
return onButton->isChecked(); }
21 double MHz()
const {
return mhz->value(); }
22 double dBm()
const {
return dbm->value(); }
25 void switched(
bool flag);
29 QRadioButton *onButton;
32 QDialogButtonBox *buttonBox;
A class to control the Agilent signal generator.
Definition: agilent.h:18