Changeset View
Changeset View
Standalone View
Standalone View
plugins/paintops/libpaintop/sensors/kis_dynamic_sensor_time.cc
Context not available. | |||||
67 | connect(stc.checkBoxRepeat, SIGNAL(toggled(bool)), ss, SIGNAL(parametersChanged())); | 67 | connect(stc.checkBoxRepeat, SIGNAL(toggled(bool)), ss, SIGNAL(parametersChanged())); | ||
---|---|---|---|---|---|
68 | 68 | | |||
69 | stc.spinBoxDuration->setRange(0.02, 10.0, 2); | 69 | stc.spinBoxDuration->setRange(0.02, 10.0, 2); | ||
70 | stc.spinBoxDuration->setPrefix(i18n("Duration: ")); | ||||
70 | stc.spinBoxDuration->setSuffix(i18n(" s")); | 71 | stc.spinBoxDuration->setSuffix(i18n(" s")); | ||
71 | 72 | | |||
72 | stc.spinBoxDuration->setValue(m_length / 1000); | 73 | stc.spinBoxDuration->setValue(m_length / 1000); | ||
73 | connect(stc.spinBoxDuration, SIGNAL(valueChanged(qreal)), SLOT(setLength(qreal))); | 74 | connect(stc.spinBoxDuration, SIGNAL(valueChanged(qreal)), SLOT(setLength(qreal))); | ||
74 | connect(stc.spinBoxDuration, SIGNAL(valueChanged(qreal)), ss, SIGNAL(parametersChanged())); | 75 | connect(stc.spinBoxDuration, SIGNAL(valueChanged(qreal)), ss, SIGNAL(parametersChanged())); | ||
75 | 76 | | |||
76 | | ||||
77 | | ||||
78 | return wdg; | 77 | return wdg; | ||
79 | } | 78 | } | ||
80 | 79 | | |||
Context not available. |