Коррекция pushButton

This commit is contained in:
2025-09-15 13:31:49 +03:00
parent 8c3e636d27
commit bffbd0fe81
14 changed files with 245 additions and 258 deletions

View File

@@ -73,7 +73,12 @@ void DialogEditInstructor::verify()
if(ui->editName->text().trimmed() == QStringLiteral("") || if(ui->editName->text().trimmed() == QStringLiteral("") ||
ui->editLogin->text().trimmed() == QStringLiteral("") || ui->editLogin->text().trimmed() == QStringLiteral("") ||
ui->editPassword->text().trimmed() == QStringLiteral("")) ui->editPassword->text().trimmed() == QStringLiteral(""))
ui->buttonBox->button(QDialogButtonBox::Ok)->setEnabled(false); ui->btnOK->setEnabled(false);
else else
ui->buttonBox->button(QDialogButtonBox::Ok)->setEnabled(true); ui->btnOK->setEnabled(true);
}
void DialogEditInstructor::on_btnOK_clicked()
{
this->accept();
} }

View File

@@ -27,6 +27,8 @@ private slots:
void on_editPassword_textChanged(const QString &arg1); void on_editPassword_textChanged(const QString &arg1);
void on_btnOK_clicked();
private: private:
void verify(); void verify();

View File

@@ -174,63 +174,42 @@
</item> </item>
</layout> </layout>
</item> </item>
</layout> <item>
</item> <spacer name="verticalSpacer">
<item row="1" column="0">
<widget class="QDialogButtonBox" name="buttonBox">
<property name="font">
<font>
<pointsize>10</pointsize>
</font>
</property>
<property name="locale">
<locale language="English" country="UnitedStates"/>
</property>
<property name="orientation"> <property name="orientation">
<enum>Qt::Horizontal</enum> <enum>Qt::Vertical</enum>
</property> </property>
<property name="standardButtons"> <property name="sizeHint" stdset="0">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> <size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QPushButton" name="btnOK">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Save</string>
</property> </property>
</widget> </widget>
</item> </item>
</layout> </layout>
</item>
</layout>
</item>
</layout>
</widget> </widget>
<resources> <resources>
<include location="../resources.qrc"/> <include location="../resources.qrc"/>
</resources> </resources>
<connections> <connections/>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>DialogEditInstructor</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>248</x>
<y>254</y>
</hint>
<hint type="destinationlabel">
<x>157</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>DialogEditInstructor</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>316</x>
<y>260</y>
</hint>
<hint type="destinationlabel">
<x>286</x>
<y>274</y>
</hint>
</hints>
</connection>
</connections>
</ui> </ui>

View File

@@ -73,6 +73,7 @@ QPushButton, QToolButton {
} }
QPushButton { QPushButton {
height: 25px; height: 25px;
width: 75px;
} }
QToolButton { QToolButton {
width: 180px; width: 180px;
@@ -89,7 +90,7 @@ QPushButton:flat, QToolButton:flat {
border: none; /* no border for a flat push button */ border: none; /* no border for a flat push button */
} }
QPushButton:default, QToolButton:default { QPushButton:default, QToolButton:default {
border-color: navy; /* make the default button prominent */ border-color: darkblue; /*make the default button prominent */
} }
QPushButton:hover , QToolButton:hover { QPushButton:hover , QToolButton:hover {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
@@ -106,6 +107,15 @@ QPushButton:checked, QToolButton:checked {
stop: 0 #dadbde, stop: 1 #f6f7fa); stop: 0 #dadbde, stop: 1 #f6f7fa);
border-style: inset; border-style: inset;
} }
/*
QDialogButtonBox {
border: 2px solid #8f8f91;
border-style: outset;
border-radius: 5px;
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #f6f7fa, stop: 1 #dadbde);
}
*/
QCheckBox { QCheckBox {

View File

@@ -117,13 +117,13 @@ void AMMtasksWidget::resizeEvent(QResizeEvent *event)
treeWidget->setColumnWidth(ColumnsTreeAMM::clmnAMM_ID, 50); treeWidget->setColumnWidth(ColumnsTreeAMM::clmnAMM_ID, 50);
treeWidget->setColumnWidth(ColumnsTreeAMM::clmnAMM_code, 250); treeWidget->setColumnWidth(ColumnsTreeAMM::clmnAMM_code, 250);
treeWidget->setColumnWidth(ColumnsTreeAMM::clmnAMM_status, 110); treeWidget->setColumnWidth(ColumnsTreeAMM::clmnAMM_status, 130);
int widthPMorDM; int widthPMorDM;
if(type == TypeListTreeAMMFIM::listCommon) if(type == TypeListTreeAMMFIM::listCommon)
widthPMorDM = width - (250 + 10); widthPMorDM = width - (270 + 10);
else else
widthPMorDM = width - (410 + 10); widthPMorDM = width - (430 + 10);
treeWidget->setColumnWidth(ColumnsTreeAMM::clmnAMM_PMorDM, widthPMorDM); treeWidget->setColumnWidth(ColumnsTreeAMM::clmnAMM_PMorDM, widthPMorDM);
} }

View File

@@ -120,13 +120,13 @@ void FIMtasksWidget::resizeEvent(QResizeEvent *event)
int width = treeWidget->width(); int width = treeWidget->width();
treeWidget->setColumnWidth(ColumnsTreeFIM::clmnFIM_ID, 50); treeWidget->setColumnWidth(ColumnsTreeFIM::clmnFIM_ID, 50);
treeWidget->setColumnWidth(ColumnsTreeFIM::clmnFIM_status, 110); treeWidget->setColumnWidth(ColumnsTreeFIM::clmnFIM_status, 130);
int widthTitle; int widthTitle;
if(type == TypeListTreeAMMFIM::listCommon) if(type == TypeListTreeAMMFIM::listCommon)
widthTitle = width - (0 + 10); widthTitle = width - (20 + 10);
else else
widthTitle = width - (160 + 10); widthTitle = width - (180 + 10);
treeWidget->setColumnWidth(ColumnsTreeFIM::clmnFIM_Title, widthTitle); treeWidget->setColumnWidth(ColumnsTreeFIM::clmnFIM_Title, widthTitle);
} }

