-rw-r--r-- | bin/kdepim/WhatsNew.txt | 6 | ||||
-rw-r--r-- | korganizer/koagendaview.cpp | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/bin/kdepim/WhatsNew.txt b/bin/kdepim/WhatsNew.txt index da5f365..6bc6be9 100644 --- a/bin/kdepim/WhatsNew.txt +++ b/bin/kdepim/WhatsNew.txt | |||
@@ -1,34 +1,40 @@ | |||
1 | Info about the changes in new versions of KDE-Pim/Pi | 1 | Info about the changes in new versions of KDE-Pim/Pi |
2 | 2 | ||
3 | ********** VERSION 2.0.23 ************ | ||
4 | |||
5 | Fixed again a lot of small and strange bugs, e.g. the missing toolbar of KA/Pi after a new installation. | ||
6 | Fixed the (agenda) layout of KO/Pi on 5500er. | ||
7 | Some usebility enhancements (e.g. reselection the current item of the todo view after some changes). | ||
8 | |||
3 | ********** VERSION 2.0.22 ************ | 9 | ********** VERSION 2.0.22 ************ |
4 | 10 | ||
5 | KO/Pi: | 11 | KO/Pi: |
6 | Fix for creating events/todos via the abgenda context menu. | 12 | Fix for creating events/todos via the abgenda context menu. |
7 | Added option to split toolbar to 3 toolbars. | 13 | Added option to split toolbar to 3 toolbars. |
8 | (Toolbar moving s disabled for this option due to a bug in Qt somewhere). | 14 | (Toolbar moving s disabled for this option due to a bug in Qt somewhere). |
9 | Added option to show one small filter-view-toolbar. | 15 | Added option to show one small filter-view-toolbar. |
10 | Added a print option to the desktop version: | 16 | Added a print option to the desktop version: |
11 | Now you can print out the view of the "Event Viewer". | 17 | Now you can print out the view of the "Event Viewer". |
12 | That means you can print all data of one particular event/todo. | 18 | That means you can print all data of one particular event/todo. |
13 | Added scaling options to printout of Event Viewer and What'sNext View. | 19 | Added scaling options to printout of Event Viewer and What'sNext View. |
14 | Fixed some problems in the month view in "week start sunday" mode. | 20 | Fixed some problems in the month view in "week start sunday" mode. |
15 | KA/Pi: | 21 | KA/Pi: |
16 | Added two more config options. | 22 | Added two more config options. |
17 | Fixed resizing problem of address request dialog when orientation was switched. | 23 | Fixed resizing problem of address request dialog when orientation was switched. |
18 | Cleaned up the menu structure. | 24 | Cleaned up the menu structure. |
19 | Fixed some more problems. | 25 | Fixed some more problems. |
20 | 26 | ||
21 | Fixed the annoying problem that scrolling continued after the key was released in KO/Pi Monthview and the KA/Pi views. | 27 | Fixed the annoying problem that scrolling continued after the key was released in KO/Pi Monthview and the KA/Pi views. |
22 | 28 | ||
23 | And, this is a really cool option (Ben did suggest it): | 29 | And, this is a really cool option (Ben did suggest it): |
24 | Now KO/Pi and KA/Pi can be run from a USB stick: | 30 | Now KO/Pi and KA/Pi can be run from a USB stick: |
25 | All data is read from and written to the stick. | 31 | All data is read from and written to the stick. |
26 | You can enable this in the global configure option TAB with: | 32 | You can enable this in the global configure option TAB with: |
27 | Save using LOCAL storage. | 33 | Save using LOCAL storage. |
28 | Just put KDE-Pim/Pi on a memory stick and you can access all your PIM data on every computer with Windows XP. It will work with the ME and Linux versions as well. I will put a memory stick version for teh next stable release online. | 34 | Just put KDE-Pim/Pi on a memory stick and you can access all your PIM data on every computer with Windows XP. It will work with the ME and Linux versions as well. I will put a memory stick version for teh next stable release online. |
29 | 35 | ||
30 | ********** VERSION 2.0.21 ************ | 36 | ********** VERSION 2.0.21 ************ |
31 | 37 | ||
32 | Fixed another SMTP problem in OM/Pi. | 38 | Fixed another SMTP problem in OM/Pi. |
33 | Some small changed in the new datenavigator in KO/Pi. | 39 | Some small changed in the new datenavigator in KO/Pi. |
34 | Changed default setting for new filter in KA/Pi to "exclude categories". | 40 | Changed default setting for new filter in KA/Pi to "exclude categories". |
diff --git a/korganizer/koagendaview.cpp b/korganizer/koagendaview.cpp index 880d399..d450a97 100644 --- a/korganizer/koagendaview.cpp +++ b/korganizer/koagendaview.cpp | |||
@@ -181,65 +181,64 @@ void TimeLabels::drawContents(QPainter *p,int cx, int cy, int cw, int ch) | |||
181 | 181 | ||
182 | } | 182 | } |
183 | 183 | ||
184 | /** | 184 | /** |
185 | Calculates the minimum width. | 185 | Calculates the minimum width. |
186 | */ | 186 | */ |
187 | int TimeLabels::minimumWidth() const | 187 | int TimeLabels::minimumWidth() const |
188 | { | 188 | { |
189 | return mMiniWidth; | 189 | return mMiniWidth; |
190 | } | 190 | } |
191 | 191 | ||
192 | /** updates widget's internal state */ | 192 | /** updates widget's internal state */ |
193 | void TimeLabels::updateConfig() | 193 | void TimeLabels::updateConfig() |
194 | { | 194 | { |
195 | mRedrawNeeded = true; | 195 | mRedrawNeeded = true; |
196 | // set the font | 196 | // set the font |
197 | // config->setGroup("Fonts"); | 197 | // config->setGroup("Fonts"); |
198 | // QFont font = config->readFontEntry("TimeBar Font"); | 198 | // QFont font = config->readFontEntry("TimeBar Font"); |
199 | setFont(KOPrefs::instance()->mTimeBarFont); | 199 | setFont(KOPrefs::instance()->mTimeBarFont); |
200 | QString test = "20"; | 200 | QString test = "20"; |
201 | if (KGlobal::locale()->use12Clock()) | 201 | if (KGlobal::locale()->use12Clock()) |
202 | test = "12"; | 202 | test = "12"; |
203 | mMiniWidth = fontMetrics().width(test); | 203 | mMiniWidth = fontMetrics().width(test); |
204 | if (KGlobal::locale()->use12Clock()) | 204 | if (KGlobal::locale()->use12Clock()) |
205 | test = "pm"; | 205 | test = "pm"; |
206 | else { | 206 | else { |
207 | test = "00"; | 207 | test = "00"; |
208 | } | 208 | } |
209 | QFont sFont = font(); | 209 | QFont sFont = font(); |
210 | sFont.setPointSize( sFont.pointSize()/2 ); | 210 | sFont.setPointSize( sFont.pointSize()/2 ); |
211 | QFontMetrics fmS( sFont ); | 211 | QFontMetrics fmS( sFont ); |
212 | mMiniWidth += fmS.width( test ) + frameWidth()*2+4 ; | 212 | mMiniWidth += fmS.width( test ) + frameWidth()*2+4 ; |
213 | qDebug("testwid %d %d", mMiniWidth ,fmS.width( test )); | ||
214 | // update geometry restrictions based on new settings | 213 | // update geometry restrictions based on new settings |
215 | setFixedWidth( mMiniWidth ); | 214 | setFixedWidth( mMiniWidth ); |
216 | 215 | ||
217 | // update HourSize | 216 | // update HourSize |
218 | mCellHeight = KOPrefs::instance()->mHourSize*4; | 217 | mCellHeight = KOPrefs::instance()->mHourSize*4; |
219 | resizeContents(50,mRows * mCellHeight); | 218 | resizeContents(50,mRows * mCellHeight); |
220 | } | 219 | } |
221 | 220 | ||
222 | /** update time label positions */ | 221 | /** update time label positions */ |
223 | void TimeLabels::positionChanged() | 222 | void TimeLabels::positionChanged() |
224 | { | 223 | { |
225 | int adjustment = mAgenda->contentsY(); | 224 | int adjustment = mAgenda->contentsY(); |
226 | setContentsPos(0, adjustment); | 225 | setContentsPos(0, adjustment); |
227 | } | 226 | } |
228 | 227 | ||
229 | /** */ | 228 | /** */ |
230 | void TimeLabels::setAgenda(KOAgenda* agenda) | 229 | void TimeLabels::setAgenda(KOAgenda* agenda) |
231 | { | 230 | { |
232 | mAgenda = agenda; | 231 | mAgenda = agenda; |
233 | } | 232 | } |
234 | 233 | ||
235 | void TimeLabels::contentsMousePressEvent ( QMouseEvent * e) | 234 | void TimeLabels::contentsMousePressEvent ( QMouseEvent * e) |
236 | { | 235 | { |
237 | mMouseDownY = e->pos().y(); | 236 | mMouseDownY = e->pos().y(); |
238 | mOrgCap = topLevelWidget()->caption(); | 237 | mOrgCap = topLevelWidget()->caption(); |
239 | } | 238 | } |
240 | 239 | ||
241 | void TimeLabels::contentsMouseMoveEvent ( QMouseEvent * e ) | 240 | void TimeLabels::contentsMouseMoveEvent ( QMouseEvent * e ) |
242 | { | 241 | { |
243 | int diff = mMouseDownY - e->pos().y(); | 242 | int diff = mMouseDownY - e->pos().y(); |
244 | if ( diff < 10 && diff > -10 ) | 243 | if ( diff < 10 && diff > -10 ) |
245 | return; | 244 | return; |