add Anki icon to a few windows

thanks to John for the original work on this
https://github.com/dae/anki/pull/308
This commit is contained in:
Damien Elmes 2019-05-17 15:28:15 +10:00
parent 1c47eb73d0
commit 3ba559907b
4 changed files with 25 additions and 3 deletions

View File

@ -13,6 +13,10 @@
<property name="windowTitle"> <property name="windowTitle">
<string>Add</string> <string>Add</string>
</property> </property>
<property name="windowIcon">
<iconset resource="icons.qrc">
<normaloff>:/icons/anki.png</normaloff>:/icons/anki.png</iconset>
</property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing"> <property name="spacing">
<number>3</number> <number>3</number>
@ -87,7 +91,9 @@
<tabstops> <tabstops>
<tabstop>buttonBox</tabstop> <tabstop>buttonBox</tabstop>
</tabstops> </tabstops>
<resources/> <resources>
<include location="icons.qrc"/>
</resources>
<connections> <connections>
<connection> <connection>
<sender>buttonBox</sender> <sender>buttonBox</sender>

View File

@ -16,6 +16,10 @@
<height>400</height> <height>400</height>
</size> </size>
</property> </property>
<property name="windowIcon">
<iconset resource="icons.qrc">
<normaloff>:/icons/anki.png</normaloff>:/icons/anki.png</iconset>
</property>
<widget class="QWidget" name="centralwidget"> <widget class="QWidget" name="centralwidget">
<layout class="QVBoxLayout" name="verticalLayout_3"> <layout class="QVBoxLayout" name="verticalLayout_3">
<property name="spacing"> <property name="spacing">

View File

@ -13,6 +13,10 @@
<property name="windowTitle"> <property name="windowTitle">
<string>Dialog</string> <string>Dialog</string>
</property> </property>
<property name="windowIcon">
<iconset resource="icons.qrc">
<normaloff>:/icons/anki.png</normaloff>:/icons/anki.png</iconset>
</property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing"> <property name="spacing">
<number>3</number> <number>3</number>
@ -35,7 +39,9 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<resources/> <resources>
<include location="icons.qrc"/>
</resources>
<connections> <connections>
<connection> <connection>
<sender>buttonBox</sender> <sender>buttonBox</sender>

View File

@ -13,6 +13,10 @@
<property name="windowTitle"> <property name="windowTitle">
<string>Profiles</string> <string>Profiles</string>
</property> </property>
<property name="windowIcon">
<iconset resource="icons.qrc">
<normaloff>:/icons/anki.png</normaloff>:/icons/anki.png</iconset>
</property>
<widget class="QWidget" name="centralwidget"> <widget class="QWidget" name="centralwidget">
<layout class="QVBoxLayout" name="verticalLayout_3"> <layout class="QVBoxLayout" name="verticalLayout_3">
<item> <item>
@ -109,6 +113,8 @@
</property> </property>
</widget> </widget>
</widget> </widget>
<resources/> <resources>
<include location="icons.qrc"/>
</resources>
<connections/> <connections/>
</ui> </ui>