From 0eb1af1add19c8ffb8f5ab11f74810366f1beed1 Mon Sep 17 00:00:00 2001 From: deva Date: Thu, 9 Mar 2006 11:03:35 +0000 Subject: *** empty log message *** --- client/historyframe.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'client/historyframe.h') 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 -#include +#include #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 widgets; }; -- cgit v1.2.3