Moved icons into a resource file and adjusted the window that used them accordingly.
This commit is contained in:
parent
998389e371
commit
88fcc0338d
7 changed files with 24 additions and 9 deletions
|
|
@ -11,7 +11,7 @@
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>MainWindow</string>
|
<string>pglab - Connection Manager</string>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="centralwidget">
|
<widget class="QWidget" name="centralwidget">
|
||||||
<layout class="QVBoxLayout" name="verticalLayout">
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||||||
|
|
@ -221,9 +221,8 @@
|
||||||
</widget>
|
</widget>
|
||||||
<action name="actionAdd_Connection">
|
<action name="actionAdd_Connection">
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset>
|
<iconset resource="resources.qrc">
|
||||||
<normaloff>../../../Users/eelke/fatcow-hosting-icons-900/server_add.png</normaloff>
|
<normaloff>:/icons/server_add.png</normaloff>:/icons/server_add.png</iconset>
|
||||||
<normalon>../../../Users/eelke/icons/server_add.png</normalon>../../../Users/eelke/fatcow-hosting-icons-900/server_add.png</iconset>
|
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Add Connection</string>
|
<string>Add Connection</string>
|
||||||
|
|
@ -232,8 +231,8 @@
|
||||||
<action name="actionDelete_connection">
|
<action name="actionDelete_connection">
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset>
|
<iconset>
|
||||||
<normaloff>../../../Users/eelke/fatcow-hosting-icons-900/server_delete.png</normaloff>
|
<normalon>:/icons/server_delete.png</normalon>
|
||||||
<normalon>../../../Users/eelke/icons/server_delete.png</normalon>../../../Users/eelke/fatcow-hosting-icons-900/server_delete.png</iconset>
|
</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Delete connection</string>
|
<string>Delete connection</string>
|
||||||
|
|
@ -244,14 +243,16 @@
|
||||||
</action>
|
</action>
|
||||||
<action name="actionConnect">
|
<action name="actionConnect">
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset>
|
<iconset resource="resources.qrc">
|
||||||
<normaloff>../../../Users/eelke/fatcow-hosting-icons-900/server_go.png</normaloff>../../../Users/eelke/fatcow-hosting-icons-900/server_go.png</iconset>
|
<normaloff>:/icons/server_go.png</normaloff>:/icons/server_go.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Connect</string>
|
<string>Connect</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
</widget>
|
</widget>
|
||||||
<resources/>
|
<resources>
|
||||||
|
<include location="resources.qrc"/>
|
||||||
|
</resources>
|
||||||
<connections/>
|
<connections/>
|
||||||
</ui>
|
</ui>
|
||||||
|
|
|
||||||
4
icons/desktop.ini
Normal file
4
icons/desktop.ini
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
[LocalizedFileNames]
|
||||||
|
server_go.png=@server_go.png,0
|
||||||
|
server_add.png=@server_add.png,0
|
||||||
|
server_delete.png=@server_delete.png,0
|
||||||
BIN
icons/server_add.png
Normal file
BIN
icons/server_add.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
BIN
icons/server_delete.png
Normal file
BIN
icons/server_delete.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.5 KiB |
BIN
icons/server_go.png
Normal file
BIN
icons/server_go.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 KiB |
|
|
@ -59,3 +59,6 @@ FORMS += mainwindow.ui \
|
||||||
serverproperties.ui \
|
serverproperties.ui \
|
||||||
databasewindow.ui \
|
databasewindow.ui \
|
||||||
connectionmanagerwindow.ui
|
connectionmanagerwindow.ui
|
||||||
|
|
||||||
|
RESOURCES += \
|
||||||
|
resources.qrc
|
||||||
|
|
|
||||||
7
resources.qrc
Normal file
7
resources.qrc
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
<RCC>
|
||||||
|
<qresource>
|
||||||
|
<file>icons/server_add.png</file>
|
||||||
|
<file>icons/server_delete.png</file>
|
||||||
|
<file>icons/server_go.png</file>
|
||||||
|
</qresource>
|
||||||
|
</RCC>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue