状态修改

This commit is contained in:
hm
2020-10-08 19:03:18 +08:00
parent 73ac013b67
commit 8d58cc6307
2 changed files with 69 additions and 2 deletions
+66 -1
View File
@@ -7,12 +7,77 @@
<x>0</x>
<y>0</y>
<width>426</width>
<height>380</height>
<height>100</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="1" column="2">
<widget class="QCheckBox" name="checkBox_5">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QCheckBox" name="checkBox_2">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QCheckBox" name="checkBox_6">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QCheckBox" name="checkBox_9">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="1" column="3">
<widget class="QCheckBox" name="checkBox_7">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="0" column="3">
<widget class="QCheckBox" name="checkBox_8">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QCheckBox" name="checkBox_4">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QCheckBox" name="checkBox">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QCheckBox" name="checkBox_3">
<property name="text">
<string/>
</property>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections/>
+3 -1
View File
@@ -332,7 +332,7 @@ void MainWindow::resizeEvent(QResizeEvent *event)
copk->width(),this->height() - menuBarUI->height());
statusui->setGeometry(this->width() - copk->width(),menuBarUI->height() + copk->height(),
copk->width(),copk->height());
copk->width(),100);
commandUI->setGeometry(this->width() - copk->width(),menuBarUI->height() + copk->height() + statusui->height(),
@@ -537,11 +537,13 @@ void MainWindow::onTabIndexChanged(const int &index)//界面选择管理
{
copk->show();
commandUI->show();
statusui->show();
}
else
{
copk->hide();
commandUI->hide();
statusui->hide();
}