This commit is contained in:
Andrei Astafev 2020-04-14 12:37:56 +03:00
parent 3a2222cde3
commit 16f6a40456

View File

@ -266,9 +266,7 @@ set(CPACK_SOURCE_IGNORE_FILES
"\\\\.swp$")
----
ifndef::backend-pdf[]
<<<
endif::[]
Произведённые изменения можно зафиксировать:
@ -904,8 +902,6 @@ git clone --recursive https://git.246060.ru/f1x1t/cmlib-example-app-qt5-gui
wget https://git.246060.ru/f1x1t/cmlib-example-app-qt5-gui/raw/branch/master/files/data/icon.png
----
<<<
Для графического приложения нужно создать файл описания интерфейса
`src/cmlib-example/test_window.ui`:
@ -916,12 +912,7 @@ wget https://git.246060.ru/f1x1t/cmlib-example-app-qt5-gui/raw/branch/master/fil
<class>TestWindow</class>
<widget class="QMainWindow" name="TestWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>413</width>
<height>253</height>
</rect>
<rect><x>0</x><y>0</y><width>413</width><height>253</height></rect>
</property>
<property name="windowTitle">
<string>Test Window</string>
@ -929,12 +920,7 @@ wget https://git.246060.ru/f1x1t/cmlib-example-app-qt5-gui/raw/branch/master/fil
<widget class="QWidget" name="centralwidget">
<widget class="QPushButton" name="exitButton">
<property name="geometry">
<rect>
<x>170</x>
<y>30</y>
<width>80</width>
<height>26</height>
</rect>
<rect><x>170</x><y>30</y><width>80</width><height>26</height></rect>
</property>
<property name="text">
<string>Press me</string>