View File

@@ -42,7 +42,12 @@ void DialogEditGroup::on_editName_textChanged(const QString &arg1)
void DialogEditGroup::verify() void DialogEditGroup::verify()
{ {
if(ui->editName->text().trimmed() == QStringLiteral("")) if(ui->editName->text().trimmed() == QStringLiteral(""))
ui->buttonBox->button(QDialogButtonBox::Ok)->setEnabled(false); ui->btnOK->setEnabled(false);
else else
ui->buttonBox->button(QDialogButtonBox::Ok)->setEnabled(true); ui->btnOK->setEnabled(true);
}
void DialogEditGroup::on_btnOK_clicked()
{
this->accept();
} }

View File

@@ -24,6 +24,8 @@ public:
private slots: private slots:
void on_editName_textChanged(const QString &arg1); void on_editName_textChanged(const QString &arg1);
void on_btnOK_clicked();
private: private:
void verify(); void verify();

View File

@@ -20,7 +20,7 @@
<string>Group</string> <string>Group</string>
</property> </property>
<property name="windowIcon"> <property name="windowIcon">
<iconset resource="../resources.qrc"> <iconset>
<normaloff>:/icons/group.png</normaloff>:/icons/group.png</iconset> <normaloff>:/icons/group.png</normaloff>:/icons/group.png</iconset>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_2"> <layout class="QVBoxLayout" name="verticalLayout_2">
@@ -51,63 +51,40 @@
</item> </item>
</layout> </layout>
</item> </item>
</layout> <item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item> </item>
<item> <item>
<widget class="QDialogButtonBox" name="buttonBox"> <layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="font"> <item>
<font> <widget class="QPushButton" name="btnOK">
<pointsize>10</pointsize> <property name="sizePolicy">
</font> <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property> </property>
<property name="locale"> <property name="text">
<locale language="English" country="UnitedStates"/> <string>Save</string>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property> </property>
</widget> </widget>
</item> </item>
</layout> </layout>
</item>
</layout>
</item>
</layout>
</widget> </widget>
<resources> <resources/>
<include location="../resources.qrc"/> <connections/>
</resources>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>DialogEditGroup</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>248</x>
<y>254</y>
</hint>
<hint type="destinationlabel">
<x>157</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>DialogEditGroup</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>316</x>
<y>260</y>
</hint>
<hint type="destinationlabel">
<x>286</x>
<y>274</y>
</hint>
</hints>
</connection>
</connections>
</ui> </ui>

View File

