You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

29 lines
714 B

#ifndef __EVENT_VIEW_WIDGET_HEADER__
#define __EVENT_VIEW_WIDGET_HEADER__
#include "../gui.h"
#include "../../components/base/basicEventHandler.h"
#include "../../components/base/basicMutex.h"
typedef struct{
E_basicEventTypeID evtType;
char msg[256];
} EVListItem;
typedef std::vector<EVListItem> vectorEVLI;
class EventViewerList: public QListWidget, public basicEventHandler{
private:
basicMutex m_oLinesProtector;
vectorEVLI m_vLines;
QTimer *m_pStatusTimer;
private slots:
void handleTimer( void );
protected:
public:
explicit EventViewerList( QWidget *parent = NULL );
~EventViewerList();
virtual bool dispatchEvent(basicEvent *Evt);
};
#endif