{
ui->setupUi(this);
- /* HACK: Remove all default widgets from the stack */
- for (int i = 0; i < ui->qstw_effectSpecifics->count(); i++)
- ui->qstw_effectSpecifics->removeWidget(ui->qstw_effectSpecifics->widget(i));
-
m_constantEffSet = new ConstantEffectSettings();
m_periodicEffSet = new PeriodicEffectSettings();
ui->qstw_effectSpecifics->addWidget(m_constantEffSet);
</widget>
</item>
<item row="0" column="1">
- <widget class="QLineEdit" name="qle_direction"/>
+ <widget class="QLineEdit" name="qle_direction">
+ <property name="text">
+ <string>0</string>
+ </property>
+ <property name="alignment">
+ <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+ </property>
+ </widget>
</item>
</layout>
</item>
</widget>
</item>
<item row="0" column="1">
- <widget class="QLineEdit" name="qle_replayLength"/>
+ <widget class="QLineEdit" name="qle_replayLength">
+ <property name="text">
+ <string>0</string>
+ </property>
+ <property name="alignment">
+ <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+ </property>
+ </widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="ql_replayDelay">
</widget>
</item>
<item row="1" column="1">
- <widget class="QLineEdit" name="qle_replayDelay"/>
+ <widget class="QLineEdit" name="qle_replayDelay">
+ <property name="text">
+ <string>0</string>
+ </property>
+ <property name="alignment">
+ <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+ </property>
+ </widget>
</item>
</layout>
</item>
</layout>
</item>
<item>
- <widget class="QStackedWidget" name="qstw_effectSpecifics">
- <widget class="QWidget" name="page"/>
- <widget class="QWidget" name="page_2"/>
- </widget>
+ <widget class="QStackedWidget" name="qstw_effectSpecifics"/>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">