mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-27 19:45:43 +03:00
bugFixing 1
This commit is contained in:
@@ -19,10 +19,6 @@
|
||||
<property name="windowTitle">
|
||||
<string>Group</string>
|
||||
</property>
|
||||
<property name="windowIcon">
|
||||
<iconset>
|
||||
<normaloff>:/icons/group.png</normaloff>:/icons/group.png</iconset>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||
<item>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
|
||||
@@ -19,10 +19,6 @@
|
||||
<property name="windowTitle">
|
||||
<string>Trainee</string>
|
||||
</property>
|
||||
<property name="windowIcon">
|
||||
<iconset>
|
||||
<normaloff>:/icons/trainee.png</normaloff>:/icons/trainee.png</iconset>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<item row="0" column="0">
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
|
||||
@@ -30,9 +30,9 @@ void TraineesView::resizeEvent(QResizeEvent *event)
|
||||
else
|
||||
{//control
|
||||
if(adminMode)
|
||||
widthTrainee = width - (800 + 10);
|
||||
widthTrainee = width - (450 + 10);
|
||||
else
|
||||
widthTrainee = width - (670 + 10);
|
||||
widthTrainee = width - (320 + 10);
|
||||
}
|
||||
if(widthTrainee < 250)
|
||||
widthTrainee = 250;
|
||||
@@ -88,6 +88,10 @@ void TraineesView::preparationTreeWidget()
|
||||
treeWidget->setColumnHidden(ColumnsTreeTrainees::clmn_ID, true);
|
||||
treeWidget->setColumnHidden(ColumnsTreeTrainees::clmn_Archived, true);
|
||||
}
|
||||
|
||||
treeWidget->setColumnHidden(ColumnsTreeTrainees::clmn_Class, true);
|
||||
treeWidget->setColumnHidden(ColumnsTreeTrainees::clmn_Computer, true);
|
||||
treeWidget->setColumnHidden(ColumnsTreeTrainees::clmn_IP_address, true);
|
||||
}
|
||||
|
||||
treeWidget->setSortingEnabled(true);
|
||||
|
||||
Reference in New Issue
Block a user