mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-27 01:26:30 +00:00
Changed: Use PNG images
This commit is contained in:
parent
80c72aebd2
commit
9f75bed8c2
4 changed files with 26 additions and 24 deletions
|
@ -181,14 +181,14 @@ void CClientConfigDialog::onClickCategory( QTreeWidgetItem *item )
|
|||
|
||||
static const char *iconNames[] =
|
||||
{
|
||||
":/resources/general_icon.bmp",
|
||||
":/resources/display_icon.bmp",
|
||||
":/resources/display_properties_icon.bmp",
|
||||
":/resources/display_config_icon.bmp",
|
||||
":/resources/sound_icon.bmp",
|
||||
":/resources/general_icon.bmp",
|
||||
":/resources/card_icon.bmp",
|
||||
":/resources/card_icon.bmp"
|
||||
":/resources/general_icon.png",
|
||||
":/resources/display_icon.png",
|
||||
":/resources/display_properties_icon.png",
|
||||
":/resources/display_config_icon.png",
|
||||
":/resources/sound_icon.png",
|
||||
":/resources/general_icon.png",
|
||||
":/resources/card_icon.png",
|
||||
":/resources/card_icon.png"
|
||||
};
|
||||
|
||||
sint32 index = item->data( 0, Qt::UserRole ).toInt();
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
<string/>
|
||||
</property>
|
||||
<property name="pixmap">
|
||||
<pixmap resource="resources.qrc">:/resources/left_bitmap_0.bmp</pixmap>
|
||||
<pixmap resource="resources.qrc">:/resources/left_bitmap_0.png</pixmap>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -60,7 +60,7 @@
|
|||
<string/>
|
||||
</property>
|
||||
<property name="pixmap">
|
||||
<pixmap resource="resources.qrc">:/resources/general_icon.bmp</pixmap>
|
||||
<pixmap resource="resources.qrc">:/resources/general_icon.png</pixmap>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -101,7 +101,7 @@
|
|||
</font>
|
||||
</property>
|
||||
<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 name="text">
|
||||
<string>General</string>
|
||||
|
|
|
@ -24,7 +24,9 @@
|
|||
int main( sint32 argc, char **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 );
|
||||
|
||||
splash.show();
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
<RCC>
|
||||
<qresource prefix="/">
|
||||
<file>resources/card_icon.bmp</file>
|
||||
<file>resources/display_config_icon.bmp</file>
|
||||
<file>resources/display_icon.bmp</file>
|
||||
<file>resources/display_properties_icon.bmp</file>
|
||||
<file>resources/general_icon.bmp</file>
|
||||
<file>resources/left_bitmap_0.bmp</file>
|
||||
<file>resources/network_icon.bmp</file>
|
||||
<file>resources/sound_icon.bmp</file>
|
||||
<file>resources/splash_screen.bmp</file>
|
||||
<file>resources/top_right.bmp</file>
|
||||
<file>resources/update_icon.bmp</file>
|
||||
<file>resources/welcome_icon.bmp</file>
|
||||
<file>resources/card_icon.png</file>
|
||||
<file>resources/display_config_icon.png</file>
|
||||
<file>resources/display_icon.png</file>
|
||||
<file>resources/display_properties_icon.png</file>
|
||||
<file>resources/general_icon.png</file>
|
||||
<file>resources/left_bitmap_0.png</file>
|
||||
<file>resources/network_icon.png</file>
|
||||
<file>resources/sound_icon.png</file>
|
||||
<file>resources/splash_screen.png</file>
|
||||
<file>resources/top_right.png</file>
|
||||
<file>resources/update_icon.png</file>
|
||||
<file>resources/welcome_icon.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
|
Loading…
Reference in a new issue