Go to the documentation of this file.00001
00002
00003
00004
00005
00008
00009 #ifndef lgrFilterMenu_H_
00010 #define lgrFilterMenu_H_
00011
00012 #include "lgrMenu.h"
00013 #include <QtCore/QObject>
00014
00015 namespace MAKLogger
00016 {
00017 class DtLgrPacketFilter;
00018 class DtLgrGuiModel;
00019
00021 class DT_DLL_LGRGUI DtLgrFilterMenu : public DtLgrMenu
00022 {
00023 Q_OBJECT
00024 public:
00025
00026 DtLgrFilterMenu(DtLgrGuiModel* model,QWidget* parent);
00027 virtual ~DtLgrFilterMenu();
00028
00029 virtual void connectToEventHandler(QObject* lgrSlots);
00030
00031 public slots:
00032 void filtersChanged(int count);
00033 void modifyFilter();
00034
00035 protected:
00036
00037 void clearFilters();
00038 void addFilter(const DtLgrPacketFilter* filter);
00039
00040 DtLgrGuiModel* myModel;
00041 };
00042 }
00043
00044 #endif