00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031 #ifndef OPIE_TEMPLATE_DIALOG_H
00032 #define OPIE_TEMPLATE_DIALOG_H
00033
00034 #include <qdialog.h>
00035 #include <qstring.h>
00036
00037 class QListView;
00038 class QPushButton;
00039 class QLabel;
00040 class QHBox;
00041 class QVBoxLayout;
00042 class QLineEdit;
00043
00044
00045 namespace Todo {
00046 class TemplateDialog : public QDialog {
00047 Q_OBJECT
00048 public:
00049
00050 TemplateDialog( QWidget* parent );
00051 virtual ~TemplateDialog();
00052
00053 protected:
00054 QListView* listView();
00055 QLineEdit* edit();
00056 private slots:
00057 virtual void slotAdd();
00058 virtual void slotRemove();
00059 virtual void slotEdit();
00060 virtual void slotReturn();
00061
00062 private:
00063 QVBoxLayout* m_main;
00064 QHBox* m_btnBar;
00065 QListView* m_list;
00066 QLineEdit *m_lne;
00067 QPushButton* m_add;
00068 QPushButton* m_rem;
00069 QPushButton* m_edit;
00070
00071 };
00072 }
00073
00074 #endif