-rw-r--r-- | bin/kdepim/WhatsNew.txt | 10 | ||||
-rw-r--r-- | korganizer/kodaymatrix.cpp | 2 |
2 files changed, 10 insertions, 2 deletions
diff --git a/bin/kdepim/WhatsNew.txt b/bin/kdepim/WhatsNew.txt index 8800ada..df2d9d6 100644 --- a/bin/kdepim/WhatsNew.txt +++ b/bin/kdepim/WhatsNew.txt | |||
@@ -1,55 +1,63 @@ | |||
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.18 ************ | 3 | ********** VERSION 2.0.18 ************ |
4 | 4 | KO/Pi: | |
5 | Fixed some minor problems. | 5 | Fixed some minor problems. |
6 | Cleaned up the KO/Pi config dialog. | 6 | Cleaned up the KO/Pi config dialog. |
7 | Fixed problem moving events in aganda view. | ||
8 | Made datepicker scaleable, i.e. if the datepicker shows now a | ||
9 | datepicker matrix depending on its size. | ||
10 | Birthdays are now displayed green in the datepicker. | ||
11 | What'sThis Help in datepicker shows all events of the day. | ||
7 | 12 | ||
13 | OM/Pi: | ||
14 | Updated the backend mail library to the latest version. | ||
15 | Please backup your mail before using this version. | ||
8 | 16 | ||
9 | ********** VERSION 2.0.17 ************ | 17 | ********** VERSION 2.0.17 ************ |
10 | 18 | ||
11 | KO/Pi: | 19 | KO/Pi: |
12 | Tooltips in month view were not sorted. Fixed. | 20 | Tooltips in month view were not sorted. Fixed. |
13 | Daylabel in agenda view ( for display of one day ) was too short. Fixed. | 21 | Daylabel in agenda view ( for display of one day ) was too short. Fixed. |
14 | Conflict display dialog for syncing was not on top of other windows. Fixed. | 22 | Conflict display dialog for syncing was not on top of other windows. Fixed. |
15 | Fixed some minor problems. | 23 | Fixed some minor problems. |
16 | 24 | ||
17 | Fixed an endless loop when importing vcs file with RESOURCES entry. | 25 | Fixed an endless loop when importing vcs file with RESOURCES entry. |
18 | 26 | ||
19 | ********** VERSION 2.0.16 ************ | 27 | ********** VERSION 2.0.16 ************ |
20 | OM/Pi: | 28 | OM/Pi: |
21 | Fixed the SMTP account setting the option. | 29 | Fixed the SMTP account setting the option. |
22 | Fixed something in mail sending. | 30 | Fixed something in mail sending. |
23 | 31 | ||
24 | KO/Pi: | 32 | KO/Pi: |
25 | Added possibility to export selected events/todos as vcal file. | 33 | Added possibility to export selected events/todos as vcal file. |
26 | 34 | ||
27 | ********** VERSION 2.0.15 ************ | 35 | ********** VERSION 2.0.15 ************ |
28 | 36 | ||
29 | PwM/Pi: | 37 | PwM/Pi: |
30 | Added keyboard shorcuts for | 38 | Added keyboard shorcuts for |
31 | - toggling summary view (space bar) | 39 | - toggling summary view (space bar) |
32 | - delete item (delete + backspace key) | 40 | - delete item (delete + backspace key) |
33 | - add new item ( i + n key) | 41 | - add new item ( i + n key) |
34 | Fixed length of info in the title. | 42 | Fixed length of info in the title. |
35 | 43 | ||
36 | KO/Pi-KA/Pi: | 44 | KO/Pi-KA/Pi: |
37 | Changed "ME" menu bar entry to an icon. | 45 | Changed "ME" menu bar entry to an icon. |
38 | 46 | ||
39 | KO/Pi: | 47 | KO/Pi: |
40 | Fixed two minor bugs in displaying todos. | 48 | Fixed two minor bugs in displaying todos. |
41 | If in month view a cell is selected, the key shortcut "d" shows now that date. | 49 | If in month view a cell is selected, the key shortcut "d" shows now that date. |
42 | Added complete info for a todo in month view as an icon left of the text. | 50 | Added complete info for a todo in month view as an icon left of the text. |
43 | Fixed problems of displaying data when "<" or ">" are used in summary/location/description. | 51 | Fixed problems of displaying data when "<" or ">" are used in summary/location/description. |
44 | Fixed problem of search dialog size when switching displays. | 52 | Fixed problem of search dialog size when switching displays. |
45 | Cancel key now closes date picker. | 53 | Cancel key now closes date picker. |
46 | Rearranged KO/Pi file menu structure. | 54 | Rearranged KO/Pi file menu structure. |
47 | 55 | ||
48 | OM/Pi: | 56 | OM/Pi: |
49 | Added to the SMTP account setting the option | 57 | Added to the SMTP account setting the option |
50 | "No secure connection". | 58 | "No secure connection". |
51 | You have to configure your SMTP accounts again, sorry. | 59 | You have to configure your SMTP accounts again, sorry. |
52 | 60 | ||
53 | KA/Pi: | 61 | KA/Pi: |
54 | Added support for importing quoted-printable. | 62 | Added support for importing quoted-printable. |
55 | Support was added by Peter P.. Thanks, Peter! | 63 | Support was added by Peter P.. Thanks, Peter! |
diff --git a/korganizer/kodaymatrix.cpp b/korganizer/kodaymatrix.cpp index 36cd990..120bc89 100644 --- a/korganizer/kodaymatrix.cpp +++ b/korganizer/kodaymatrix.cpp | |||
@@ -649,97 +649,97 @@ void KODayMatrix::dropEvent(QDropEvent *e) | |||
649 | // ---------------------------------------------------------------------------- | 649 | // ---------------------------------------------------------------------------- |
650 | // P A I N T E V E N T H A N D L I N G | 650 | // P A I N T E V E N T H A N D L I N G |
651 | // ---------------------------------------------------------------------------- | 651 | // ---------------------------------------------------------------------------- |
652 | 652 | ||
653 | void KODayMatrix::paintEvent(QPaintEvent * pevent) | 653 | void KODayMatrix::paintEvent(QPaintEvent * pevent) |
654 | { | 654 | { |
655 | QRect sz = frameRect(); | 655 | QRect sz = frameRect(); |
656 | if ( sz.width() <= 0 || sz.height() <= 0 ) | 656 | if ( sz.width() <= 0 || sz.height() <= 0 ) |
657 | return; | 657 | return; |
658 | if ( mPendingUpdateBeforeRepaint ) { | 658 | if ( mPendingUpdateBeforeRepaint ) { |
659 | updateViewTimed(); | 659 | updateViewTimed(); |
660 | mPendingUpdateBeforeRepaint = false; | 660 | mPendingUpdateBeforeRepaint = false; |
661 | } | 661 | } |
662 | if ( myPix.width() != sz.width() || myPix.height()!=sz.height() ) { | 662 | if ( myPix.width() != sz.width() || myPix.height()!=sz.height() ) { |
663 | myPix.resize(sz.size() ); | 663 | myPix.resize(sz.size() ); |
664 | } | 664 | } |
665 | QPainter p(&myPix); | 665 | QPainter p(&myPix); |
666 | p.setFont(font()); | 666 | p.setFont(font()); |
667 | 667 | ||
668 | 668 | ||
669 | int dheight = daysize.height(); | 669 | int dheight = daysize.height(); |
670 | int dwidth = daysize.width(); | 670 | int dwidth = daysize.width(); |
671 | int row,col; | 671 | int row,col; |
672 | int selw, selh; | 672 | int selw, selh; |
673 | int xyOff = frameWidth(); | 673 | int xyOff = frameWidth(); |
674 | int colModulo = sz.width() % 7; | 674 | int colModulo = sz.width() % 7; |
675 | int rowModulo = sz.height() % 6; | 675 | int rowModulo = sz.height() % 6; |
676 | //qDebug("col %d row %d ",colModulo,rowModulo ); | 676 | //qDebug("col %d row %d ",colModulo,rowModulo ); |
677 | 677 | ||
678 | bool isRTL = KOGlobals::self()->reverseLayout(); | 678 | bool isRTL = KOGlobals::self()->reverseLayout(); |
679 | 679 | ||
680 | // draw background and topleft frame | 680 | // draw background and topleft frame |
681 | p.fillRect(pevent->rect(), mDefaultBackColor); | 681 | p.fillRect(pevent->rect(), mDefaultBackColor); |
682 | p.setPen(mDefaultTextColor); | 682 | p.setPen(mDefaultTextColor); |
683 | p.drawRect(0, 0, sz.width()+1, sz.height()+1); | 683 | p.drawRect(0, 0, sz.width()+1, sz.height()+1); |
684 | int mSelStartT = mSelStart; | 684 | int mSelStartT = mSelStart; |
685 | int mSelEndT = mSelEnd; | 685 | int mSelEndT = mSelEnd; |
686 | if ( mSelEndT >= NUMDAYS ) | 686 | if ( mSelEndT >= NUMDAYS ) |
687 | mSelEndT = NUMDAYS-1; | 687 | mSelEndT = NUMDAYS-1; |
688 | // draw selected days with highlighted background color | 688 | // draw selected days with highlighted background color |
689 | if (mSelStart != NOSELECTION) { | 689 | if (mSelStart != NOSELECTION) { |
690 | bool skip = false; | 690 | bool skip = false; |
691 | if ( ! mouseDown ) { | 691 | if ( ! mouseDown ) { |
692 | int mo = days[20].month(); | 692 | int mo = days[20].month(); |
693 | //qDebug("-- %d %d ", mSelStartT, mSelEndT); | 693 | //qDebug("-- %d %d ", mSelStartT, mSelEndT); |
694 | //qDebug("%d %d %d - d %d", mo, days[mSelStartT].month() , days[mSelEndT].month(), days[mSelEndT].day() ); | 694 | //qDebug("%d %d %d - d %d", mo, days[mSelStartT].month() , days[mSelEndT].month(), days[mSelEndT].day() ); |
695 | int startMo = days[mSelStartT].month(); | 695 | int startMo = days[mSelStartT].month(); |
696 | int endMo = days[mSelEndT].month(); | 696 | int endMo = days[mSelEndT].month(); |
697 | if ( startMo == 12 && mo == 1 && endMo == 1 ) | 697 | if ( startMo == 12 && mo == 1 && endMo <= 2 ) |
698 | startMo = 1; | 698 | startMo = 1; |
699 | if ( endMo == 1 && mo == 12 ) | 699 | if ( endMo == 1 && mo == 12 ) |
700 | endMo = 12; | 700 | endMo = 12; |
701 | if ( (startMo > mo || endMo < mo) ) { | 701 | if ( (startMo > mo || endMo < mo) ) { |
702 | skip = true; | 702 | skip = true; |
703 | } else { | 703 | } else { |
704 | if ( days[mSelStartT].month() != mo ) { | 704 | if ( days[mSelStartT].month() != mo ) { |
705 | int add = days[mSelStartT].daysInMonth ()-days[mSelStartT].day(); | 705 | int add = days[mSelStartT].daysInMonth ()-days[mSelStartT].day(); |
706 | mSelStartT += add +1; | 706 | mSelStartT += add +1; |
707 | } | 707 | } |
708 | if ( days[mSelEndT].month() != mo ) { | 708 | if ( days[mSelEndT].month() != mo ) { |
709 | int sub = days[mSelEndT].day(); | 709 | int sub = days[mSelEndT].day(); |
710 | mSelEndT -= sub ; | 710 | mSelEndT -= sub ; |
711 | } | 711 | } |
712 | } | 712 | } |
713 | } | 713 | } |
714 | if ( ! skip ) { | 714 | if ( ! skip ) { |
715 | row = mSelStartT/7; | 715 | row = mSelStartT/7; |
716 | col = mSelStartT -row*7; | 716 | col = mSelStartT -row*7; |
717 | QColor selcol = KOPrefs::instance()->mHighlightColor; | 717 | QColor selcol = KOPrefs::instance()->mHighlightColor; |
718 | int addCol = 0; | 718 | int addCol = 0; |
719 | int addRow = 0; | 719 | int addRow = 0; |
720 | int addRow2 = 0; | 720 | int addRow2 = 0; |
721 | int addCol2 = 0; | 721 | int addCol2 = 0; |
722 | if (row == mSelEndT/7) { | 722 | if (row == mSelEndT/7) { |
723 | if ( rowModulo ) { | 723 | if ( rowModulo ) { |
724 | if ( row >= 6 - rowModulo ) | 724 | if ( row >= 6 - rowModulo ) |
725 | addRow = row - 5 + rowModulo; | 725 | addRow = row - 5 + rowModulo; |
726 | } | 726 | } |
727 | if ( colModulo ) { | 727 | if ( colModulo ) { |
728 | int colt1 = mSelEndT%7; | 728 | int colt1 = mSelEndT%7; |
729 | //qDebug("colt1 %d ", colt1 ); | 729 | //qDebug("colt1 %d ", colt1 ); |
730 | if ( colt1 >= 7 - colModulo ) | 730 | if ( colt1 >= 7 - colModulo ) |
731 | addCol = colt1 - 7 + colModulo+1; | 731 | addCol = colt1 - 7 + colModulo+1; |
732 | int colt = mSelStartT%7; | 732 | int colt = mSelStartT%7; |
733 | if ( colt >= 7 - colModulo ) | 733 | if ( colt >= 7 - colModulo ) |
734 | addCol2 = colt - 7 + colModulo; | 734 | addCol2 = colt - 7 + colModulo; |
735 | addCol -= addCol2; | 735 | addCol -= addCol2; |
736 | //qDebug("COL %d %d %d %d ",col , colt1 ,addCol ,addCol2 ); | 736 | //qDebug("COL %d %d %d %d ",col , colt1 ,addCol ,addCol2 ); |
737 | } | 737 | } |
738 | // Single row selection | 738 | // Single row selection |
739 | if ( row == 0) | 739 | if ( row == 0) |
740 | addRow = 1; | 740 | addRow = 1; |
741 | p.fillRect(isRTL ? (7 - (mSelEndT-mSelStartT+1) - col)*dwidth : col*dwidth+1+addCol2, | 741 | p.fillRect(isRTL ? (7 - (mSelEndT-mSelStartT+1) - col)*dwidth : col*dwidth+1+addCol2, |
742 | row*dheight+addRow, (mSelEndT-mSelStartT+1)*dwidth+addCol, dheight+1, selcol); | 742 | row*dheight+addRow, (mSelEndT-mSelStartT+1)*dwidth+addCol, dheight+1, selcol); |
743 | } else { | 743 | } else { |
744 | // draw first row to the right | 744 | // draw first row to the right |
745 | if ( colModulo ) { | 745 | if ( colModulo ) { |