11 #include <QTextStream>
12 #include <QSharedPointer>
29 QSlider * levelslider)
37 connect(onbutton, SIGNAL(clicked()),
this, SLOT(
TurnOn()));
38 connect(offbutton, SIGNAL(clicked()),
this, SLOT(
TurnOff()));
39 connect(levelslider, SIGNAL(valueChanged(
int)),
this, SLOT(
LevelSliderChange(
int)));
93 label.append(QString(
" (%1%)").arg(
GetLevel()));
123 QTextStream err(&errstr);
124 err << e.what() <<
"\n";
130 QMessageBox::information(
_parent,
"PUInterface Error", errstr);