summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2004-08-24 22:03:14 (UTC)
committer mickeyl <mickeyl>2004-08-24 22:03:14 (UTC)
commitbc5cab6c01856b89c8b407fe7cccdb52cfcb5697 (patch) (unidiff)
treeccae965c22eed8e2e6bdfc8043b3977907a07398
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 (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,89 +1,89 @@
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{}
16 17
17int AboutApplet::position ( ) const 18int AboutApplet::position ( ) const
18{ 19{
19 return 1; 20 return 1;
20} 21}
21 22
22QString AboutApplet::name ( ) const 23QString AboutApplet::name ( ) const
23{ 24{
24 return tr( "About shortcut" ); 25 return tr( "About shortcut" );
25} 26}
26 27
27QString AboutApplet::text ( ) const 28QString AboutApplet::text ( ) const
28{ 29{
29 return tr( "About" ); 30 return tr( "About" );
30} 31}
31 32
32QString AboutApplet::tr( const char* s ) const 33QString AboutApplet::tr( const char* s ) const
33{ 34{
34 return qApp->translate( "AboutApplet", s, 0 ); 35 return qApp->translate( "AboutApplet", s, 0 );
35} 36}
36 37
37QString AboutApplet::tr( const char* s, const char* p ) const 38QString AboutApplet::tr( const char* s, const char* p ) const
38{ 39{
39 return qApp->translate( "AboutApplet", s, p ); 40 return qApp->translate( "AboutApplet", s, p );
40} 41}
41 42
42QIconSet AboutApplet::icon ( ) const 43QIconSet AboutApplet::icon ( ) const
43{ 44{
44 QPixmap pix; 45 QPixmap pix;
45 QImage img = Resource::loadImage ( "logo/opielogo" ); 46 QImage img = Resource::loadImage ( "logo/opielogo" );
46 47
47 if ( !img. isNull ( ) ) 48 if ( !img. isNull ( ) )
48 pix. convertFromImage ( img. smoothScale ( 14, 14 ) ); 49 pix. convertFromImage ( img. smoothScale ( 14, 14 ) );
49 return pix; 50 return pix;
50} 51}
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
77 return QS_FALSE; 77 return QS_FALSE;
78 78
79 if ( *iface ) 79 if ( *iface )
80 ( *iface ) -> addRef ( ); 80 ( *iface ) -> addRef ( );
81 return QS_OK; 81 return QS_OK;
82} 82}
83 83
84Q_EXPORT_INTERFACE( ) 84Q_EXPORT_INTERFACE( )
85{ 85{
86 Q_CREATE_INSTANCE( AboutApplet ) 86 Q_CREATE_INSTANCE( AboutApplet )
87} 87}
88 88
89 89
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
@@ -1,93 +1,93 @@
1<!DOCTYPE UI><UI> 1<!DOCTYPE UI><UI>
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>
27 </property> 27 </property>
28 <grid> 28 <grid>
29 <property stdset="1"> 29 <property stdset="1">
30 <name>margin</name> 30 <name>margin</name>
31 <number>2</number> 31 <number>2</number>
32 </property> 32 </property>
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>
58 <color> 58 <color>
59 <red>0</red> 59 <red>0</red>
60 <green>0</green> 60 <green>0</green>
61 <blue>0</blue> 61 <blue>0</blue>
62 </color> 62 </color>
63 <color> 63 <color>
64 <red>197</red> 64 <red>197</red>
65 <green>196</green> 65 <green>196</green>
66 <blue>185</blue> 66 <blue>185</blue>
67 </color> 67 </color>
68 <color> 68 <color>
69 <red>255</red> 69 <red>255</red>
70 <green>255</green> 70 <green>255</green>
71 <blue>255</blue> 71 <blue>255</blue>
72 </color> 72 </color>
73 <color> 73 <color>
74 <red>226</red> 74 <red>226</red>
75 <green>225</green> 75 <green>225</green>
76 <blue>220</blue> 76 <blue>220</blue>
77 </color> 77 </color>
78 <color> 78 <color>
79 <red>98</red> 79 <red>98</red>
80 <green>97</green> 80 <green>97</green>
81 <blue>92</blue> 81 <blue>92</blue>
82 </color> 82 </color>
83 <color> 83 <color>
84 <red>131</red> 84 <red>131</red>
85 <green>130</green> 85 <green>130</green>
86 <blue>123</blue> 86 <blue>123</blue>
87 </color> 87 </color>
88 <color> 88 <color>
89 <red>0</red> 89 <red>0</red>
90 <green>0</green> 90 <green>0</green>
91 <blue>0</blue> 91 <blue>0</blue>
92 </color> 92 </color>
93 <color> 93 <color>
@@ -337,138 +337,139 @@
337 <property stdset="1"> 337 <property stdset="1">
338 <name>text</name> 338 <name>text</name>
339 <string>&lt;p&gt; 339 <string>&lt;p&gt;
340The &lt;b&gt;Open Palmtop Integrated Environment&lt;/b&gt; is written and maintained by the Opie Team, a world-wide network of software engineers committed to free software development. 340The &lt;b&gt;Open Palmtop Integrated Environment&lt;/b&gt; is written and maintained by the Opie Team, a world-wide network of software engineers committed to free software development.
341&lt;/p&gt; 341&lt;/p&gt;
342&lt;p&gt; 342&lt;p&gt;
343No single group, company or organization controls the Opie source code. Everyone is welcome to contribute to Opie. 343No single group, company or organization controls the Opie source code. Everyone is welcome to contribute to Opie.
344&lt;/p&gt; 344&lt;/p&gt;
345&lt;p&gt; 345&lt;p&gt;
346Visit &lt;i&gt;http://opie.handhelds.org&lt;/i&gt; for more information on the Opie Project. 346Visit &lt;i&gt;http://opie.handhelds.org&lt;/i&gt; for more information on the Opie Project.
347&lt;/p&gt;</string> 347&lt;/p&gt;</string>
348 </property> 348 </property>
349 <property stdset="1"> 349 <property stdset="1">
350 <name>textFormat</name> 350 <name>textFormat</name>
351 <enum>RichText</enum> 351 <enum>RichText</enum>
352 </property> 352 </property>
353 </widget> 353 </widget>
354 </vbox> 354 </vbox>
355 </widget> 355 </widget>
356 <widget> 356 <widget>
357 <class>QWidget</class> 357 <class>QWidget</class>
358 <property stdset="1"> 358 <property stdset="1">
359 <name>name</name> 359 <name>name</name>
360 <cstring>tab</cstring> 360 <cstring>tab</cstring>
361 </property> 361 </property>
362 <attribute> 362 <attribute>
363 <name>title</name> 363 <name>title</name>
364 <string>Authors</string> 364 <string>Authors</string>
365 </attribute> 365 </attribute>
366 <hbox> 366 <hbox>
367 <property stdset="1"> 367 <property stdset="1">
368 <name>margin</name> 368 <name>margin</name>
369 <number>1</number> 369 <number>1</number>
370 </property> 370 </property>
371 <property stdset="1"> 371 <property stdset="1">
372 <name>spacing</name> 372 <name>spacing</name>
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>
397 <widget> 398 <widget>
398 <class>QWidget</class> 399 <class>QWidget</class>
399 <property stdset="1"> 400 <property stdset="1">
400 <name>name</name> 401 <name>name</name>
401 <cstring>tab</cstring> 402 <cstring>tab</cstring>
402 </property> 403 </property>
403 <attribute> 404 <attribute>
404 <name>title</name> 405 <name>title</name>
405 <string>Report</string> 406 <string>Report</string>
406 </attribute> 407 </attribute>
407 <hbox> 408 <hbox>
408 <property stdset="1"> 409 <property stdset="1">
409 <name>margin</name> 410 <name>margin</name>
410 <number>1</number> 411 <number>1</number>
411 </property> 412 </property>
412 <property stdset="1"> 413 <property stdset="1">
413 <name>spacing</name> 414 <name>spacing</name>
414 <number>1</number> 415 <number>1</number>
415 </property> 416 </property>
416 <widget> 417 <widget>
417 <class>QTextBrowser</class> 418 <class>QTextBrowser</class>
418 <property stdset="1"> 419 <property stdset="1">
419 <name>name</name> 420 <name>name</name>
420 <cstring>TextBrowser3</cstring> 421 <cstring>TextBrowser3</cstring>
421 </property> 422 </property>
422 <property stdset="1"> 423 <property stdset="1">
423 <name>text</name> 424 <name>text</name>
424 <string>&lt;p&gt;Software can always be improved, and the Opie Team is ready to do so. However, you - the user - must tell us when something does not work as expected or could be done better.&lt;/p&gt; 425 <string>&lt;p&gt;Software can always be improved, and the Opie Team is ready to do so. However, you - the user - must tell us when something does not work as expected or could be done better.&lt;/p&gt;
425&lt;p&gt;The Open Palmtop Integrated Environment has a bug tracking system. Visit &lt;i&gt;http://opie.handhelds.org/&lt;/i&gt; to report bugs.&lt;/p&gt; 426&lt;p&gt;The Open Palmtop Integrated Environment has a bug tracking system. Visit &lt;i&gt;http://opie.handhelds.org/&lt;/i&gt; to report bugs.&lt;/p&gt;
426&lt;p&gt;If you have a suggestion for improvement then you are welcome to use the bug tracking system to register your wish. Make sure you use the severity called "Feature Wish".&lt;/p&gt;</string> 427&lt;p&gt;If you have a suggestion for improvement then you are welcome to use the bug tracking system to register your wish. Make sure you use the severity called "Feature Wish".&lt;/p&gt;</string>
427 </property> 428 </property>
428 </widget> 429 </widget>
429 </hbox> 430 </hbox>
430 </widget> 431 </widget>
431 <widget> 432 <widget>
432 <class>QWidget</class> 433 <class>QWidget</class>
433 <property stdset="1"> 434 <property stdset="1">
434 <name>name</name> 435 <name>name</name>
435 <cstring>tab</cstring> 436 <cstring>tab</cstring>
436 </property> 437 </property>
437 <attribute> 438 <attribute>
438 <name>title</name> 439 <name>title</name>
439 <string>Join</string> 440 <string>Join</string>
440 </attribute> 441 </attribute>
441 <vbox> 442 <vbox>
442 <property stdset="1"> 443 <property stdset="1">
443 <name>margin</name> 444 <name>margin</name>
444 <number>1</number> 445 <number>1</number>
445 </property> 446 </property>
446 <property stdset="1"> 447 <property stdset="1">
447 <name>spacing</name> 448 <name>spacing</name>
448 <number>1</number> 449 <number>1</number>
449 </property> 450 </property>
450 <widget> 451 <widget>
451 <class>QTextBrowser</class> 452 <class>QTextBrowser</class>
452 <property stdset="1"> 453 <property stdset="1">
453 <name>name</name> 454 <name>name</name>
454 <cstring>TextBrowser4</cstring> 455 <cstring>TextBrowser4</cstring>
455 </property> 456 </property>
456 <property stdset="1"> 457 <property stdset="1">
457 <name>text</name> 458 <name>text</name>
458 <string>&lt;p&gt;You don't have to be a software developer to be a member of the Opie Team. You can join the national teams that translate program interfaces. You can provide graphics, themes, sounds and improved documentation. You decide!&lt;/p&gt; 459 <string>&lt;p&gt;You don't have to be a software developer to be a member of the Opie Team. You can join the national teams that translate program interfaces. You can provide graphics, themes, sounds and improved documentation. You decide!&lt;/p&gt;
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>