lang and icon
This commit is contained in:
@@ -16,7 +16,8 @@ set_version(${PROJECT_NAME}
|
|||||||
set_deploy_property(${PROJECT_NAME}
|
set_deploy_property(${PROJECT_NAME}
|
||||||
LABEL "${PROJECT_NAME}"
|
LABEL "${PROJECT_NAME}"
|
||||||
FULLNAME "${PROJECT_NAME}"
|
FULLNAME "${PROJECT_NAME}"
|
||||||
COMPANY "Strata Solutions")
|
COMPANY "Strata Solutions"
|
||||||
|
ICON "icons/icon.ico")
|
||||||
set_lang(${PROJECT_NAME} "ru")
|
set_lang(${PROJECT_NAME} "ru")
|
||||||
|
|
||||||
make_rc(${PROJECT_NAME} out_RC)
|
make_rc(${PROJECT_NAME} out_RC)
|
||||||
|
|||||||
@@ -3,5 +3,6 @@
|
|||||||
<file>icons/media-playback-pause.png</file>
|
<file>icons/media-playback-pause.png</file>
|
||||||
<file>icons/media-playback-start.png</file>
|
<file>icons/media-playback-start.png</file>
|
||||||
<file>icons/media-playback-stop.png</file>
|
<file>icons/media-playback-stop.png</file>
|
||||||
|
<file>icons/icon.ico</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
|||||||
BIN
src/icons/icon.ico
Normal file
BIN
src/icons/icon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
@@ -1,4 +1,23 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!DOCTYPE TS>
|
<!DOCTYPE TS>
|
||||||
<TS version="2.1" language="ru_RU">
|
<TS version="2.1" language="ru_RU">
|
||||||
|
<context>
|
||||||
|
<name>MainWindow</name>
|
||||||
|
<message>
|
||||||
|
<source>Strata Solutions Test</source>
|
||||||
|
<translation>Strata Solutions тестовое задание</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Start</source>
|
||||||
|
<translation>Старт</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Pause</source>
|
||||||
|
<translation>Пауза</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Stop</source>
|
||||||
|
<translation>Стоп</translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
</TS>
|
</TS>
|
||||||
|
|||||||
@@ -13,6 +13,10 @@
|
|||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>Strata Solutions Test</string>
|
<string>Strata Solutions Test</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="windowIcon">
|
||||||
|
<iconset resource="icons.qrc">
|
||||||
|
<normaloff>:/icons/icon.ico</normaloff>:/icons/icon.ico</iconset>
|
||||||
|
</property>
|
||||||
<widget class="QWidget" name="centralwidget">
|
<widget class="QWidget" name="centralwidget">
|
||||||
<layout class="QVBoxLayout" name="verticalLayout">
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||||||
<item>
|
<item>
|
||||||
|
|||||||
Reference in New Issue
Block a user