43 #include "philipsStereoSettingsWidget.hh" 47 PhilipsStereoSettingsWidget::PhilipsStereoSettingsWidget(QWidget* _parent) : QWidget(_parent) {
50 connect(closeButton,SIGNAL(clicked()),
this,SLOT(closeWidget()));
52 connect(headerContentType,SIGNAL(currentIndexChanged (
int)),
this,SLOT(updateValues()));
53 connect(headerFactor,SIGNAL(valueChanged(
int)),
this,SLOT(updateValues()));
54 connect(headerOffsetCC,SIGNAL(valueChanged(
int)),
this,SLOT(updateValues()));
55 connect(headerSelect,SIGNAL(currentIndexChanged(
int)),
this,SLOT(updateValues()));
58 void PhilipsStereoSettingsWidget::closeWidget() {
63 void PhilipsStereoSettingsWidget::updateValues() {
66 factorCounter->setNum(headerFactor->value());
67 offsetCounter->setNum(headerOffsetCC->value());
DLLEXPORT OpenFlipperQSettings & OpenFlipperSettings()
QSettings object containing all program settings of OpenFlipper.
void setValue(const QString &key, const QVariant &value)
Wrapper function which makes it possible to enable Debugging output with -DOPENFLIPPER_SETTINGS_DEBUG...