-rw-r--r-- | core/pim/today/changelog | 7 | ||||
-rw-r--r-- | core/pim/today/opie-today.control | 2 | ||||
-rw-r--r-- | core/pim/today/today.cpp | 8 | ||||
-rw-r--r-- | core/pim/today/todaybase.cpp | 28 |
4 files changed, 22 insertions, 23 deletions
diff --git a/core/pim/today/changelog b/core/pim/today/changelog index 500090d..a77e581 100644 --- a/core/pim/today/changelog +++ b/core/pim/today/changelog | |||
@@ -1 +1,6 @@ | |||
1 | 0.6.2 | ||
2 | |||
3 | * header can now be made smaller | ||
4 | * changed header to different layout mode to play nicer with life rotation | ||
5 | |||
1 | 0.6.1 | 6 | 0.6.1 |
@@ -3,3 +8,3 @@ | |||
3 | * datebook plugin now can now also show following days | 8 | * datebook plugin now can now also show following days |
4 | + changed refresh | 9 | * changed refresh |
5 | * fixed one mem leak | 10 | * fixed one mem leak |
diff --git a/core/pim/today/opie-today.control b/core/pim/today/opie-today.control index 40c2cdf..0e79d69 100644 --- a/core/pim/today/opie-today.control +++ b/core/pim/today/opie-today.control | |||
@@ -5,3 +5,3 @@ Maintainer: Maximilian Reiß <harlekin@handhelds.org> | |||
5 | Architecture: arm | 5 | Architecture: arm |
6 | Version: 0.6-$SUB_VERSION | 6 | Version: 0.6,2-$SUB_VERSION |
7 | Depends: opie-base, libopie1 | 7 | Depends: opie-base, libopie1 |
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp index 0b61bf8..d0cdd18 100644 --- a/core/pim/today/today.cpp +++ b/core/pim/today/today.cpp | |||
@@ -147,6 +147,2 @@ void Today::init() { | |||
147 | TodayLabel->hide(); | 147 | TodayLabel->hide(); |
148 | Frame->setMaximumHeight( 18 ); | ||
149 | Frame->setMinimumHeight( 18 ); | ||
150 | DateLabel->setGeometry( QRect( 10, 2, 168, 12 ) ); | ||
151 | ConfigButton->setGeometry( QRect( QApplication::desktop()->width()-20, 0, 25, 20 ) ); | ||
152 | } else { | 148 | } else { |
@@ -154,6 +150,2 @@ void Today::init() { | |||
154 | TodayLabel->show(); | 150 | TodayLabel->show(); |
155 | Frame->setMaximumHeight( 50 ); | ||
156 | Frame->setMinimumHeight( 50 ); | ||
157 | DateLabel->setGeometry( QRect( 10, 35, 168, 12 ) ); | ||
158 | ConfigButton->setGeometry( QRect( QApplication::desktop()->width()-80, 29, 25, 20 ) ); | ||
159 | } | 151 | } |
diff --git a/core/pim/today/todaybase.cpp b/core/pim/today/todaybase.cpp index a36ecaa..c896463 100644 --- a/core/pim/today/todaybase.cpp +++ b/core/pim/today/todaybase.cpp | |||
@@ -3,3 +3,3 @@ | |||
3 | * | 3 | * |
4 | * copyright : (c) 2002 by Maximilian Reiß | 4 | * copyright : (c) 2002, 2003 by Maximilian Reiß |
5 | * email : harlekin@handhelds.org | 5 | * email : harlekin@handhelds.org |
@@ -18,6 +18,4 @@ | |||
18 | 18 | ||
19 | #include <qvbox.h> | ||
19 | #include <qlabel.h> | 20 | #include <qlabel.h> |
20 | #include <qimage.h> | ||
21 | #include <qpixmap.h> | ||
22 | #include <qapplication.h> | ||
23 | #include <qwhatsthis.h> | 21 | #include <qwhatsthis.h> |
@@ -50,3 +48,4 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags ) | |||
50 | pal2.setActive( cg ); | 48 | pal2.setActive( cg ); |
51 | // today logo | 49 | |
50 | // today logo | ||
52 | Frame = new QLabel( this, "Frame" ); | 51 | Frame = new QLabel( this, "Frame" ); |
@@ -56,8 +55,7 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags ) | |||
56 | Frame->setLineWidth( 0 ); | 55 | Frame->setLineWidth( 0 ); |
57 | Frame->setMaximumHeight( 50 ); | ||
58 | Frame->setMinimumHeight( 50 ); | ||
59 | 56 | ||
57 | QHBoxLayout *frameLayout = new QHBoxLayout( Frame ); | ||
58 | QVBox *box1 = new QVBox( Frame ); | ||
60 | // Today text | 59 | // Today text |
61 | TodayLabel = new QLabel( Frame, "TodayText" ); | 60 | TodayLabel = new QLabel( box1, "TodayText" ); |
62 | TodayLabel->setGeometry( QRect( 10, 1, 168, 40 ) ); | ||
63 | QFont TodayLabel_font( TodayLabel->font() ); | 61 | QFont TodayLabel_font( TodayLabel->font() ); |
@@ -70,4 +68,3 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags ) | |||
70 | // date | 68 | // date |
71 | DateLabel = new QLabel( Frame, "TextLabel1" ); | 69 | DateLabel = new QLabel( box1, "TextLabel1" ); |
72 | DateLabel->setGeometry( QRect( 10, 35, 168, 12 ) ); | ||
73 | QFont DateLabel_font( DateLabel->font() ); | 70 | QFont DateLabel_font( DateLabel->font() ); |
@@ -81,3 +78,2 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags ) | |||
81 | Opiezilla->setPixmap( opiezilla ); | 78 | Opiezilla->setPixmap( opiezilla ); |
82 | Opiezilla->setGeometry( QApplication::desktop()->width()-50 ,1, 45, 47 ); | ||
83 | QWhatsThis::add( Opiezilla , tr( "Today by Maximilian Reiß" ) ); | 79 | QWhatsThis::add( Opiezilla , tr( "Today by Maximilian Reiß" ) ); |
@@ -85,2 +81,3 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags ) | |||
85 | 81 | ||
82 | |||
86 | // Ownerfield | 83 | // Ownerfield |
@@ -93,3 +90,2 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags ) | |||
93 | ConfigButton = new OClickableLabel ( Frame, "PushButton1" ); | 90 | ConfigButton = new OClickableLabel ( Frame, "PushButton1" ); |
94 | ConfigButton->setGeometry( QRect( QApplication::desktop()->width()-80, 29, 25, 20 ) ); | ||
95 | ConfigButton->setPixmap( config ); | 91 | ConfigButton->setPixmap( config ); |
@@ -97,4 +93,10 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags ) | |||
97 | ConfigButton->setBackgroundOrigin( QLabel::ParentOrigin ); | 93 | ConfigButton->setBackgroundOrigin( QLabel::ParentOrigin ); |
94 | |||
95 | frameLayout->addWidget( box1 ); | ||
96 | frameLayout->addStretch( 2 ); | ||
97 | frameLayout->addWidget( ConfigButton, 0, AlignBottom ); | ||
98 | frameLayout->addWidget( Opiezilla ); | ||
98 | } | 99 | } |
99 | 100 | ||
101 | |||
100 | /** | 102 | /** |