Correctly enables/disables axonometric tab when axonometric view added/removed.
This commit is contained in:
parent
fe5884aa85
commit
ad9c33b9d6
|
@ -447,6 +447,7 @@ TaskOrthoViews::TaskOrthoViews(QWidget *parent)
|
|||
inputs[2] = ui->y_2;
|
||||
inputs[3] = ui->spacing_h_3;
|
||||
inputs[4] = ui->spacing_v_4;
|
||||
ui->tabWidget->setTabEnabled(1,false);
|
||||
|
||||
for (int i=0; i < 5; i++)
|
||||
connect(inputs[i], SIGNAL(editingFinished()), this, SLOT(data_entered()));
|
||||
|
|
|
@ -501,7 +501,7 @@
|
|||
</widget>
|
||||
<widget class="QWidget" name="axoTab">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<attribute name="title">
|
||||
<string>Axonometric</string>
|
||||
|
@ -512,7 +512,7 @@
|
|||
<item row="0" column="1">
|
||||
<widget class="QComboBox" name="axoProj">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<item>
|
||||
<property name="text">
|
||||
|
@ -572,7 +572,7 @@
|
|||
<item row="1" column="1">
|
||||
<widget class="QComboBox" name="axoTop">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<item>
|
||||
<property name="text">
|
||||
|
@ -609,7 +609,7 @@
|
|||
<item row="2" column="1">
|
||||
<widget class="QComboBox" name="axoLeft">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<item>
|
||||
<property name="text">
|
||||
|
|
Loading…
Reference in New Issue
Block a user