author | zautrix <zautrix> | 2005-02-02 12:48:28 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-02-02 12:48:28 (UTC) |
commit | 66c1429e6d29331dac4182d2c42aaf1630916c7d (patch) (unidiff) | |
tree | 27280cf745c2828cfa22ec52049cfd8e96d28f4f /korganizer/koagendaview.cpp | |
parent | e770226d68f5fdb8484003bbb9898848cec901a8 (diff) | |
download | kdepimpi-66c1429e6d29331dac4182d2c42aaf1630916c7d.zip kdepimpi-66c1429e6d29331dac4182d2c42aaf1630916c7d.tar.gz kdepimpi-66c1429e6d29331dac4182d2c42aaf1630916c7d.tar.bz2 |
fifi
-rw-r--r-- | korganizer/koagendaview.cpp | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/korganizer/koagendaview.cpp b/korganizer/koagendaview.cpp index d4ff77a..aed9bae 100644 --- a/korganizer/koagendaview.cpp +++ b/korganizer/koagendaview.cpp | |||
@@ -427,3 +427,19 @@ KOAgendaView::KOAgendaView(Calendar *cal,QWidget *parent,const char *name) : | |||
427 | mAllDayAgenda->setFocusPolicy(NoFocus); | 427 | mAllDayAgenda->setFocusPolicy(NoFocus); |
428 | QWidget *dummyAllDayRight = new QWidget(mAllDayFrame); | 428 | QVBox *dummyAllDayRight = new QVBox(mAllDayFrame); |
429 | |||
430 | QPushButton *dummyAllDayRightB = new QPushButton(dummyAllDayRight); | ||
431 | QLabel * dummyAllDayRightL = new QLabel ( dummyAllDayRight ); | ||
432 | |||
433 | dummyAllDayRightB->setFlat( true ); | ||
434 | dummyAllDayRightB->setFocusPolicy(NoFocus); | ||
435 | // dummyAllDayRightB->setSizePolicy(QSizePolicy( QSizePolicy::Expanding ,QSizePolicy::Expanding )); | ||
436 | //dummyAllDayRightB->setFixedHeight( dummyAllDayRightB->sizeHint().height()/2 ); | ||
437 | QPopupMenu * wpo = new QPopupMenu (this); | ||
438 | wpo->insertItem( i18n("W#"), 0 ); | ||
439 | int i; | ||
440 | for ( i = 1; i < 54; i++ ) | ||
441 | wpo->insertItem( QString::number( i ),i ); | ||
442 | dummyAllDayRightB->setPopup( wpo ); | ||
443 | |||
444 | connect( wpo, SIGNAL( activated(int) ), SIGNAL( selectWeekNum ( int ) ) ); | ||
429 | 445 | ||