@@ -66,7 +66,12 @@ void DialogEditTrainee::verify()
if(ui->editName->text().trimmed() == QStringLiteral("") || if(ui->editName->text().trimmed() == QStringLiteral("") ||
ui->editLogin->text().trimmed() == QStringLiteral("") || ui->editLogin->text().trimmed() == QStringLiteral("") ||
ui->editPassword->text().trimmed() == QStringLiteral("")) ui->editPassword->text().trimmed() == QStringLiteral(""))
ui->buttonBox->button(QDialogButtonBox::Ok)->setEnabled(false); ui->btnOK->setEnabled(false);
else else
ui->buttonBox->button(QDialogButtonBox::Ok)->setEnabled(true); ui->btnOK->setEnabled(true);
}
void DialogEditTrainee::on_btnOK_clicked()
{
this->accept();
} }

View File

@@ -26,6 +26,8 @@ private slots:
void on_editPassword_textChanged(const QString &arg1); void on_editPassword_textChanged(const QString &arg1);
void on_btnOK_clicked();
private: private:
void verify(); void verify();

View File

@@ -24,24 +24,6 @@
<normaloff>:/icons/trainee.png</normaloff>:/icons/trainee.png</iconset> <normaloff>:/icons/trainee.png</normaloff>:/icons/trainee.png</iconset>
</property> </property>
<layout class="QGridLayout" name="gridLayout"> <layout class="QGridLayout" name="gridLayout">
<item row="1" column="0">
<widget class="QDialogButtonBox" name="buttonBox">
<property name="font">
<font>
<pointsize>10</pointsize>
</font>
</property>
<property name="locale">
<locale language="English" country="UnitedStates"/>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
<item row="0" column="0"> <item row="0" column="0">
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<item> <item>
@@ -183,6 +165,36 @@
</item> </item>
</layout> </layout>
</item> </item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QPushButton" name="btnOK">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Save</string>
</property>
</widget>
</item>
</layout>
</item>
</layout> </layout>
</item> </item>
</layout> </layout>
@@ -190,38 +202,5 @@
<resources> <resources>
<include location="../resources.qrc"/> <include location="../resources.qrc"/>
</resources> </resources>
<connections> <connections/>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>DialogEditTrainee</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>248</x>
<y>254</y>
</hint>
<hint type="destinationlabel">
<x>157</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>DialogEditTrainee</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>316</x>
<y>260</y>
</hint>
<hint type="destinationlabel">
<x>286</x>
<y>274</y>
</hint>
</hints>
</connection>
</connections>
</ui> </ui>

View File

