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:
Collin Kidder
2019-02-20 21:14:25 -05:00
parent cc4d0ff746
commit b54777d1aa
5 changed files with 91 additions and 5 deletions
+3
View File
@@ -10,6 +10,8 @@ public:
explicit SnifferDelegate(QWidget *parent = nullptr);
void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const;
QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const;
bool getFadeInactive();
void setFadeInactive(bool val);
signals:
@@ -19,6 +21,7 @@ private:
QBrush blackBrush, whiteBrush, redBrush, greenBrush, grayBrush;
QFont mainFont;
QFontInfo* mainFontInfo;
bool mFadeInactive;
};
#endif