Changeset View
Changeset View
Standalone View
Standalone View
libs/ui/widgets/kis_multi_double_filter_widget.cc
Show All 22 Lines | |||||
23 | #include <QGridLayout> | 23 | #include <QGridLayout> | ||
24 | #include <QSpinBox> | 24 | #include <QSpinBox> | ||
25 | 25 | | |||
26 | #include <kis_config_widget.h> | 26 | #include <kis_config_widget.h> | ||
27 | #include <filter/kis_filter_configuration.h> | 27 | #include <filter/kis_filter_configuration.h> | ||
28 | #include <klocalizedstring.h> | 28 | #include <klocalizedstring.h> | ||
29 | 29 | | |||
30 | KisDelayedActionDoubleInput::KisDelayedActionDoubleInput(QWidget * parent, const QString & name) | 30 | KisDelayedActionDoubleInput::KisDelayedActionDoubleInput(QWidget * parent, const QString & name) | ||
31 | : QDoubleSpinBox(parent) | 31 | : KisDoubleParseSpinBox(parent) | ||
32 | { | 32 | { | ||
33 | setObjectName(name); | 33 | setObjectName(name); | ||
34 | m_timer = new QTimer(this); | 34 | m_timer = new QTimer(this); | ||
35 | m_timer->setObjectName(name); | 35 | m_timer->setObjectName(name); | ||
36 | m_timer->setSingleShot(true); | 36 | m_timer->setSingleShot(true); | ||
37 | connect(m_timer, SIGNAL(timeout()), SLOT(slotValueChanged())); | 37 | connect(m_timer, SIGNAL(timeout()), SLOT(slotValueChanged())); | ||
38 | connect(this, SIGNAL(valueChanged(double)), SLOT(slotTimeToUpdate())); | 38 | connect(this, SIGNAL(valueChanged(double)), SLOT(slotTimeToUpdate())); | ||
39 | } | 39 | } | ||
▲ Show 20 Lines • Show All 83 Lines • Show Last 20 Lines |