@@ -66,12 +66,12 @@ Delete it anyway?</source>
<translation>Статус задачи</translation> <translation>Статус задачи</translation>
</message> </message>
<message> <message>
<location filename="../tasks/ammtaskswidget.cpp" line="336"/> <location filename="../tasks/ammtaskswidget.cpp" line="337"/>
<source>New task</source> <source>New task</source>
<translation>Новая задача</translation> <translation>Новая задача</translation>
</message> </message>
<message> <message>
<location filename="../tasks/ammtaskswidget.cpp" line="336"/> <location filename="../tasks/ammtaskswidget.cpp" line="337"/>
<source>Assign this task?</source> <source>Assign this task?</source>
<translation>Назначить эту задачу?</translation> <translation>Назначить эту задачу?</translation>
</message> </message>
@@ -94,6 +94,11 @@ Delete it anyway?</source>
<source>admin</source> <source>admin</source>
<translation></translation> <translation></translation>
</message> </message>
<message>
<location filename="../instructors/dialogauthorizationinstructor.ui" line="113"/>
<source>Login in</source>
<translation>Войти</translation>
</message>
<message> <message>
<location filename="../instructors/dialogauthorizationinstructor.ui" line="53"/> <location filename="../instructors/dialogauthorizationinstructor.ui" line="53"/>
<source>Password</source> <source>Password</source>
@@ -194,6 +199,11 @@ The status will be set:
<source>Name</source> <source>Name</source>
<translation>Имя</translation> <translation>Имя</translation>
</message> </message>
<message>
<location filename="../trainees/dialogeditgroup.ui" line="78"/>
<source>Save</source>
<translation>Сохранить</translation>
</message>
</context> </context>
<context> <context>
<name>DialogEditInstructor</name> <name>DialogEditInstructor</name>
@@ -232,6 +242,11 @@ The status will be set:
<source>Logged</source> <source>Logged</source>
<translation>Залогирован</translation> <translation>Залогирован</translation>
</message> </message>
<message>
<location filename="../instructors/dialogeditinstructor.ui" line="201"/>
<source>Save</source>
<translation>Сохранить</translation>
</message>
</context> </context>
<context> <context>
<name>DialogEditTrainee</name> <name>DialogEditTrainee</name>
@@ -241,30 +256,35 @@ The status will be set:
<translation>Обучаемый</translation> <translation>Обучаемый</translation>
</message> </message>
<message> <message>
<location filename="../trainees/dialogedittrainee.ui" line="59"/> <location filename="../trainees/dialogedittrainee.ui" line="41"/>
<source>Name</source> <source>Name</source>
<translation>Имя</translation> <translation>Имя</translation>
</message> </message>
<message> <message>
<location filename="../trainees/dialogedittrainee.ui" line="71"/> <location filename="../trainees/dialogedittrainee.ui" line="53"/>
<source>Login</source> <source>Login</source>
<translation>Логин</translation> <translation>Логин</translation>
</message> </message>
<message> <message>
<location filename="../trainees/dialogedittrainee.ui" line="83"/> <location filename="../trainees/dialogedittrainee.ui" line="65"/>
<source>Password</source> <source>Password</source>
<translation>Пароль</translation> <translation>Пароль</translation>
</message> </message>
<message> <message>
<location filename="../trainees/dialogedittrainee.ui" line="145"/> <location filename="../trainees/dialogedittrainee.ui" line="127"/>
<source>Archived</source> <source>Archived</source>
<translation>Архивный</translation> <translation>Архивный</translation>
</message> </message>
<message> <message>
<location filename="../trainees/dialogedittrainee.ui" line="172"/> <location filename="../trainees/dialogedittrainee.ui" line="154"/>
<source>Logged</source> <source>Logged</source>
<translation>Залогирован</translation> <translation>Залогирован</translation>
</message> </message>
<message>
<location filename="../trainees/dialogedittrainee.ui" line="192"/>
<source>Save</source>
<translation>Сохранить</translation>
</message>
</context> </context>
<context> <context>
<name>DialogSettings</name> <name>DialogSettings</name>
@@ -274,52 +294,52 @@ The status will be set:
<translation>Настройки</translation> <translation>Настройки</translation>
</message> </message>
<message> <message>
<location filename="../dialogsettings.ui" line="41"/> <location filename="../dialogsettings.ui" line="47"/>
<source>Main</source> <source>Main</source>
<translation>Основные</translation> <translation>Основные</translation>
</message> </message>
<message> <message>
<location filename="../dialogsettings.ui" line="51"/> <location filename="../dialogsettings.ui" line="57"/>
<source>Language</source> <source>Language</source>
<translation>Язык</translation> <translation>Язык</translation>
</message> </message>
<message> <message>
<location filename="../dialogsettings.ui" line="76"/> <location filename="../dialogsettings.ui" line="88"/>
<source>Server</source> <source>Server</source>
<translation>Сервер</translation> <translation>Сервер</translation>
</message> </message>
<message> <message>
<location filename="../dialogsettings.ui" line="86"/> <location filename="../dialogsettings.ui" line="98"/>
<source>Address</source> <source>Address</source>
<translation>Адрес</translation> <translation>Адрес</translation>
</message> </message>
<message> <message>
<location filename="../dialogsettings.ui" line="123"/> <location filename="../dialogsettings.ui" line="135"/>
<source>Port</source> <source>Port</source>
<translation>Порт</translation> <translation>Порт</translation>
</message> </message>
<message> <message>
<location filename="../dialogsettings.ui" line="169"/> <location filename="../dialogsettings.ui" line="181"/>
<source>Auto start</source> <source>Auto start</source>
<translation>Авто старт</translation> <translation>Авто старт</translation>
</message> </message>
<message> <message>
<location filename="../dialogsettings.ui" line="214"/> <location filename="../dialogsettings.ui" line="232"/>
<source>Save</source> <source>Save</source>
<translation>Сохранить</translation> <translation>Сохранить</translation>
</message> </message>
<message> <message>
<location filename="../dialogsettings.ui" line="247"/> <location filename="../dialogsettings.ui" line="271"/>
<source>Additional</source> <source>Additional</source>
<translation>Расширенные</translation> <translation>Расширенные</translation>
</message> </message>
<message> <message>
<location filename="../dialogsettings.ui" line="261"/> <location filename="../dialogsettings.ui" line="291"/>
<source>Version</source> <source>Version</source>
<translation>Версия</translation> <translation>Версия</translation>
</message> </message>
<message> <message>
<location filename="../dialogsettings.ui" line="287"/> <location filename="../dialogsettings.ui" line="323"/>
<source>Style</source> <source>Style</source>
<translation>Стиль</translation> <translation>Стиль</translation>
</message> </message>
@@ -343,7 +363,7 @@ The status will be set:
</message> </message>
<message> <message>
<location filename="../instructors/editorinstructors.ui" line="121"/> <location filename="../instructors/editorinstructors.ui" line="121"/>
<location filename="../instructors/editorinstructors.cpp" line="240"/> <location filename="../instructors/editorinstructors.cpp" line="244"/>
<source>To archive</source> <source>To archive</source>
<translation>Архивировать</translation> <translation>Архивировать</translation>
</message> </message>
@@ -358,81 +378,81 @@ The status will be set:
<translation>Показать архив</translation> <translation>Показать архив</translation>
</message> </message>
<message> <message>
<location filename="../instructors/editorinstructors.cpp" line="107"/> <location filename="../instructors/editorinstructors.cpp" line="111"/>
<location filename="../instructors/editorinstructors.cpp" line="113"/> <location filename="../instructors/editorinstructors.cpp" line="117"/>
<location filename="../instructors/editorinstructors.cpp" line="152"/> <location filename="../instructors/editorinstructors.cpp" line="156"/>
<location filename="../instructors/editorinstructors.cpp" line="189"/> <location filename="../instructors/editorinstructors.cpp" line="193"/>
<source>Error!</source> <source>Error!</source>
<translation>Ошибка!</translation> <translation>Ошибка!</translation>
</message> </message>
<message> <message>
<location filename="../instructors/editorinstructors.cpp" line="107"/> <location filename="../instructors/editorinstructors.cpp" line="111"/>
<source>You cannot delete the Administrator.</source> <source>You cannot delete the Administrator.</source>
<translation>Нельзя удалить администратора.</translation> <translation>Нельзя удалить администратора.</translation>
</message> </message>
<message> <message>
<location filename="../instructors/editorinstructors.cpp" line="113"/> <location filename="../instructors/editorinstructors.cpp" line="117"/>
<source>You cannot delete a logged-in instructor.</source> <source>You cannot delete a logged-in instructor.</source>
<translation>Вы не можете удалить инструктора, вошедшего в систему.</translation> <translation>Вы не можете удалить инструктора, вошедшего в систему.</translation>
</message> </message>
<message> <message>
<location filename="../instructors/editorinstructors.cpp" line="117"/> <location filename="../instructors/editorinstructors.cpp" line="121"/>
<source>Attention!</source> <source>Attention!</source>
<translation>Внимание!</translation> <translation>Внимание!</translation>
</message> </message>
<message> <message>
<location filename="../instructors/editorinstructors.cpp" line="117"/> <location filename="../instructors/editorinstructors.cpp" line="121"/>
<source>The deletion will be irrevocable. <source>The deletion will be irrevocable.
Delete it anyway?</source> Delete it anyway?</source>
<translation>Удаление будет безвозвратным. <translation>Удаление будет безвозвратным.
Всё равно удалить?</translation> Всё равно удалить?</translation>
</message> </message>
<message> <message>
<location filename="../instructors/editorinstructors.cpp" line="152"/> <location filename="../instructors/editorinstructors.cpp" line="156"/>
<source>You cannot archive a logged-in instructor.</source> <source>You cannot archive a logged-in instructor.</source>
<translation>Вы не можете заархивировать инструктора, вошедшего в систему.</translation> <translation>Вы не можете заархивировать инструктора, вошедшего в систему.</translation>
</message> </message>
<message> <message>
<location filename="../instructors/editorinstructors.cpp" line="189"/> <location filename="../instructors/editorinstructors.cpp" line="193"/>
<source>You cannot edit a logged-in instructor.</source> <source>You cannot edit a logged-in instructor.</source>
<translation>Вы не можете редактировать инструктора, вошедшего в систему.</translation> <translation>Вы не можете редактировать инструктора, вошедшего в систему.</translation>
</message> </message>
<message> <message>
<location filename="../instructors/editorinstructors.cpp" line="235"/> <location filename="../instructors/editorinstructors.cpp" line="239"/>
<source>From archive</source> <source>From archive</source>
<translation>Разархивировать</translation> <translation>Разархивировать</translation>
</message> </message>
<message> <message>
<location filename="../instructors/editorinstructors.cpp" line="275"/> <location filename="../instructors/editorinstructors.cpp" line="279"/>
<location filename="../instructors/editorinstructors.cpp" line="282"/> <location filename="../instructors/editorinstructors.cpp" line="286"/>
<location filename="../instructors/editorinstructors.cpp" line="289"/> <location filename="../instructors/editorinstructors.cpp" line="293"/>
<location filename="../instructors/editorinstructors.cpp" line="299"/> <location filename="../instructors/editorinstructors.cpp" line="303"/>
<source>Editing error!</source> <source>Editing error!</source>
<translation>Ошибка редактирования!</translation> <translation>Ошибка редактирования!</translation>
</message> </message>
<message> <message>
<location filename="../instructors/editorinstructors.cpp" line="276"/> <location filename="../instructors/editorinstructors.cpp" line="280"/>
<source>Unacceptable instructor name has been entered. <source>Unacceptable instructor name has been entered.
The changes will not be accepted.</source> The changes will not be accepted.</source>
<translation>Введено неприемлемое имя инструктора. <translation>Введено неприемлемое имя инструктора.
Изменения приняты не будут.</translation> Изменения приняты не будут.</translation>
</message> </message>
<message> <message>
<location filename="../instructors/editorinstructors.cpp" line="283"/> <location filename="../instructors/editorinstructors.cpp" line="287"/>
<source>Unacceptable instructor login has been entered. <source>Unacceptable instructor login has been entered.
The changes will not be accepted.</source> The changes will not be accepted.</source>
<translation>Введен неприемлемый логин инструктора. <translation>Введен неприемлемый логин инструктора.
Изменения приняты не будут.</translation> Изменения приняты не будут.</translation>
</message> </message>
<message> <message>
<location filename="../instructors/editorinstructors.cpp" line="290"/> <location filename="../instructors/editorinstructors.cpp" line="294"/>
<source>Unacceptable instructor password has been entered. <source>Unacceptable instructor password has been entered.
The changes will not be accepted.</source> The changes will not be accepted.</source>
<translation>Введен неприемлемый пароль инструктора. <translation>Введен неприемлемый пароль инструктора.
Изменения приняты не будут.</translation> Изменения приняты не будут.</translation>
</message> </message>
<message> <message>
<location filename="../instructors/editorinstructors.cpp" line="300"/> <location filename="../instructors/editorinstructors.cpp" line="304"/>
<source>An existing instructor or trainee login has been entered. <source>An existing instructor or trainee login has been entered.
The changes will not be accepted.</source> The changes will not be accepted.</source>
<translation>Введен существующий логин инструктора или обучаемого. <translation>Введен существующий логин инструктора или обучаемого.
@@ -641,12 +661,12 @@ Delete it anyway?</source>
<translation>Проверка задачи</translation> <translation>Проверка задачи</translation>
</message> </message>
<message> <message>
<location filename="../tasks/fimtaskswidget.cpp" line="387"/> <location filename="../tasks/fimtaskswidget.cpp" line="388"/>
<source>New task</source> <source>New task</source>
<translation>Новая задача</translation> <translation>Новая задача</translation>
</message> </message>
<message> <message>
<location filename="../tasks/fimtaskswidget.cpp" line="387"/> <location filename="../tasks/fimtaskswidget.cpp" line="388"/>
<source>Assign this task?</source> <source>Assign this task?</source>
<translation>Назначить эту задачу?</translation> <translation>Назначить эту задачу?</translation>
</message> </message>
@@ -711,14 +731,14 @@ Delete it anyway?</source>
<message> <message>
<location filename="../instructorsandtraineeswidget.ui" line="317"/> <location filename="../instructorsandtraineeswidget.ui" line="317"/>
<location filename="../instructorsandtraineeswidget.ui" line="391"/> <location filename="../instructorsandtraineeswidget.ui" line="391"/>
<location filename="../instructorsandtraineeswidget.cpp" line="384"/> <location filename="../instructorsandtraineeswidget.cpp" line="386"/>
<location filename="../instructorsandtraineeswidget.cpp" line="400"/> <location filename="../instructorsandtraineeswidget.cpp" line="402"/>
<source>none</source> <source>none</source>
<translation>нет</translation> <translation>нет</translation>
</message> </message>
<message> <message>
<location filename="../instructorsandtraineeswidget.cpp" line="127"/> <location filename="../instructorsandtraineeswidget.cpp" line="127"/>
<location filename="../instructorsandtraineeswidget.cpp" line="440"/> <location filename="../instructorsandtraineeswidget.cpp" line="443"/>
<source>Attention!</source> <source>Attention!</source>
<translation>Внимание!</translation> <translation>Внимание!</translation>
</message> </message>
@@ -748,7 +768,7 @@ Delete it anyway?</source>
<translation>Сервер не доступен</translation> <translation>Сервер не доступен</translation>
</message> </message>
<message> <message>
<location filename="../instructorsandtraineeswidget.cpp" line="440"/> <location filename="../instructorsandtraineeswidget.cpp" line="443"/>
<source>Server settings have been changed. Please reconnect to the server.</source> <source>Server settings have been changed. Please reconnect to the server.</source>
<translation>Настройки сервера изменены. Выполните переподключение к серверу.</translation> <translation>Настройки сервера изменены. Выполните переподключение к серверу.</translation>
</message> </message>
@@ -822,27 +842,23 @@ Delete it anyway?</source>
<translation>Форма</translation> <translation>Форма</translation>
</message> </message>
<message> <message>
<location filename="../messanger/messangerwidget.ui" line="111"/> <location filename="../messanger/messangerwidget.ui" line="53"/>
<location filename="../messanger/messangerwidget.ui" line="60"/>
<source>TextLabel</source>
<translation></translation>
</message>
<message>
<location filename="../messanger/messangerwidget.ui" line="147"/>
<source>Send</source> <source>Send</source>
<translation>Отправить</translation> <translation>Отправить</translation>
</message> </message>
<message> <message>
<location filename="../messanger/messangerwidget.ui" line="49"/> <location filename="../messanger/messangerwidget.cpp" line="111"/>
<source>Tab 1</source>
<translation></translation>
</message>
<message>
<location filename="../messanger/messangerwidget.ui" line="54"/>
<source>Tab 2</source>
<translation></translation>
</message>
<message>
<location filename="../messanger/messangerwidget.cpp" line="81"/>
<source>Trainee</source> <source>Trainee</source>
<translation>Обучаемый</translation> <translation>Обучаемый</translation>
</message> </message>
<message> <message>
<location filename="../messanger/messangerwidget.cpp" line="83"/> <location filename="../messanger/messangerwidget.cpp" line="120"/>
<source>Instructor</source> <source>Instructor</source>
<translation>Инструктор</translation> <translation>Инструктор</translation>
</message> </message>
@@ -855,12 +871,17 @@ Delete it anyway?</source>
<translation>Форма</translation> <translation>Форма</translation>
</message> </message>
<message> <message>
<location filename="../messanger/msgwidget.ui" line="42"/> <location filename="../messanger/msgwidget.ui" line="48"/>
<source>TextLabel</source> <source>TextLabel</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../messanger/msgwidget.ui" line="85"/> <location filename="../messanger/msgwidget.ui" line="72"/>
<source>Name</source>
<translation>Имя</translation>
</message>
<message>
<location filename="../messanger/msgwidget.ui" line="130"/>
<source>--:--</source> <source>--:--</source>
<translation>--:--</translation> <translation>--:--</translation>
</message> </message>
@@ -919,51 +940,51 @@ Delete it anyway?</source>
<translation>Форма</translation> <translation>Форма</translation>
</message> </message>
<message> <message>
<location filename="../trainees/personalcardtrainee.ui" line="24"/> <location filename="../trainees/personalcardtrainee.ui" line="30"/>
<source>Trainee</source> <source>Trainee</source>
<translation>Обучаемый</translation> <translation>Обучаемый</translation>
</message> </message>
<message> <message>
<location filename="../trainees/personalcardtrainee.ui" line="32"/> <location filename="../trainees/personalcardtrainee.ui" line="38"/>
<source>Name</source> <source>Name</source>
<translation>Имя</translation> <translation>Имя</translation>
</message> </message>
<message> <message>
<location filename="../trainees/personalcardtrainee.ui" line="62"/> <location filename="../trainees/personalcardtrainee.ui" line="68"/>
<source>Last login time</source> <source>Last login time</source>
<translation>Время последнего входа</translation> <translation>Время последнего входа</translation>
</message> </message>
<message> <message>
<location filename="../trainees/personalcardtrainee.ui" line="69"/> <location filename="../trainees/personalcardtrainee.ui" line="75"/>
<location filename="../trainees/personalcardtrainee.ui" line="90"/> <location filename="../trainees/personalcardtrainee.ui" line="96"/>
<location filename="../trainees/personalcardtrainee.ui" line="111"/> <location filename="../trainees/personalcardtrainee.ui" line="117"/>
<location filename="../trainees/personalcardtrainee.ui" line="132"/> <location filename="../trainees/personalcardtrainee.ui" line="138"/>
<location filename="../trainees/personalcardtrainee.ui" line="153"/> <location filename="../trainees/personalcardtrainee.ui" line="159"/>
<source>0</source> <source>0</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../trainees/personalcardtrainee.ui" line="83"/> <location filename="../trainees/personalcardtrainee.ui" line="89"/>
<source>Assigned FIM</source> <source>Assigned FIM</source>
<translation>Назначенные FIM</translation> <translation>Назначенные FIM</translation>
</message> </message>
<message> <message>
<location filename="../trainees/personalcardtrainee.ui" line="104"/> <location filename="../trainees/personalcardtrainee.ui" line="110"/>
<source>Assigned AMM</source> <source>Assigned AMM</source>
<translation>Назначенные AMM</translation> <translation>Назначенные AMM</translation>
</message> </message>
<message> <message>
<location filename="../trainees/personalcardtrainee.ui" line="125"/> <location filename="../trainees/personalcardtrainee.ui" line="131"/>
<source>Time of operation</source> <source>Time of operation</source>
<translation>Время работы</translation> <translation>Время работы</translation>
</message> </message>
<message> <message>
<location filename="../trainees/personalcardtrainee.ui" line="146"/> <location filename="../trainees/personalcardtrainee.ui" line="152"/>
<source>Last time of exit</source> <source>Last time of exit</source>
<translation>Время последнего выхода</translation> <translation>Время последнего выхода</translation>
</message> </message>
<message> <message>
<location filename="../trainees/personalcardtrainee.ui" line="168"/> <location filename="../trainees/personalcardtrainee.ui" line="174"/>
<source>Chat</source> <source>Chat</source>
<translation>Чат</translation> <translation>Чат</translation>
</message> </message>
@@ -1026,30 +1047,30 @@ Delete it anyway?</source>
<context> <context>
<name>TaskAMMFIMTreePreparation</name> <name>TaskAMMFIMTreePreparation</name>
<message> <message>
<location filename="../tasks/tasktreepreparation.cpp" line="453"/> <location filename="../tasks/tasktreepreparation.cpp" line="457"/>
<location filename="../tasks/tasktreepreparation.cpp" line="505"/> <location filename="../tasks/tasktreepreparation.cpp" line="509"/>
<location filename="../tasks/tasktreepreparation.cpp" line="596"/> <location filename="../tasks/tasktreepreparation.cpp" line="600"/>
<source>completed</source> <source>completed</source>
<translation>выполнена</translation> <translation>выполнена</translation>
</message> </message>
<message> <message>
<location filename="../tasks/tasktreepreparation.cpp" line="458"/> <location filename="../tasks/tasktreepreparation.cpp" line="462"/>
<location filename="../tasks/tasktreepreparation.cpp" line="510"/> <location filename="../tasks/tasktreepreparation.cpp" line="514"/>
<location filename="../tasks/tasktreepreparation.cpp" line="601"/> <location filename="../tasks/tasktreepreparation.cpp" line="605"/>
<source>failed</source> <source>failed</source>
<translation>неверно</translation> <translation>неверно</translation>
</message> </message>
<message> <message>
<location filename="../tasks/tasktreepreparation.cpp" line="463"/> <location filename="../tasks/tasktreepreparation.cpp" line="467"/>
<location filename="../tasks/tasktreepreparation.cpp" line="515"/> <location filename="../tasks/tasktreepreparation.cpp" line="519"/>
<location filename="../tasks/tasktreepreparation.cpp" line="606"/> <location filename="../tasks/tasktreepreparation.cpp" line="610"/>
<source>checkup</source> <source>checkup</source>
<translation>на проверке</translation> <translation>на проверке</translation>
</message> </message>
<message> <message>
<location filename="../tasks/tasktreepreparation.cpp" line="468"/> <location filename="../tasks/tasktreepreparation.cpp" line="472"/>
<location filename="../tasks/tasktreepreparation.cpp" line="520"/> <location filename="../tasks/tasktreepreparation.cpp" line="524"/>
<location filename="../tasks/tasktreepreparation.cpp" line="611"/> <location filename="../tasks/tasktreepreparation.cpp" line="615"/>
<source>new</source> <source>new</source>
<translation>новая</translation> <translation>новая</translation>
</message> </message>
@@ -1234,12 +1255,12 @@ Delete it anyway?</source>
<translation>Редактор обучаемых</translation> <translation>Редактор обучаемых</translation>
</message> </message>
<message> <message>
<location filename="../trainees/viewertrainees.cpp" line="107"/> <location filename="../trainees/viewertrainees.cpp" line="80"/>
<source>Editor of trainees</source> <source>Editor of trainees</source>
<translation>Редактор обучаемых</translation> <translation>Редактор обучаемых</translation>
</message> </message>
<message> <message>
<location filename="../trainees/viewertrainees.cpp" line="139"/> <location filename="../trainees/viewertrainees.cpp" line="113"/>
<source>Personal card trainee</source> <source>Personal card trainee</source>
<translation>Персональная карта обучаемого</translation> <translation>Персональная карта обучаемого</translation>
</message> </message>