mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-27 19:45:43 +03:00
смена пароля админа + иконка в exe
This commit is contained in:
@@ -2,6 +2,12 @@ project(TrayServerLMS LANGUAGES CXX)
|
||||
|
||||
common_info_for_project(TrayServerLMS)
|
||||
|
||||
# Подключаем RC-файл (только для Windows)
|
||||
if(WIN32)
|
||||
# Предполагая, что файл app.rc расположен в корневом каталоге проекта
|
||||
set(RC_FILE ${CMAKE_CURRENT_SOURCE_DIR}/app.rc)
|
||||
endif()
|
||||
|
||||
add_executable(TrayServerLMS WIN32
|
||||
main.cpp
|
||||
mainwindow.cpp
|
||||
@@ -10,6 +16,11 @@ mainwindow.ui
|
||||
TrayServerLMS.qrc
|
||||
)
|
||||
|
||||
# Подключаем RC-файл к цели
|
||||
if(RC_FILE)
|
||||
target_sources(${PROJECT_NAME} PRIVATE ${RC_FILE})
|
||||
endif()
|
||||
|
||||
target_link_libraries(TrayServerLMS PRIVATE Qt5::Widgets)
|
||||
target_link_libraries(TrayServerLMS PRIVATE Qt5::Network)
|
||||
target_link_libraries(TrayServerLMS PRIVATE Qt5::Sql)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<RCC>
|
||||
<qresource prefix="/">
|
||||
<file>resources/PngServerRRJ.png</file>
|
||||
<file>resources/IcoServerRRJ.ico</file>
|
||||
<file>resources/database-management.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
||||
1
TrayServerLMS/app.rc
Normal file
1
TrayServerLMS/app.rc
Normal file
@@ -0,0 +1 @@
|
||||
IDI_APP_ICON ICON "resources\IcoServerRRJ.ico"
|
||||
@@ -21,7 +21,7 @@
|
||||
</property>
|
||||
<property name="windowIcon">
|
||||
<iconset resource="TrayServerLMS.qrc">
|
||||
<normaloff>:/resources/database-management.png</normaloff>:/resources/database-management.png</iconset>
|
||||
<normaloff>:/resources/PngServerRRJ.png</normaloff>:/resources/PngServerRRJ.png</iconset>
|
||||
</property>
|
||||
<widget class="QWidget" name="centralwidget">
|
||||
<layout class="QGridLayout" name="gridLayout_2">
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 8.9 KiB After Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 50 KiB |
@@ -9,47 +9,30 @@
|
||||
<translation>Сервер Системы управления обучением (СУО)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="171"/>
|
||||
<location filename="../mainwindow.cpp" line="230"/>
|
||||
<location filename="../mainwindow.cpp" line="170"/>
|
||||
<location filename="../mainwindow.cpp" line="218"/>
|
||||
<source>Server LMS</source>
|
||||
<translation>Сервер СУО</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="231"/>
|
||||
<location filename="../mainwindow.cpp" line="219"/>
|
||||
<source>Expand window</source>
|
||||
<translation>Развернуть окно</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="232"/>
|
||||
<location filename="../mainwindow.cpp" line="220"/>
|
||||
<source>Minimize window</source>
|
||||
<translation>Свернуть окно</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="233"/>
|
||||
<location filename="../mainwindow.cpp" line="221"/>
|
||||
<source>Exit</source>
|
||||
<translation>Выход</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="68"/>
|
||||
<location filename="../mainwindow.cpp" line="67"/>
|
||||
<source>Starting the server...</source>
|
||||
<translation>Запуск сервера...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="211"/>
|
||||
<source>Error!</source>
|
||||
<translation>Ошибка!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="213"/>
|
||||
<source>No Client files found!</source>
|
||||
<translation>Файлы Клиента не найдены!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="214"/>
|
||||
<source>* check Application for the presence of a folder with a build
|
||||
* check SharedData for a folder with the base version and the name base</source>
|
||||
<translation>* проверьте Application на наличие папки со сборкой
|
||||
* проверьте SharedData на наличие папки с базовой версией и именем base</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
Reference in New Issue
Block a user