summaryrefslogtreecommitdiff
path: root/core/applets/aboutapplet
authormickeyl <mickeyl>2004-08-24 22:03:14 (UTC)
committer mickeyl <mickeyl>2004-08-24 22:03:14 (UTC)
commitbc5cab6c01856b89c8b407fe7cccdb52cfcb5697 (patch) (unidiff)
treeccae965c22eed8e2e6bdfc8043b3977907a07398 /core/applets/aboutapplet
parent73253e93327cf4ef0932de1b4afb56af22a0f37e (diff)
downloadopie-bc5cab6c01856b89c8b407fe7cccdb52cfcb5697.zip
opie-bc5cab6c01856b89c8b407fe7cccdb52cfcb5697.tar.gz
opie-bc5cab6c01856b89c8b407fe7cccdb52cfcb5697.tar.bz2
- tweak version preparing the next release
- add eilers - show fullscreen on small screens
Diffstat (limited to 'core/applets/aboutapplet') (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/aboutapplet/about.cpp4
-rw-r--r--core/applets/aboutapplet/dialog.ui7
2 files changed, 6 insertions, 5 deletions
diff --git a/core/applets/aboutapplet/about.cpp b/core/applets/aboutapplet/about.cpp
index bbdc1b1..3952d0a 100644
--- a/core/applets/aboutapplet/about.cpp
+++ b/core/applets/aboutapplet/about.cpp
@@ -1,15 +1,16 @@
1#include "about.h" 1#include "about.h"
2#include "dialog.h" 2#include "dialog.h"
3 3
4#include <qpe/qpeapplication.h>
4#include <qpe/resource.h> 5#include <qpe/resource.h>
5#include <qpe/qcopenvelope_qws.h> 6#include <qpe/qcopenvelope_qws.h>
6 7
7#include <qapplication.h> 8#include <qapplication.h>
8#include <qlabel.h> 9#include <qlabel.h>
9 10
10AboutApplet::AboutApplet ( ) 11AboutApplet::AboutApplet ( )
11 : QObject ( 0, "AboutApplet" ) 12 : QObject ( 0, "AboutApplet" )
12{} 13{}
13 14
14AboutApplet::~AboutApplet ( ) 15AboutApplet::~AboutApplet ( )
15{} 16{}
@@ -51,26 +52,25 @@ QIconSet AboutApplet::icon ( ) const
51 52
52QPopupMenu *AboutApplet::popup ( QWidget * ) const 53QPopupMenu *AboutApplet::popup ( QWidget * ) const
53{ 54{
54 return 0; 55 return 0;
55} 56}
56 57
57void AboutApplet::activated() 58void AboutApplet::activated()
58{ 59{
59 AboutDialog* d = new AboutDialog( qApp->mainWidget(), "aboutDialog", true ); 60 AboutDialog* d = new AboutDialog( qApp->mainWidget(), "aboutDialog", true );
60 if ( qApp->desktop()->width() == 240 ) 61 if ( qApp->desktop()->width() == 240 )
61 { 62 {
62 d->logo->hide(); 63 d->logo->hide();
63 d->setFixedWidth( qApp->desktop()->width() - 5 ); 64 d->showMaximized();
64 d->setFixedHeight( qApp->desktop()->height() - 50 );
65 } 65 }
66 d->exec(); 66 d->exec();
67} 67}
68 68
69QRESULT AboutApplet::queryInterface ( const QUuid &uuid, QUnknownInterface **iface ) 69QRESULT AboutApplet::queryInterface ( const QUuid &uuid, QUnknownInterface **iface )
70{ 70{
71 *iface = 0; 71 *iface = 0;
72 if ( uuid == IID_QUnknown ) 72 if ( uuid == IID_QUnknown )
73 * iface = this; 73 * iface = this;
74 else if ( uuid == IID_MenuApplet ) 74 else if ( uuid == IID_MenuApplet )
75 * iface = this; 75 * iface = this;
76 else 76 else
diff --git a/core/applets/aboutapplet/dialog.ui b/core/applets/aboutapplet/dialog.ui
index dac241f..539bde1 100644
--- a/core/applets/aboutapplet/dialog.ui
+++ b/core/applets/aboutapplet/dialog.ui
@@ -2,25 +2,25 @@
2<class>AboutDialog</class> 2<class>AboutDialog</class>
3<widget> 3<widget>
4 <class>QDialog</class> 4 <class>QDialog</class>
5 <property stdset="1"> 5 <property stdset="1">
6 <name>name</name> 6 <name>name</name>
7 <cstring>AboutDialog</cstring> 7 <cstring>AboutDialog</cstring>
8 </property> 8 </property>
9 <property stdset="1"> 9 <property stdset="1">
10 <name>geometry</name> 10 <name>geometry</name>
11 <rect> 11 <rect>
12 <x>0</x> 12 <x>0</x>
13 <y>0</y> 13 <y>0</y>
14 <width>402</width> 14 <width>398</width>
15 <height>210</height> 15 <height>210</height>
16 </rect> 16 </rect>
17 </property> 17 </property>
18 <property stdset="1"> 18 <property stdset="1">
19 <name>caption</name> 19 <name>caption</name>
20 <string>About</string> 20 <string>About</string>
21 </property> 21 </property>
22 <property> 22 <property>
23 <name>layoutMargin</name> 23 <name>layoutMargin</name>
24 </property> 24 </property>
25 <property> 25 <property>
26 <name>layoutSpacing</name> 26 <name>layoutSpacing</name>
@@ -33,25 +33,25 @@
33 <property stdset="1"> 33 <property stdset="1">
34 <name>spacing</name> 34 <name>spacing</name>
35 <number>1</number> 35 <number>1</number>
36 </property> 36 </property>
37 <widget row="0" column="0" rowspan="1" colspan="2" > 37 <widget row="0" column="0" rowspan="1" colspan="2" >
38 <class>QLabel</class> 38 <class>QLabel</class>
39 <property stdset="1"> 39 <property stdset="1">
40 <name>name</name> 40 <name>name</name>
41 <cstring>TextLabel1</cstring> 41 <cstring>TextLabel1</cstring>
42 </property> 42 </property>
43 <property stdset="1"> 43 <property stdset="1">
44 <name>text</name> 44 <name>text</name>
45 <string>&lt;center&gt;&lt;b&gt;The Open Palmtop Integrated Environment V1.1.3&lt;/b&gt;&lt;/center&gt;</string> 45 <string>&lt;center&gt;&lt;b&gt;The Open Palmtop Integrated Environment V1.1.6&lt;/b&gt;&lt;/center&gt;</string>
46 </property> 46 </property>
47 </widget> 47 </widget>
48 <widget row="1" column="0" > 48 <widget row="1" column="0" >
49 <class>QLabel</class> 49 <class>QLabel</class>
50 <property stdset="1"> 50 <property stdset="1">
51 <name>name</name> 51 <name>name</name>
52 <cstring>logo</cstring> 52 <cstring>logo</cstring>
53 </property> 53 </property>
54 <property stdset="1"> 54 <property stdset="1">
55 <name>palette</name> 55 <name>palette</name>
56 <palette> 56 <palette>
57 <active> 57 <active>
@@ -373,24 +373,25 @@ Visit &lt;i&gt;http://opie.handhelds.org&lt;/i&gt; for more information on the O
373 <number>1</number> 373 <number>1</number>
374 </property> 374 </property>
375 <widget> 375 <widget>
376 <class>QTextBrowser</class> 376 <class>QTextBrowser</class>
377 <property stdset="1"> 377 <property stdset="1">
378 <name>name</name> 378 <name>name</name>
379 <cstring>TextBrowser2</cstring> 379 <cstring>TextBrowser2</cstring>
380 </property> 380 </property>
381 <property stdset="1"> 381 <property stdset="1">
382 <name>text</name> 382 <name>text</name>
383 <string>&lt;p&gt; 383 <string>&lt;p&gt;
384&lt;b&gt;Rajko 'alwin' Albrecht&lt;/b&gt; (alwin@handhelds.org)&lt;br/&gt; 384&lt;b&gt;Rajko 'alwin' Albrecht&lt;/b&gt; (alwin@handhelds.org)&lt;br/&gt;
385&lt;b&gt;Stefan 'eilers' Eilers&lt;/b&gt; (eilers@handhelds.org)&lt;br/&gt;
385&lt;b&gt;Holger 'Zecke' Freyther&lt;/b&gt; (zecke@handhelds.org)&lt;br/&gt; 386&lt;b&gt;Holger 'Zecke' Freyther&lt;/b&gt; (zecke@handhelds.org)&lt;br/&gt;
386&lt;b&gt;Chris 'Kergoth' Larson&lt;/b&gt; (kergoth@handhelds.org)&lt;br/&gt; 387&lt;b&gt;Chris 'Kergoth' Larson&lt;/b&gt; (kergoth@handhelds.org)&lt;br/&gt;
387&lt;b&gt;Michael 'Mickey' Lauer&lt;/b&gt; (mickeyl@handhelds.org)&lt;br/&gt; 388&lt;b&gt;Michael 'Mickey' Lauer&lt;/b&gt; (mickeyl@handhelds.org)&lt;br/&gt;
388&lt;b&gt;Lorn 'ljp' Potter&lt;/b&gt; (ljp@handhelds.org)&lt;br/&gt; 389&lt;b&gt;Lorn 'ljp' Potter&lt;/b&gt; (ljp@handhelds.org)&lt;br/&gt;
389&lt;b&gt;Max 'Harlekin' Reiss&lt;/b&gt; (harlekin@handhelds.org)&lt;br/&gt; 390&lt;b&gt;Max 'Harlekin' Reiss&lt;/b&gt; (harlekin@handhelds.org)&lt;br/&gt;
390&lt;b&gt;Andreas 'ar' Richter&lt;/b&gt; (ar@handhelds.org)&lt;br/&gt; 391&lt;b&gt;Andreas 'ar' Richter&lt;/b&gt; (ar@handhelds.org)&lt;br/&gt;
391&lt;b&gt;Dan 'drw' Williams&lt;/b&gt; (drw@handhelds.org)&lt;/tt&gt;&lt;br/&gt; 392&lt;b&gt;Dan 'drw' Williams&lt;/b&gt; (drw@handhelds.org)&lt;/tt&gt;&lt;br/&gt;
392&lt;/p&gt;</string> 393&lt;/p&gt;</string>
393 </property> 394 </property>
394 </widget> 395 </widget>
395 </hbox> 396 </hbox>
396 </widget> 397 </widget>
@@ -459,16 +460,16 @@ Visit &lt;i&gt;http://opie.handhelds.org&lt;/i&gt; for more information on the O
459&lt;p&gt;Visit &lt;i&gt;http://opie.handhelds.org/&lt;/i&gt; for information on some projects in which you can participate.&lt;/p&gt; 460&lt;p&gt;Visit &lt;i&gt;http://opie.handhelds.org/&lt;/i&gt; for information on some projects in which you can participate.&lt;/p&gt;
460&lt;p&gt;If you need more information or documentation, then a visit to &lt;i&gt;http://opie.handhelds.org/&lt;/i&gt; will provide you with what you need.&lt;/p&gt;</string> 461&lt;p&gt;If you need more information or documentation, then a visit to &lt;i&gt;http://opie.handhelds.org/&lt;/i&gt; will provide you with what you need.&lt;/p&gt;</string>
461 </property> 462 </property>
462 </widget> 463 </widget>
463 </vbox> 464 </vbox>
464 </widget> 465 </widget>
465 </widget> 466 </widget>
466 </grid> 467 </grid>
467</widget> 468</widget>
468<images> 469<images>
469 <image> 470 <image>
470 <name>image0</name> 471 <name>image0</name>