author | zautrix <zautrix> | 2005-03-21 09:40:04 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-03-21 09:40:04 (UTC) |
commit | fd372d97084c401aacb999e89f8bdd94056a3b59 (patch) (unidiff) | |
tree | 8443519b847537711d6b423ef903ca132410a682 /korganizer/navigatorbar.h | |
parent | cd02f3880c5567a4bbb7b56e7034787005df7da8 (diff) | |
download | kdepimpi-fd372d97084c401aacb999e89f8bdd94056a3b59.zip kdepimpi-fd372d97084c401aacb999e89f8bdd94056a3b59.tar.gz kdepimpi-fd372d97084c401aacb999e89f8bdd94056a3b59.tar.bz2 |
layout fix
-rw-r--r-- | korganizer/navigatorbar.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/korganizer/navigatorbar.h b/korganizer/navigatorbar.h index 0b2f60b..5d5aff4 100644 --- a/korganizer/navigatorbar.h +++ b/korganizer/navigatorbar.h | |||
@@ -31,39 +31,43 @@ | |||
31 | class QPushButton; | 31 | class QPushButton; |
32 | class QFrame; | 32 | class QFrame; |
33 | class QLabel; | 33 | class QLabel; |
34 | 34 | ||
35 | class NavigatorBar: public QWidget | 35 | class NavigatorBar: public QWidget |
36 | { | 36 | { |
37 | Q_OBJECT | 37 | Q_OBJECT |
38 | public: | 38 | public: |
39 | NavigatorBar( const QDate & date, QWidget *parent = 0, const char *name = 0 ); | 39 | NavigatorBar( const QDate & date, QWidget *parent = 0, const char *name = 0 ); |
40 | ~NavigatorBar(); | 40 | ~NavigatorBar(); |
41 | void showButtons( bool left, bool right ); | 41 | void showButtons( bool left, bool right ); |
42 | void resetFont ( QFont fo ); | 42 | void resetFont ( QFont fo ); |
43 | QSize sizeHint() const; | ||
43 | 44 | ||
44 | public slots: | 45 | public slots: |
45 | void selectDates( const KCal::DateList & ); | 46 | void selectDates( const KCal::DateList & ); |
46 | void selectMonth(); | 47 | void selectMonth(); |
47 | 48 | ||
48 | signals: | 49 | signals: |
49 | void goNextMonth(); | 50 | void goNextMonth(); |
50 | void goPrevMonth(); | 51 | void goPrevMonth(); |
51 | void goNextWeek(); | 52 | void goNextWeek(); |
52 | void goPrevWeek(); | 53 | void goPrevWeek(); |
53 | void goNextYear(); | 54 | void goNextYear(); |
54 | void goPrevYear(); | 55 | void goPrevYear(); |
55 | void monthSelected( int ); | 56 | void monthSelected( int ); |
56 | 57 | ||
57 | private: | 58 | private: |
59 | int mCurrentHei; | ||
60 | int mCurrentMinWid; | ||
61 | int mCurrentButtonMinWid; | ||
58 | QFrame *mCtrlFrame; | 62 | QFrame *mCtrlFrame; |
59 | 63 | ||
60 | QPushButton *mPrevYear; | 64 | QPushButton *mPrevYear; |
61 | QPushButton *mPrevMonth; | 65 | QPushButton *mPrevMonth; |
62 | QPushButton *mNextMonth; | 66 | QPushButton *mNextMonth; |
63 | QPushButton *mPrevWeek; | 67 | QPushButton *mPrevWeek; |
64 | QPushButton *mNextWeek; | 68 | QPushButton *mNextWeek; |
65 | QPushButton *mNextYear; | 69 | QPushButton *mNextYear; |
66 | QPushButton *mSelectMonth; | 70 | QPushButton *mSelectMonth; |
67 | 71 | ||
68 | //QLabel *mDateLabel; | 72 | //QLabel *mDateLabel; |
69 | }; | 73 | }; |