ossp-pkg/as/as-gui/as_gui.h 1.12 -> 1.13
--- as_gui.h 2002/11/19 08:17:44 1.12
+++ as_gui.h 2002/11/19 19:42:14 1.13
@@ -10,6 +10,8 @@
#include <qstatusbar.h>
#include <qimage.h>
#include <qpushbutton.h>
+#include <qdatetimeedit.h>
+#include <qspinbox.h>
#include <qlineedit.h>
#include <qlayout.h>
@@ -43,23 +45,29 @@
QStringList *m_pTaskentries;
// Reusable graphics
- QImage *m_pCwicon;
+ QImage *m_pCwlogo;
QImage *m_pOsspicon;
+ QImage *m_pOssplogo;
QImage *m_pQticon;
QImage *m_pNewicon;
QImage *m_pOpenicon;
QImage *m_pSaveicon;
QImage *m_pWhatsicon;
+ // Edition widgets
+ QDateEdit *m_pDateedit;
+ QTimeEdit *m_pStarttime;
+ QTimeEdit *m_pEndtime;
+ QSpinBox *m_pAmount;
+ QComboBox *m_pTasks;
+ QLineEdit *m_pRemark;
+
// Push buttons in control layout
QPushButton *m_pAddbutton;
QPushButton *m_pDeletebutton;
QPushButton *m_pWritebutton;
QPushButton *m_pQuitbutton;
- // Line edit for status
- QLineEdit *m_pStatus;
-
protected slots:
virtual void init(void); // Override init to include custom controls
void addEntry(void); // Add a task entry to the list
@@ -82,6 +90,8 @@
QFrame *m_pCenframe; // Central frame
QVBoxLayout *m_pMainlayout; // Package and control layouts
QVBoxLayout *m_pPackagelayout; // Main table control
+ QHBoxLayout *m_pDatelayout; // Lower date and time widgets
+ QHBoxLayout *m_pTasklayout; // Lower task and remark widgets
QHBoxLayout *m_pControllayout; // Lower control buttons
private:
@@ -107,7 +117,7 @@
void setupStatusbar(void); // Status bar
void setupCentralwidget(void); // Assemble main Frame widget
void setupTable(void); // Table widget
- void setupOutput(void); // Output widget
+ void setupEditlay(void); // Editing lay
void setupButtons(void); // Push button widgets
void setupPieces(void); // Assemble widget pieces
};
|
|