Changed: Use PNG images

This commit is contained in:
kervala 2015-12-06 16:52:48 +01:00
parent 80c72aebd2
commit 9f75bed8c2
4 changed files with 26 additions and 24 deletions

View file

@ -181,14 +181,14 @@ void CClientConfigDialog::onClickCategory( QTreeWidgetItem *item )
static const char *iconNames[] = static const char *iconNames[] =
{ {
":/resources/general_icon.bmp", ":/resources/general_icon.png",
":/resources/display_icon.bmp", ":/resources/display_icon.png",
":/resources/display_properties_icon.bmp", ":/resources/display_properties_icon.png",
":/resources/display_config_icon.bmp", ":/resources/display_config_icon.png",
":/resources/sound_icon.bmp", ":/resources/sound_icon.png",
":/resources/general_icon.bmp", ":/resources/general_icon.png",
":/resources/card_icon.bmp", ":/resources/card_icon.png",
":/resources/card_icon.bmp" ":/resources/card_icon.png"
}; };
sint32 index = item->data( 0, Qt::UserRole ).toInt(); sint32 index = item->data( 0, Qt::UserRole ).toInt();

View file

@ -31,7 +31,7 @@
<string/> <string/>
</property> </property>
<property name="pixmap"> <property name="pixmap">
<pixmap resource="resources.qrc">:/resources/left_bitmap_0.bmp</pixmap> <pixmap resource="resources.qrc">:/resources/left_bitmap_0.png</pixmap>
</property> </property>
</widget> </widget>
</item> </item>
@ -60,7 +60,7 @@
<string/> <string/>
</property> </property>
<property name="pixmap"> <property name="pixmap">
<pixmap resource="resources.qrc">:/resources/general_icon.bmp</pixmap> <pixmap resource="resources.qrc">:/resources/general_icon.png</pixmap>
</property> </property>
</widget> </widget>
</item> </item>
@ -101,7 +101,7 @@
</font> </font>
</property> </property>
<property name="styleSheet"> <property name="styleSheet">
<string notr="true">background-image: url(:/resources/top_right.bmp);</string> <string notr="true">background-image: url(:/resources/top_right.png);</string>
</property> </property>
<property name="text"> <property name="text">
<string>General</string> <string>General</string>

View file

@ -24,7 +24,9 @@
int main( sint32 argc, char **argv ) int main( sint32 argc, char **argv )
{ {
QApplication app( argc, argv ); QApplication app( argc, argv );
QPixmap pixmap( ":/resources/splash_screen.bmp" );
QApplication::setWindowIcon(QIcon(":/resources/welcome_icon.png"));
QPixmap pixmap(":/resources/splash_screen.png" );
QSplashScreen splash( pixmap ); QSplashScreen splash( pixmap );
splash.show(); splash.show();

View file

@ -1,16 +1,16 @@
<RCC> <RCC>
<qresource prefix="/"> <qresource prefix="/">
<file>resources/card_icon.bmp</file> <file>resources/card_icon.png</file>
<file>resources/display_config_icon.bmp</file> <file>resources/display_config_icon.png</file>
<file>resources/display_icon.bmp</file> <file>resources/display_icon.png</file>
<file>resources/display_properties_icon.bmp</file> <file>resources/display_properties_icon.png</file>
<file>resources/general_icon.bmp</file> <file>resources/general_icon.png</file>
<file>resources/left_bitmap_0.bmp</file> <file>resources/left_bitmap_0.png</file>
<file>resources/network_icon.bmp</file> <file>resources/network_icon.png</file>
<file>resources/sound_icon.bmp</file> <file>resources/sound_icon.png</file>
<file>resources/splash_screen.bmp</file> <file>resources/splash_screen.png</file>
<file>resources/top_right.bmp</file> <file>resources/top_right.png</file>
<file>resources/update_icon.bmp</file> <file>resources/update_icon.png</file>
<file>resources/welcome_icon.bmp</file> <file>resources/welcome_icon.png</file>
</qresource> </qresource>
</RCC> </RCC>