50 #include "philipsStereoSettingsWidget.hh"
54 PhilipsStereoSettingsWidget::PhilipsStereoSettingsWidget(QWidget* _parent) : QWidget(_parent) {
57 connect(closeButton,SIGNAL(clicked()),
this,SLOT(closeWidget()));
59 connect(headerContentType,SIGNAL(currentIndexChanged (
int)),
this,SLOT(updateValues()));
60 connect(headerFactor,SIGNAL(valueChanged(
int)),
this,SLOT(updateValues()));
61 connect(headerOffsetCC,SIGNAL(valueChanged(
int)),
this,SLOT(updateValues()));
62 connect(headerSelect,SIGNAL(currentIndexChanged(
int)),
this,SLOT(updateValues()));
65 void PhilipsStereoSettingsWidget::closeWidget() {
70 void PhilipsStereoSettingsWidget::updateValues() {
73 factorCounter->setNum(headerFactor->value());
74 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...
void updateView()
One of the values changed!