ossp-pkg/as/as-gui/as_reportpanel.h 1.1 -> 1.2
--- as_reportpanel.h 2003/02/17 17:16:18 1.1
+++ as_reportpanel.h 2003/02/18 18:27:46 1.2
@@ -41,7 +41,7 @@
class QGridLayout;
class QGroupBox;
class QPushButton;
-class QTextBrowser;
+class QTextEdit;
class QToolButton;
class Reportpanel : public QDialog
@@ -57,7 +57,7 @@
QToolButton *m_pWeeklybutt;
QToolButton *m_pMonthlybutt;
QToolButton *m_pBothbutt;
- QTextBrowser *m_pBrowser;
+ QTextEdit *m_pBrowser;
QPushButton *m_pSavebutt;
QPushButton *m_pDismissbutt;
@@ -68,8 +68,15 @@
QHBoxLayout *m_pPushlay;
protected slots:
- void saveReport(void);
+ virtual void saveReport(void);
virtual void textChange(void);
+ virtual void reportWeeks(int nWeeks = 1);
+ virtual void reportMonths(int nMonths = 1);
+
+private:
+ void writeHeader(void);
+ void writeWeek(void);
+ void writeMonth(void);
};
#endif // REPORTPANEL_H
|
|