author | drw <drw> | 2002-12-20 22:45:16 (UTC) |
---|---|---|
committer | drw <drw> | 2002-12-20 22:45:16 (UTC) |
commit | 3e67f4998a4957420d7f890268dc5f816e142468 (patch) (side-by-side diff) | |
tree | 428a6876c2e42efedb7334c440edc51acad6dacf /core/pim/todo/quickeditimpl.h | |
parent | 406e02d26c0925598cbadaead11e3ee7b2c7c51c (diff) | |
download | opie-3e67f4998a4957420d7f890268dc5f816e142468.zip opie-3e67f4998a4957420d7f890268dc5f816e142468.tar.gz opie-3e67f4998a4957420d7f890268dc5f816e142468.tar.bz2 |
First part of GUI clean-up. Added icons to 'quick task' entry toolbar and menu choice to show/hide the bar.
Diffstat (limited to 'core/pim/todo/quickeditimpl.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/todo/quickeditimpl.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/core/pim/todo/quickeditimpl.h b/core/pim/todo/quickeditimpl.h index d0f6c69..c58275e 100644 --- a/core/pim/todo/quickeditimpl.h +++ b/core/pim/todo/quickeditimpl.h @@ -1,34 +1,35 @@ #ifndef OPIE_QUICK_EDIT_IMPL_H #define OPIE_QUICK_EDIT_IMPL_H -#include <qhbox.h> +#include <qpe/qpetoolbar.h> #include "quickedit.h" class QLineEdit; class QLabel; -class QuickEditImpl : public QHBox, public Todo::QuickEdit { +class QuickEditImpl : public QPEToolBar, public Todo::QuickEdit { Q_OBJECT public: - QuickEditImpl( Todo::MainWindow* win , QWidget* parent); + QuickEditImpl( QWidget* parent, bool visible); ~QuickEditImpl(); OTodo todo()const; QWidget* widget(); - QSize sizeHint()const; private slots: void slotEnter(); void slotPrio(); void slotMore(); + void slotCancel(); private: void reinit(); int m_state; QLabel* m_lbl; QLineEdit* m_edit; QLabel* m_enter; QLabel* m_more; QPopupMenu* m_menu; OTodo m_todo; + bool m_visible; }; #endif |