Completion of adding a new mode to sniffer window (View Bits). Also
now it loads and saves the window position, size, and column sizes for the sniffer window.
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include <QDialog>
|
||||
#include <QListWidgetItem>
|
||||
#include "sniffermodel.h"
|
||||
#include "SnifferDelegate.h"
|
||||
|
||||
namespace Ui {
|
||||
class snifferWindow;
|
||||
@@ -46,12 +47,16 @@ public slots:
|
||||
private:
|
||||
void filter(bool pFilter);
|
||||
bool eventFilter(QObject *obj, QEvent *event);
|
||||
void readSettings();
|
||||
void writeSettings();
|
||||
|
||||
Ui::snifferWindow* ui;
|
||||
SnifferModel mModel;
|
||||
QTimer mTimer;
|
||||
QMap<int, QListWidgetItem*> mMap;
|
||||
bool mFilter;
|
||||
SnifferDelegate *sniffDel;
|
||||
QAbstractItemDelegate *defaultDel;
|
||||
};
|
||||
|
||||
#endif // SNIFFER_H
|
||||
|
||||
Reference in New Issue
Block a user