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:
@@ -34,7 +34,7 @@ public:
|
||||
QVBoxLayout *verticalLayout_1;
|
||||
QVBoxLayout *verticalLayout_2;
|
||||
QHBoxLayout *horizontalLayout_1;
|
||||
QToolButton *btnConnectionToDB;
|
||||
QToolButton *btnConnectionToServer;
|
||||
QLabel *lblDBisConnected;
|
||||
QToolButton *btnAuthorizationInstructor;
|
||||
QLabel *lblLoggedIn;
|
||||
@@ -42,7 +42,6 @@ public:
|
||||
QLabel *lblLoggedInInstructor;
|
||||
QSpacerItem *horizontalSpacer;
|
||||
QToolButton *btnUpdateStyleSheet;
|
||||
QToolButton *btnQueryGetAllLists;
|
||||
|
||||
void setupUi(QWidget *InstructorsAndTraineesWidget)
|
||||
{
|
||||
@@ -79,17 +78,17 @@ public:
|
||||
|
||||
horizontalLayout_1 = new QHBoxLayout();
|
||||
horizontalLayout_1->setObjectName(QString::fromUtf8("horizontalLayout_1"));
|
||||
btnConnectionToDB = new QToolButton(groupBox);
|
||||
btnConnectionToDB->setObjectName(QString::fromUtf8("btnConnectionToDB"));
|
||||
btnConnectionToDB->setMinimumSize(QSize(130, 58));
|
||||
btnConnectionToServer = new QToolButton(groupBox);
|
||||
btnConnectionToServer->setObjectName(QString::fromUtf8("btnConnectionToServer"));
|
||||
btnConnectionToServer->setMinimumSize(QSize(130, 58));
|
||||
QIcon icon;
|
||||
icon.addFile(QString::fromUtf8(":/icons/connectDB.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
btnConnectionToDB->setIcon(icon);
|
||||
btnConnectionToDB->setIconSize(QSize(32, 32));
|
||||
btnConnectionToDB->setCheckable(true);
|
||||
btnConnectionToDB->setToolButtonStyle(Qt::ToolButtonTextUnderIcon);
|
||||
btnConnectionToServer->setIcon(icon);
|
||||
btnConnectionToServer->setIconSize(QSize(32, 32));
|
||||
btnConnectionToServer->setCheckable(false);
|
||||
btnConnectionToServer->setToolButtonStyle(Qt::ToolButtonTextUnderIcon);
|
||||
|
||||
horizontalLayout_1->addWidget(btnConnectionToDB);
|
||||
horizontalLayout_1->addWidget(btnConnectionToServer);
|
||||
|
||||
lblDBisConnected = new QLabel(groupBox);
|
||||
lblDBisConnected->setObjectName(QString::fromUtf8("lblDBisConnected"));
|
||||
@@ -145,12 +144,6 @@ public:
|
||||
|
||||
horizontalLayout_1->addWidget(btnUpdateStyleSheet);
|
||||
|
||||
btnQueryGetAllLists = new QToolButton(groupBox);
|
||||
btnQueryGetAllLists->setObjectName(QString::fromUtf8("btnQueryGetAllLists"));
|
||||
btnQueryGetAllLists->setMinimumSize(QSize(58, 58));
|
||||
|
||||
horizontalLayout_1->addWidget(btnQueryGetAllLists);
|
||||
|
||||
|
||||
gridLayout_2->addLayout(horizontalLayout_1, 0, 0, 1, 1);
|
||||
|
||||
@@ -170,14 +163,13 @@ public:
|
||||
{
|
||||
InstructorsAndTraineesWidget->setWindowTitle(QCoreApplication::translate("InstructorsAndTraineesWidget", "Form", nullptr));
|
||||
groupBox->setTitle(QCoreApplication::translate("InstructorsAndTraineesWidget", "Database LMS", nullptr));
|
||||
btnConnectionToDB->setText(QCoreApplication::translate("InstructorsAndTraineesWidget", "Connection to DB", nullptr));
|
||||
btnConnectionToServer->setText(QCoreApplication::translate("InstructorsAndTraineesWidget", "Connection to Server", nullptr));
|
||||
lblDBisConnected->setText(QString());
|
||||
btnAuthorizationInstructor->setText(QCoreApplication::translate("InstructorsAndTraineesWidget", "Authorization Instructor", nullptr));
|
||||
lblLoggedIn->setText(QString());
|
||||
lblLoggedInPrefix->setText(QCoreApplication::translate("InstructorsAndTraineesWidget", "Logged in Instructor: ", nullptr));
|
||||
lblLoggedInInstructor->setText(QCoreApplication::translate("InstructorsAndTraineesWidget", "none", nullptr));
|
||||
btnUpdateStyleSheet->setText(QCoreApplication::translate("InstructorsAndTraineesWidget", "Update StyleSheet", nullptr));
|
||||
btnQueryGetAllLists->setText(QCoreApplication::translate("InstructorsAndTraineesWidget", "GET_ALL_LISTS", nullptr));
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user