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>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>MainWindow</string>
|
||||
<string>pglab - Connection Manager</string>
|
||||
</property>
|
||||
<widget class="QWidget" name="centralwidget">
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
|
|
@ -221,9 +221,8 @@
|
|||
</widget>
|
||||
<action name="actionAdd_Connection">
|
||||
<property name="icon">
|
||||
<iconset>
|
||||
<normaloff>../../../Users/eelke/fatcow-hosting-icons-900/server_add.png</normaloff>
|
||||
<normalon>../../../Users/eelke/icons/server_add.png</normalon>../../../Users/eelke/fatcow-hosting-icons-900/server_add.png</iconset>
|
||||
<iconset resource="resources.qrc">
|
||||
<normaloff>:/icons/server_add.png</normaloff>:/icons/server_add.png</iconset>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Add Connection</string>
|
||||
|
|
@ -232,8 +231,8 @@
|
|||
<action name="actionDelete_connection">
|
||||
<property name="icon">
|
||||
<iconset>
|
||||
<normaloff>../../../Users/eelke/fatcow-hosting-icons-900/server_delete.png</normaloff>
|
||||
<normalon>../../../Users/eelke/icons/server_delete.png</normalon>../../../Users/eelke/fatcow-hosting-icons-900/server_delete.png</iconset>
|
||||
<normalon>:/icons/server_delete.png</normalon>
|
||||
</iconset>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Delete connection</string>
|
||||
|
|
@ -244,14 +243,16 @@
|
|||
</action>
|
||||
<action name="actionConnect">
|
||||
<property name="icon">
|
||||
<iconset>
|
||||
<normaloff>../../../Users/eelke/fatcow-hosting-icons-900/server_go.png</normaloff>../../../Users/eelke/fatcow-hosting-icons-900/server_go.png</iconset>
|
||||
<iconset resource="resources.qrc">
|
||||
<normaloff>:/icons/server_go.png</normaloff>:/icons/server_go.png</iconset>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Connect</string>
|
||||
</property>
|
||||
</action>
|
||||
</widget>
|
||||
<resources/>
|
||||
<resources>
|
||||
<include location="resources.qrc"/>
|
||||
</resources>
|
||||
<connections/>
|
||||
</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 \
|
||||
databasewindow.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