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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user