diff options
author | deva <deva> | 2006-03-09 11:03:35 +0000 |
---|---|---|
committer | deva <deva> | 2006-03-09 11:03:35 +0000 |
commit | 0eb1af1add19c8ffb8f5ab11f74810366f1beed1 (patch) | |
tree | 06191ba6af6cbb474f670c5ecd729e48989791af /client/historyframe.h | |
parent | 4f84ffc811d93371f395f11a0e0f42000eaa99fc (diff) |
*** empty log message ***
Diffstat (limited to 'client/historyframe.h')
-rw-r--r-- | client/historyframe.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/client/historyframe.h b/client/historyframe.h index 39366a9..696b8fc 100644 --- a/client/historyframe.h +++ b/client/historyframe.h @@ -28,22 +28,27 @@ #ifndef __MIAV_HISTORYFRAME_H__ #define __MIAV_HISTORYFRAME_H__ -#include <QFrame> -#include <QList> +#include <QGroupBox> #include "historywidget.h" -class HistoryFrame : public QFrame +// How many history items should be held in memory? +#define MAX_HISTORY 20 + +class HistoryFrame : public QGroupBox { public: HistoryFrame(); ~HistoryFrame(); void addHistoryItem(HistoryWidget *item); + void clearHistory(); protected: void resizeEvent(QResizeEvent *event); private: + void doLayoutHistoryWidgets(); + QList<HistoryWidget*> widgets; }; |