mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
Убрал кнопки Справка из диалогов ГУИ
This commit is contained in:
@@ -18,21 +18,21 @@ void TraineesView::resizeEvent(QResizeEvent *event)
|
||||
treeWidget->setColumnWidth(ColumnsTreeTrainees::clmn_Class, 100);
|
||||
treeWidget->setColumnWidth(ColumnsTreeTrainees::clmn_Computer, 100);
|
||||
treeWidget->setColumnWidth(ColumnsTreeTrainees::clmn_IP_address, 130);
|
||||
treeWidget->setColumnWidth(ColumnsTreeTrainees::clmn_Archived, 80);
|
||||
treeWidget->setColumnWidth(ColumnsTreeTrainees::clmn_Logged, 100);
|
||||
treeWidget->setColumnWidth(ColumnsTreeTrainees::clmn_Archived, 100);
|
||||
treeWidget->setColumnWidth(ColumnsTreeTrainees::clmn_Logged, 120);
|
||||
|
||||
int widthTrainee;
|
||||
|
||||
if(typeView == TypeView::onlyView)
|
||||
{//onlyView
|
||||
widthTrainee = width - (230 + 10);
|
||||
widthTrainee = width - (270 + 10);
|
||||
}
|
||||
else
|
||||
{//control
|
||||
if(adminMode)
|
||||
widthTrainee = width - (760 + 10);
|
||||
widthTrainee = width - (800 + 10);
|
||||
else
|
||||
widthTrainee = width - (630 + 10);
|
||||
widthTrainee = width - (670 + 10);
|
||||
}
|
||||
if(widthTrainee < 250)
|
||||
widthTrainee = 250;
|
||||
|
||||
Reference in New Issue
Block a user