author | zautrix <zautrix> | 2005-02-25 11:29:28 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-02-25 11:29:28 (UTC) |
commit | ff810f8f74f6928e664bf52f8e8d128edb8ac5ad (patch) (unidiff) | |
tree | d5473801c69b42d90879104fc4d05a5ad9b69e87 | |
parent | ff8a2f593fae5ffe82f889ab70d32bf02a45f4fb (diff) | |
download | kdepimpi-ff810f8f74f6928e664bf52f8e8d128edb8ac5ad.zip kdepimpi-ff810f8f74f6928e664bf52f8e8d128edb8ac5ad.tar.gz kdepimpi-ff810f8f74f6928e664bf52f8e8d128edb8ac5ad.tar.bz2 |
many small fixes
-rw-r--r-- | bin/kdepim/WhatsNew.txt | 6 | ||||
-rw-r--r-- | desktop/rpm/kdepim_rpm | 2 | ||||
-rw-r--r-- | kabc/addresseedialog.cpp | 40 | ||||
-rw-r--r-- | korganizer/koeventviewerdialog.cpp | 6 | ||||
-rw-r--r-- | korganizer/kolistview.cpp | 2 | ||||
-rw-r--r-- | korganizer/searchdialog.cpp | 9 | ||||
-rw-r--r-- | korganizer/searchdialog.h | 4 | ||||
-rw-r--r-- | microkde/kdialogbase.cpp | 8 | ||||
-rw-r--r-- | version | 2 |
9 files changed, 59 insertions, 20 deletions
diff --git a/bin/kdepim/WhatsNew.txt b/bin/kdepim/WhatsNew.txt index 86ac9b5..dc22fc6 100644 --- a/bin/kdepim/WhatsNew.txt +++ b/bin/kdepim/WhatsNew.txt | |||
@@ -2,2 +2,8 @@ Info about the changes in new versions of KDE-Pim/Pi | |||
2 | 2 | ||
3 | ********** VERSION 2.0.13 ************ | ||
4 | |||
5 | Fixed a problem in the addressee select dialog and made it more user friendly by adding a minimize splitter. | ||
6 | |||
7 | In the search dialog you can switch now the focus from search line edit to the list view by pressing key "arrow down". | ||
8 | |||
3 | ********** VERSION 2.0.12 ************ | 9 | ********** VERSION 2.0.12 ************ |
diff --git a/desktop/rpm/kdepim_rpm b/desktop/rpm/kdepim_rpm index 0d4c9d6..ff9f2dc 100644 --- a/desktop/rpm/kdepim_rpm +++ b/desktop/rpm/kdepim_rpm | |||
@@ -2,3 +2,3 @@ Summary: A collection of PIM programs | |||
2 | Name: KDE-Pim-Pi | 2 | Name: KDE-Pim-Pi |
3 | Version: 2.0.12 | 3 | Version: 2.0.13 |
4 | Release: SuSE_9.2 | 4 | Release: SuSE_9.2 |
diff --git a/kabc/addresseedialog.cpp b/kabc/addresseedialog.cpp index 34f4160..b3429e3 100644 --- a/kabc/addresseedialog.cpp +++ b/kabc/addresseedialog.cpp | |||
@@ -25,2 +25,4 @@ | |||
25 | #include <qregexp.h> | 25 | #include <qregexp.h> |
26 | #include <qvbox.h> | ||
27 | #include <qlabel.h> | ||
26 | 28 | ||
@@ -33,2 +35,3 @@ | |||
33 | #include "addresseedialog.h" | 35 | #include "addresseedialog.h" |
36 | #include "KDGanttMinimizeSplitter.h" | ||
34 | //#include "addresseedialog.moc" | 37 | //#include "addresseedialog.moc" |
@@ -61,3 +64,3 @@ AddresseeDialog::AddresseeDialog( QWidget *parent, bool multiple ) : | |||
61 | KDialogBase( KDialogBase::Plain, i18n("Select Addressee"), | 64 | KDialogBase( KDialogBase::Plain, i18n("Select Addressee"), |
62 | Ok|Cancel, Ok, parent ), mMultiple( multiple ) | 65 | Ok|Cancel, No, parent ), mMultiple( multiple ) |
63 | { | 66 | { |
@@ -66,6 +69,15 @@ AddresseeDialog::AddresseeDialog( QWidget *parent, bool multiple ) : | |||
66 | QBoxLayout *topLayout = new QHBoxLayout( topWidget ); | 69 | QBoxLayout *topLayout = new QHBoxLayout( topWidget ); |
67 | QBoxLayout *listLayout = new QVBoxLayout; | ||
68 | topLayout->addLayout( listLayout ); | ||
69 | 70 | ||
70 | mAddresseeList = new KListView( topWidget ); | 71 | |
72 | KDGanttMinimizeSplitter* mMiniSplitter = new KDGanttMinimizeSplitter( Qt::Horizontal, topWidget); | ||
73 | mMiniSplitter->setMinimizeDirection ( KDGanttMinimizeSplitter::Right ); | ||
74 | |||
75 | topLayout->addWidget(mMiniSplitter ); | ||
76 | |||
77 | QWidget *listWidget = new QWidget( mMiniSplitter ); | ||
78 | |||
79 | QBoxLayout *listLayout = new QVBoxLayout (listWidget) ; | ||
80 | //topLayout->addLayout( listLayout ); | ||
81 | |||
82 | mAddresseeList = new KListView( listWidget ); | ||
71 | mAddresseeList->addColumn( i18n("Name") ); | 83 | mAddresseeList->addColumn( i18n("Name") ); |
@@ -78,3 +90,3 @@ AddresseeDialog::AddresseeDialog( QWidget *parent, bool multiple ) : | |||
78 | 90 | ||
79 | mAddresseeEdit = new QLineEdit( topWidget ); | 91 | mAddresseeEdit = new QLineEdit( listWidget ); |
80 | connect( mAddresseeEdit, SIGNAL( returnPressed() ), | 92 | connect( mAddresseeEdit, SIGNAL( returnPressed() ), |
@@ -86,9 +98,9 @@ AddresseeDialog::AddresseeDialog( QWidget *parent, bool multiple ) : | |||
86 | if ( mMultiple ) { | 98 | if ( mMultiple ) { |
87 | QBoxLayout *selectedLayout = new QVBoxLayout; | 99 | //QBoxLayout *selectedLayout = new QVBoxLayout; |
88 | topLayout->addLayout( selectedLayout ); | 100 | //topLayout->addLayout( selectedLayout ); |
89 | topLayout->setSpacing( spacingHint() ); | 101 | //topLayout->setSpacing( spacingHint() ); |
90 | 102 | ||
91 | QGroupBox *selectedGroup = new QGroupBox( 1, Horizontal, i18n("Selected"), | 103 | QVBox *selectedGroup = new QVBox( mMiniSplitter ); |
92 | topWidget ); | 104 | new QLabel ( i18n("Selected:"), selectedGroup ); |
93 | selectedLayout->addWidget( selectedGroup ); | 105 | //selectedLayout->addWidget( selectedGroup ); |
94 | 106 | ||
@@ -118,3 +130,7 @@ AddresseeDialog::AddresseeDialog( QWidget *parent, bool multiple ) : | |||
118 | 130 | ||
119 | loadAddressBook(); | 131 | loadAddressBook(); |
132 | QValueList<int> splitterSize; | ||
133 | splitterSize.append( ( width() / 5 ) * 3 ); | ||
134 | splitterSize.append( ( width() / 5 ) *2 ); | ||
135 | mMiniSplitter->setSizes( splitterSize ); | ||
120 | } | 136 | } |
diff --git a/korganizer/koeventviewerdialog.cpp b/korganizer/koeventviewerdialog.cpp index e2c8e6e..f606124 100644 --- a/korganizer/koeventviewerdialog.cpp +++ b/korganizer/koeventviewerdialog.cpp | |||
@@ -264,2 +264,3 @@ void KOEventViewerDialog::keyPressEvent ( QKeyEvent * e ) | |||
264 | case Qt::Key_Escape: | 264 | case Qt::Key_Escape: |
265 | sendSignalViewerClosed = true; | ||
265 | close(); | 266 | close(); |
@@ -267,2 +268,6 @@ void KOEventViewerDialog::keyPressEvent ( QKeyEvent * e ) | |||
267 | case Qt::Key_I: | 268 | case Qt::Key_I: |
269 | #ifndef DESKTOP_VERSION | ||
270 | sendSignalViewerClosed = true; | ||
271 | close(); | ||
272 | #else | ||
268 | sendSignalViewerClosed = true; | 273 | sendSignalViewerClosed = true; |
@@ -270,2 +275,3 @@ void KOEventViewerDialog::keyPressEvent ( QKeyEvent * e ) | |||
270 | //accept(); | 275 | //accept(); |
276 | #endif | ||
271 | break; | 277 | break; |
diff --git a/korganizer/kolistview.cpp b/korganizer/kolistview.cpp index 6acee75..710a9f9 100644 --- a/korganizer/kolistview.cpp +++ b/korganizer/kolistview.cpp | |||
@@ -1085,4 +1085,4 @@ void KOListViewListView::keyPressEvent ( QKeyEvent *e) | |||
1085 | ensureItemVisible ( cn ); | 1085 | ensureItemVisible ( cn ); |
1086 | emit showIncidence( ci->data()); | ||
1087 | } | 1086 | } |
1087 | emit showIncidence( ci->data()); | ||
1088 | } | 1088 | } |
diff --git a/korganizer/searchdialog.cpp b/korganizer/searchdialog.cpp index cef59a2..678e1bd 100644 --- a/korganizer/searchdialog.cpp +++ b/korganizer/searchdialog.cpp | |||
@@ -28,2 +28,3 @@ | |||
28 | #include <qlabel.h> | 28 | #include <qlabel.h> |
29 | #include <qlistview.h> | ||
29 | #include <qwhatsthis.h> | 30 | #include <qwhatsthis.h> |
@@ -39,2 +40,3 @@ | |||
39 | #include "koprefs.h" | 40 | #include "koprefs.h" |
41 | #include "klineedit.h" | ||
40 | 42 | ||
@@ -59,3 +61,3 @@ SearchDialog::SearchDialog(Calendar *calendar,CalendarView *parent) | |||
59 | 61 | ||
60 | searchEdit = new QLineEdit(topFrame); | 62 | searchEdit = new KLineEdit(topFrame); |
61 | subLayout->addWidget(searchEdit); | 63 | subLayout->addWidget(searchEdit); |
@@ -116,2 +118,3 @@ SearchDialog::SearchDialog(Calendar *calendar,CalendarView *parent) | |||
116 | listView->readSettings(KOGlobals::config(),"SearchListView Layout"); | 118 | listView->readSettings(KOGlobals::config(),"SearchListView Layout"); |
119 | connect(searchEdit,SIGNAL(scrollDOWN()),SLOT(setFocusToList())); | ||
117 | 120 | ||
@@ -128,2 +131,6 @@ SearchDialog::~SearchDialog() | |||
128 | } | 131 | } |
132 | void SearchDialog::setFocusToList() | ||
133 | { | ||
134 | listView->resetFocus(); | ||
135 | } | ||
129 | void SearchDialog::accept() | 136 | void SearchDialog::accept() |
diff --git a/korganizer/searchdialog.h b/korganizer/searchdialog.h index f4aad9e..b730ed5 100644 --- a/korganizer/searchdialog.h +++ b/korganizer/searchdialog.h | |||
@@ -38,2 +38,3 @@ class QCheckBox; | |||
38 | class QLineEdit; | 38 | class QLineEdit; |
39 | class KLineEdit; | ||
39 | class QLabel; | 40 | class QLabel; |
@@ -56,2 +57,3 @@ class SearchDialog : public QVBox | |||
56 | protected slots: | 57 | protected slots: |
58 | void setFocusToList(); | ||
57 | void accept(); | 59 | void accept(); |
@@ -75,3 +77,3 @@ class SearchDialog : public QVBox | |||
75 | QLabel *searchLabel; | 77 | QLabel *searchLabel; |
76 | QLineEdit *searchEdit; | 78 | KLineEdit *searchEdit; |
77 | KOListView *listView; | 79 | KOListView *listView; |
diff --git a/microkde/kdialogbase.cpp b/microkde/kdialogbase.cpp index 801094a..f453331 100644 --- a/microkde/kdialogbase.cpp +++ b/microkde/kdialogbase.cpp | |||
@@ -42,4 +42,6 @@ KDialogBase::KDialogBase( int dialogFace, const QString &caption, | |||
42 | init( caption, buttonMask, user1, user2 ); | 42 | init( caption, buttonMask, user1, user2 ); |
43 | if (findButton( defaultButton ) ) | 43 | if (findButton( defaultButton ) ) { |
44 | (findButton( defaultButton ) )->setFocus(); | 44 | (findButton( defaultButton ) )->setFocus(); |
45 | (findButton( defaultButton ) )->setDefault( true ); | ||
46 | } | ||
45 | 47 | ||
@@ -78,3 +80,3 @@ void KDialogBase::init( const QString &caption, int buttonMask, | |||
78 | connect( mOkButton, SIGNAL( clicked() ), SLOT( slotOk() ) ); | 80 | connect( mOkButton, SIGNAL( clicked() ), SLOT( slotOk() ) ); |
79 | mOkButton->setDefault( true ); | 81 | //mOkButton->setDefault( true ); |
80 | } else { | 82 | } else { |
@@ -1 +1 @@ | |||
version = "2.0.12"; | version = "2.0.13"; | ||