summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-12-11 11:59:10 (UTC)
committer llornkcor <llornkcor>2002-12-11 11:59:10 (UTC)
commitd7b877a5532e6377f034514c89c0b45b96265471 (patch) (unidiff)
tree6afe5e4f0af34f8cec9dceb9a12609467d191de6
parent4cf77382173b52d62b164d660e300b299e4cafe7 (diff)
downloadopie-d7b877a5532e6377f034514c89c0b45b96265471.zip
opie-d7b877a5532e6377f034514c89c0b45b96265471.tar.gz
opie-d7b877a5532e6377f034514c89c0b45b96265471.tar.bz2
changed to new pda icon
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/sysinfo/versioninfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/sysinfo/versioninfo.cpp b/noncore/settings/sysinfo/versioninfo.cpp
index 658f371..9a444df 100644
--- a/noncore/settings/sysinfo/versioninfo.cpp
+++ b/noncore/settings/sysinfo/versioninfo.cpp
@@ -68,77 +68,77 @@ VersionInfo::VersionInfo( QWidget *parent, const char *name, WFlags f )
68#else 68#else
69 QString builder = "Unknown"; 69 QString builder = "Unknown";
70#endif 70#endif
71 palmtopVersionString.append( tr( "Compiled by: " ) ); 71 palmtopVersionString.append( tr( "Compiled by: " ) );
72 palmtopVersionString.append( builder ); 72 palmtopVersionString.append( builder );
73 palmtopVersionString.append( "<p>" ); 73 palmtopVersionString.append( "<p>" );
74 palmtopVersionString.append( tr( "Built on: " ) ); 74 palmtopVersionString.append( tr( "Built on: " ) );
75 palmtopVersionString.append( __DATE__ ); 75 palmtopVersionString.append( __DATE__ );
76 76
77 77
78 QHBoxLayout *hb1 = new QHBoxLayout( vb ); 78 QHBoxLayout *hb1 = new QHBoxLayout( vb );
79 hb1->setSpacing( 2 ); 79 hb1->setSpacing( 2 );
80 80
81 QLabel *palmtopLogo = new QLabel( this ); 81 QLabel *palmtopLogo = new QLabel( this );
82 QImage logo1 = Resource::loadImage( "logo/opielogo" ); 82 QImage logo1 = Resource::loadImage( "logo/opielogo" );
83 logo1 = logo1.smoothScale( 50, 55 ); 83 logo1 = logo1.smoothScale( 50, 55 );
84 QPixmap logo1Pixmap; 84 QPixmap logo1Pixmap;
85 logo1Pixmap.convertFromImage( logo1 ); 85 logo1Pixmap.convertFromImage( logo1 );
86 palmtopLogo->setPixmap( logo1Pixmap ); 86 palmtopLogo->setPixmap( logo1Pixmap );
87 palmtopLogo->setFixedSize( 60, 60 ); 87 palmtopLogo->setFixedSize( 60, 60 );
88 hb1->addWidget( palmtopLogo, 0, Qt::AlignTop + Qt::AlignLeft ); 88 hb1->addWidget( palmtopLogo, 0, Qt::AlignTop + Qt::AlignLeft );
89 89
90 QLabel *palmtopVersion = new QLabel( this ); 90 QLabel *palmtopVersion = new QLabel( this );
91 palmtopVersion->setText( palmtopVersionString ); 91 palmtopVersion->setText( palmtopVersionString );
92 hb1->addWidget( palmtopVersion, 1, Qt::AlignTop + Qt::AlignLeft ); 92 hb1->addWidget( palmtopVersion, 1, Qt::AlignTop + Qt::AlignLeft );
93 93
94 94
95 QHBoxLayout *hb2 = new QHBoxLayout( vb ); 95 QHBoxLayout *hb2 = new QHBoxLayout( vb );
96 hb1->setSpacing( 2 ); 96 hb1->setSpacing( 2 );
97 97
98 QLabel *linuxLogo = new QLabel( this ); 98 QLabel *linuxLogo = new QLabel( this );
99 QImage logo2 = Resource::loadImage( "logo/tux-logo" ); 99 QImage logo2 = Resource::loadImage( "logo/tux-logo" );
100 logo2 = logo2.smoothScale( 55, 60 ); 100 logo2 = logo2.smoothScale( 55, 60 );
101 QPixmap logo2Pixmap; 101 QPixmap logo2Pixmap;
102 logo2Pixmap.convertFromImage( logo2 ); 102 logo2Pixmap.convertFromImage( logo2 );
103 linuxLogo->setPixmap( logo2Pixmap ); 103 linuxLogo->setPixmap( logo2Pixmap );
104 linuxLogo->setFixedSize( 60, 60 ); 104 linuxLogo->setFixedSize( 60, 60 );
105 hb2->addWidget( linuxLogo, 0, Qt::AlignTop + Qt::AlignLeft ); 105 hb2->addWidget( linuxLogo, 0, Qt::AlignTop + Qt::AlignLeft );
106 106
107 QLabel *kernelVersion = new QLabel( this ); 107 QLabel *kernelVersion = new QLabel( this );
108 kernelVersion->setText( kernelVersionString ); 108 kernelVersion->setText( kernelVersionString );
109 hb2->addWidget( kernelVersion, 1, Qt::AlignTop + Qt::AlignLeft ); 109 hb2->addWidget( kernelVersion, 1, Qt::AlignTop + Qt::AlignLeft );
110 110
111 111
112 QHBoxLayout *hb3 = new QHBoxLayout( vb ); 112 QHBoxLayout *hb3 = new QHBoxLayout( vb );
113 hb3->setSpacing( 2 ); 113 hb3->setSpacing( 2 );
114 114
115 QLabel *palmtopLogo3 = new QLabel( this ); 115 QLabel *palmtopLogo3 = new QLabel( this );
116 QImage logo3 = Resource::loadImage( "SystemInfo" ); 116 QImage logo3 = Resource::loadImage( "sysinfo/pda" );
117 logo3 = logo3.smoothScale( 50, 55 ); 117 logo3 = logo3.smoothScale( 50, 55 );
118 QPixmap logo3Pixmap; 118 QPixmap logo3Pixmap;
119 logo3Pixmap.convertFromImage( logo3 ); 119 logo3Pixmap.convertFromImage( logo3 );
120 palmtopLogo3->setPixmap( logo3Pixmap ); 120 palmtopLogo3->setPixmap( logo3Pixmap );
121 palmtopLogo3->setFixedSize( 60, 60 ); 121 palmtopLogo3->setFixedSize( 60, 60 );
122 hb3->addWidget( palmtopLogo3, 0, Qt::AlignTop + Qt::AlignLeft ); 122 hb3->addWidget( palmtopLogo3, 0, Qt::AlignTop + Qt::AlignLeft );
123 123
124 QString systemString = "<b>"; 124 QString systemString = "<b>";
125 systemString.append( ODevice::inst()->systemString() ); 125 systemString.append( ODevice::inst()->systemString() );
126 systemString.append( "</b>" ); 126 systemString.append( "</b>" );
127 systemString.append( tr( "<p>Version: " ) ); 127 systemString.append( tr( "<p>Version: " ) );
128 systemString.append( ODevice::inst()->systemVersionString() ); 128 systemString.append( ODevice::inst()->systemVersionString() );
129 systemString.append( tr( "<p>Model: " ) ); 129 systemString.append( tr( "<p>Model: " ) );
130 systemString.append( ODevice::inst()->modelString() ); 130 systemString.append( ODevice::inst()->modelString() );
131 systemString.append( tr( "<p>Vendor: " ) ); 131 systemString.append( tr( "<p>Vendor: " ) );
132 systemString.append( ODevice::inst()->vendorString() ); 132 systemString.append( ODevice::inst()->vendorString() );
133 133
134 QLabel *systemVersion = new QLabel( this ); 134 QLabel *systemVersion = new QLabel( this );
135 systemVersion->setText( systemString ); 135 systemVersion->setText( systemString );
136 hb3->addWidget( systemVersion, 1, Qt::AlignTop + Qt::AlignLeft ); 136 hb3->addWidget( systemVersion, 1, Qt::AlignTop + Qt::AlignLeft );
137 137
138 QWhatsThis::add( this, tr( "This page shows the current versions of Opie, the Linux kernel and distribution running on this handheld device." ) ); 138 QWhatsThis::add( this, tr( "This page shows the current versions of Opie, the Linux kernel and distribution running on this handheld device." ) );
139} 139}
140 140
141VersionInfo::~VersionInfo() 141VersionInfo::~VersionInfo()
142{ 142{
143} 143}
144 144