-rw-r--r-- | noncore/settings/sysinfo/versioninfo.cpp | 2 | ||||
-rw-r--r-- | pics/sysinfo/jornada56x.png | bin | 0 -> 29154 bytes |
2 files changed, 2 insertions, 0 deletions
diff --git a/noncore/settings/sysinfo/versioninfo.cpp b/noncore/settings/sysinfo/versioninfo.cpp index 6764aa6..1b811df 100644 --- a/noncore/settings/sysinfo/versioninfo.cpp +++ b/noncore/settings/sysinfo/versioninfo.cpp | |||
@@ -119,32 +119,34 @@ VersionInfo::VersionInfo( QWidget *parent, const char *name, WFlags f ) | |||
119 | 119 | ||
120 | QHBoxLayout *hb3 = new QHBoxLayout( vb ); | 120 | QHBoxLayout *hb3 = new QHBoxLayout( vb ); |
121 | hb3->setSpacing( 2 ); | 121 | hb3->setSpacing( 2 ); |
122 | 122 | ||
123 | QLabel *palmtopLogo3 = new QLabel( container ); | 123 | QLabel *palmtopLogo3 = new QLabel( container ); |
124 | 124 | ||
125 | OModel model = ODevice::inst()->model(); | 125 | OModel model = ODevice::inst()->model(); |
126 | QString modelPixmap = "sysinfo/"; | 126 | QString modelPixmap = "sysinfo/"; |
127 | if ( model == Model_Zaurus_SLC7x0 ) | 127 | if ( model == Model_Zaurus_SLC7x0 ) |
128 | modelPixmap += "zaurusc700"; | 128 | modelPixmap += "zaurusc700"; |
129 | else if ( model >= Model_Zaurus_SL5000 && model <= Model_Zaurus_SLB600 ) | 129 | else if ( model >= Model_Zaurus_SL5000 && model <= Model_Zaurus_SLB600 ) |
130 | modelPixmap += "zaurus5500"; | 130 | modelPixmap += "zaurus5500"; |
131 | else if ( model >= Model_iPAQ_H31xx && model <= Model_iPAQ_H5xxx ) | 131 | else if ( model >= Model_iPAQ_H31xx && model <= Model_iPAQ_H5xxx ) |
132 | modelPixmap += "ipaq3600"; | 132 | modelPixmap += "ipaq3600"; |
133 | else if ( model >= Model_SIMpad_CL4 && model <= Model_SIMpad_TSinus ) | 133 | else if ( model >= Model_SIMpad_CL4 && model <= Model_SIMpad_TSinus ) |
134 | modelPixmap += "simpad"; | 134 | modelPixmap += "simpad"; |
135 | else if ( model == Model_Jornada_56x ) | ||
136 | modelPixmap += "jornada56x"; | ||
135 | else | 137 | else |
136 | modelPixmap += "pda"; | 138 | modelPixmap += "pda"; |
137 | 139 | ||
138 | QImage logo3 = Resource::loadImage( modelPixmap ); | 140 | QImage logo3 = Resource::loadImage( modelPixmap ); |
139 | 141 | ||
140 | int width = logo3.width(); | 142 | int width = logo3.width(); |
141 | int height = logo3.height(); | 143 | int height = logo3.height(); |
142 | float aspect = float( height ) / width; | 144 | float aspect = float( height ) / width; |
143 | logo3 = logo3.smoothScale( 50, 50.0 * aspect ); | 145 | logo3 = logo3.smoothScale( 50, 50.0 * aspect ); |
144 | 146 | ||
145 | QPixmap logo3Pixmap; | 147 | QPixmap logo3Pixmap; |
146 | logo3Pixmap.convertFromImage( logo3 ); | 148 | logo3Pixmap.convertFromImage( logo3 ); |
147 | palmtopLogo3->setPixmap( logo3Pixmap ); | 149 | palmtopLogo3->setPixmap( logo3Pixmap ); |
148 | palmtopLogo3->setFixedSize( 60, 100 ); | 150 | palmtopLogo3->setFixedSize( 60, 100 ); |
149 | hb3->addWidget( palmtopLogo3, 0, Qt::AlignTop + Qt::AlignLeft ); | 151 | hb3->addWidget( palmtopLogo3, 0, Qt::AlignTop + Qt::AlignLeft ); |
150 | 152 | ||
diff --git a/pics/sysinfo/jornada56x.png b/pics/sysinfo/jornada56x.png new file mode 100644 index 0000000..e56f630 --- a/dev/null +++ b/pics/sysinfo/jornada56x.png | |||
Binary files differ | |||