author | zautrix <zautrix> | 2005-02-19 22:16:06 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-02-19 22:16:06 (UTC) |
commit | 6c152b28df5d22b75b1b0dcef77073f0320c5710 (patch) (side-by-side diff) | |
tree | 702ed341ef2eeebe00766f5969f4001dd4a0f814 /korganizer | |
parent | 1994c2c1e8d28b9ff7e4a42954f24dc8e48a9ff5 (diff) | |
download | kdepimpi-6c152b28df5d22b75b1b0dcef77073f0320c5710.zip kdepimpi-6c152b28df5d22b75b1b0dcef77073f0320c5710.tar.gz kdepimpi-6c152b28df5d22b75b1b0dcef77073f0320c5710.tar.bz2 |
fixxhhh
-rw-r--r-- | korganizer/koagendaitem.cpp | 4 | ||||
-rw-r--r-- | korganizer/mainwindow.cpp | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/korganizer/koagendaitem.cpp b/korganizer/koagendaitem.cpp index 7b29ce7..d0a7b07 100644 --- a/korganizer/koagendaitem.cpp +++ b/korganizer/koagendaitem.cpp @@ -409,5 +409,5 @@ void KOAgendaItem::paintMe( bool selected, QPainter* paint ) #ifndef DESKTOP_VERSION - align = ( AlignCenter|WordBreak); + align = ( AlignHCenter|WordBreak|AlignTop); #else - align = ( AlignCenter|BreakAnywhere|WordBreak); + align = ( AlignHCenter|BreakAnywhere|WordBreak|AlignTop); #endif diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index 16031b8..a164fa4 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp @@ -289,2 +289,3 @@ MainWindow::MainWindow( QWidget *parent, const char *name, QString msg) : //toggleBeamReceive(); + setFocusPolicy ( WheelFocus ); } @@ -1280,2 +1281,3 @@ void MainWindow::keyBindings() i18n("<p><b>D</b>: One day view | <b>M</b>: Month view</p>\n")+ + i18n("<p><b>K</b>: Week view in Month view syle</p>\n")+ i18n("<p><b>E</b>: Edit selected item |<b> E+ctrl</b>: New Event</p>\n")+ @@ -1628,2 +1630,5 @@ void MainWindow::keyPressEvent ( QKeyEvent * e ) break; + case Qt::Key_K: + mView->viewManager()->showMonthViewWeek(); + break; case Qt::Key_I: |