author | zautrix <zautrix> | 2005-02-02 11:10:03 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-02-02 11:10:03 (UTC) |
commit | 2a184b0d9095c6175e7bdf2f5d5561470b8d6307 (patch) (unidiff) | |
tree | b988c963639547be3afc193eb8a223f9ca7f0254 | |
parent | d2f6c50fb3b236e37aaa46ade819ab163f19868a (diff) | |
download | kdepimpi-2a184b0d9095c6175e7bdf2f5d5561470b8d6307.zip kdepimpi-2a184b0d9095c6175e7bdf2f5d5561470b8d6307.tar.gz kdepimpi-2a184b0d9095c6175e7bdf2f5d5561470b8d6307.tar.bz2 |
change
-rw-r--r-- | bin/kdepim/WhatsNew.txt | 2 | ||||
-rw-r--r-- | korganizer/komonthview.cpp | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/bin/kdepim/WhatsNew.txt b/bin/kdepim/WhatsNew.txt index 9f34d38..4f8fcc7 100644 --- a/bin/kdepim/WhatsNew.txt +++ b/bin/kdepim/WhatsNew.txt | |||
@@ -1,40 +1,42 @@ | |||
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.2 ************ | 3 | ********** VERSION 2.0.2 ************ |
4 | 4 | ||
5 | KO/Pi: | 5 | KO/Pi: |
6 | Fixed the layout problem of the day label buttons | 6 | Fixed the layout problem of the day label buttons |
7 | of the agenda view introduced in version 2.0.1. | 7 | of the agenda view introduced in version 2.0.1. |
8 | 8 | ||
9 | Added WhatsThis support for the todo view and the list view. | ||
10 | |||
9 | Added a quite useful and quite hidden feature (to KO/Pi). | 11 | Added a quite useful and quite hidden feature (to KO/Pi). |
10 | Who does find it first? | 12 | Who does find it first? |
11 | Hint: You have to click somewhere in the views ... | 13 | Hint: You have to click somewhere in the views ... |
12 | 14 | ||
13 | 15 | ||
14 | ********** VERSION 2.0.1 ************ | 16 | ********** VERSION 2.0.1 ************ |
15 | 17 | ||
16 | Oooops ... I forgot to test on the Zaurus 5500 ... | 18 | Oooops ... I forgot to test on the Zaurus 5500 ... |
17 | 19 | ||
18 | Fixed many problems of new (english) strings (and german translations) | 20 | Fixed many problems of new (english) strings (and german translations) |
19 | introduced in the latest versions, where the text was not fitting on the | 21 | introduced in the latest versions, where the text was not fitting on the |
20 | 240x320 display of the Zaurus 5500. | 22 | 240x320 display of the Zaurus 5500. |
21 | 23 | ||
22 | KO/Pi: | 24 | KO/Pi: |
23 | Added a popup menu ( press pen and hold to get popup ) to the agenda view | 25 | Added a popup menu ( press pen and hold to get popup ) to the agenda view |
24 | with many useful items (add event/todo, show next week, two weeks, month, journal). | 26 | with many useful items (add event/todo, show next week, two weeks, month, journal). |
25 | 27 | ||
26 | Added items to the todolist popup menu for: | 28 | Added items to the todolist popup menu for: |
27 | Display all opened, all closed or all todos flat. | 29 | Display all opened, all closed or all todos flat. |
28 | The "flat" view makes is possible to sort all todos after ,e.g., prio or date. | 30 | The "flat" view makes is possible to sort all todos after ,e.g., prio or date. |
29 | Made the reparenting of todos on the desktop possible via Drag&Drop. | 31 | Made the reparenting of todos on the desktop possible via Drag&Drop. |
30 | Fixed several bugs in setting the completed datetime for todos. | 32 | Fixed several bugs in setting the completed datetime for todos. |
31 | Added info about completed datetime of todos to the todo viewer. | 33 | Added info about completed datetime of todos to the todo viewer. |
32 | Now displaying a completed todo (with completed datetime set) in the agenda view | 34 | Now displaying a completed todo (with completed datetime set) in the agenda view |
33 | at the time of the completion. Such that now it is possible to see in the agenda view | 35 | at the time of the completion. Such that now it is possible to see in the agenda view |
34 | when what todo was completed. | 36 | when what todo was completed. |
35 | Fixed behaviour of automatic setting completion of todos with sub-todos/parent todos. | 37 | Fixed behaviour of automatic setting completion of todos with sub-todos/parent todos. |
36 | Now the behaviour is: | 38 | Now the behaviour is: |
37 | Setting a parent to complete sets all (sub)childs to complete. | 39 | Setting a parent to complete sets all (sub)childs to complete. |
38 | Setting a parent to uncomplete does not change the childs. | 40 | Setting a parent to uncomplete does not change the childs. |
39 | Setting a child to uncomplete sets all parent to uncomplete. | 41 | Setting a child to uncomplete sets all parent to uncomplete. |
40 | Setting a child to complete does not change the parents. | 42 | Setting a child to complete does not change the parents. |
diff --git a/korganizer/komonthview.cpp b/korganizer/komonthview.cpp index 0ef5ae4..00b1e92 100644 --- a/korganizer/komonthview.cpp +++ b/korganizer/komonthview.cpp | |||
@@ -778,64 +778,65 @@ KOMonthView::KOMonthView(Calendar *calendar, QWidget *parent, const char *name) | |||
778 | // the layout. | 778 | // the layout. |
779 | mDayLabels.resize( mDaysPerWeek ); | 779 | mDayLabels.resize( mDaysPerWeek ); |
780 | QFont bfont = font(); | 780 | QFont bfont = font(); |
781 | if ( QApplication::desktop()->width() < 650 ) { | 781 | if ( QApplication::desktop()->width() < 650 ) { |
782 | bfont.setPointSize( bfont.pointSize() - 2 ); | 782 | bfont.setPointSize( bfont.pointSize() - 2 ); |
783 | } | 783 | } |
784 | bfont.setBold( true ); | 784 | bfont.setBold( true ); |
785 | int i; | 785 | int i; |
786 | 786 | ||
787 | for( i = 0; i < mDaysPerWeek; i++ ) { | 787 | for( i = 0; i < mDaysPerWeek; i++ ) { |
788 | QLabel *label = new QLabel( this ); | 788 | QLabel *label = new QLabel( this ); |
789 | label->setFont(bfont); | 789 | label->setFont(bfont); |
790 | label->setFrameStyle(QFrame::Panel|QFrame::Raised); | 790 | label->setFrameStyle(QFrame::Panel|QFrame::Raised); |
791 | label->setLineWidth(1); | 791 | label->setLineWidth(1); |
792 | label->setAlignment(AlignCenter); | 792 | label->setAlignment(AlignCenter); |
793 | mDayLabels.insert( i, label ); | 793 | mDayLabels.insert( i, label ); |
794 | } | 794 | } |
795 | 795 | ||
796 | bfont.setBold( false ); | 796 | bfont.setBold( false ); |
797 | mWeekLabels.resize( mNumWeeks+1 ); | 797 | mWeekLabels.resize( mNumWeeks+1 ); |
798 | for( i = 0; i < mNumWeeks+1; i++ ) { | 798 | for( i = 0; i < mNumWeeks+1; i++ ) { |
799 | KOWeekButton *label = new KOWeekButton( this ); | 799 | KOWeekButton *label = new KOWeekButton( this ); |
800 | label->setFont(bfont); | 800 | label->setFont(bfont); |
801 | connect( label, SIGNAL( selectWeekNum ( int )),this, SIGNAL( selectWeekNum ( int )) ); | 801 | connect( label, SIGNAL( selectWeekNum ( int )),this, SIGNAL( selectWeekNum ( int )) ); |
802 | label->setFlat(true); | 802 | label->setFlat(true); |
803 | QWhatsThis::add(label,i18n("Click on the week number to\nshow week in agenda view")); | 803 | QWhatsThis::add(label,i18n("Click on the week number to\nshow week in agenda view")); |
804 | //label->setFrameStyle(QFrame::Panel|QFrame::Raised); | 804 | //label->setFrameStyle(QFrame::Panel|QFrame::Raised); |
805 | //label->setLineWidth(1); | 805 | //label->setLineWidth(1); |
806 | //label->setAlignment(AlignCenter); | 806 | //label->setAlignment(AlignCenter); |
807 | mWeekLabels.insert( i, label ); | 807 | mWeekLabels.insert( i, label ); |
808 | } | 808 | } |
809 | mWeekLabels[mNumWeeks]->setText( i18n("W")); | 809 | mWeekLabels[mNumWeeks]->setText( i18n("W")); |
810 | QWhatsThis::add(mWeekLabels[mNumWeeks],i18n("Click on this to\nswitch to week mode view")); | ||
810 | int row, col; | 811 | int row, col; |
811 | mCells.resize( mNumCells ); | 812 | mCells.resize( mNumCells ); |
812 | for( row = 0; row < mNumWeeks; ++row ) { | 813 | for( row = 0; row < mNumWeeks; ++row ) { |
813 | for( col = 0; col < mDaysPerWeek; ++col ) { | 814 | for( col = 0; col < mDaysPerWeek; ++col ) { |
814 | MonthViewCell *cell = new MonthViewCell( this ); | 815 | MonthViewCell *cell = new MonthViewCell( this ); |
815 | mCells.insert( row * mDaysPerWeek + col, cell ); | 816 | mCells.insert( row * mDaysPerWeek + col, cell ); |
816 | 817 | ||
817 | connect( cell, SIGNAL( defaultAction( Incidence * ) ), | 818 | connect( cell, SIGNAL( defaultAction( Incidence * ) ), |
818 | SLOT( defaultAction( Incidence * ) ) ); | 819 | SLOT( defaultAction( Incidence * ) ) ); |
819 | connect( cell, SIGNAL( newEventSignal( QDateTime ) ), | 820 | connect( cell, SIGNAL( newEventSignal( QDateTime ) ), |
820 | SIGNAL( newEventSignal( QDateTime ) ) ); | 821 | SIGNAL( newEventSignal( QDateTime ) ) ); |
821 | connect( cell, SIGNAL( showDaySignal( QDate ) ), | 822 | connect( cell, SIGNAL( showDaySignal( QDate ) ), |
822 | SIGNAL( showDaySignal( QDate ) ) ); | 823 | SIGNAL( showDaySignal( QDate ) ) ); |
823 | } | 824 | } |
824 | } | 825 | } |
825 | 826 | ||
826 | connect( mWeekLabels[mNumWeeks], SIGNAL( clicked() ), | 827 | connect( mWeekLabels[mNumWeeks], SIGNAL( clicked() ), |
827 | SLOT( switchView() ) ); | 828 | SLOT( switchView() ) ); |
828 | mContextMenu = eventPopup(); | 829 | mContextMenu = eventPopup(); |
829 | // updateConfig(); //useless here | 830 | // updateConfig(); //useless here |
830 | 831 | ||
831 | emit incidenceSelected( 0 ); | 832 | emit incidenceSelected( 0 ); |
832 | } | 833 | } |
833 | 834 | ||
834 | KOMonthView::~KOMonthView() | 835 | KOMonthView::~KOMonthView() |
835 | { | 836 | { |
836 | delete mContextMenu; | 837 | delete mContextMenu; |
837 | } | 838 | } |
838 | void KOMonthView::switchView() | 839 | void KOMonthView::switchView() |
839 | { | 840 | { |
840 | if ( selectedCell( ) ) | 841 | if ( selectedCell( ) ) |
841 | selectedCell()->deselect(); | 842 | selectedCell()->deselect(); |