Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
stock_icon_tool_button.h
Go to the documentation of this file.
1
10#ifndef STOCKICONTOOLBUTTON_H
11#define STOCKICONTOOLBUTTON_H
12
13#include <QToolButton>
14
15class StockIconToolButton : public QToolButton
16{
17public:
18 explicit StockIconToolButton(QWidget * parent = 0, QString stock_icon_name = QString());
19
20 void setIconMode(QIcon::Mode mode = QIcon::Normal);
21 void setStockIcon(QString icon_name = QString());
22
23protected:
24 virtual bool event(QEvent *event);
25
26private:
27 QIcon base_icon_;
28 QString icon_name_;
29};
30
31#endif // STOCKICONTOOLBUTTON_H
Definition stock_icon_tool_button.h:16