A QToolBar populated from an ext_toolbar_t plugin toolbar descriptor.
More...
#include <additional_toolbar.h>
A QToolBar populated from an ext_toolbar_t plugin toolbar descriptor.
◆ AdditionalToolBar()
| AdditionalToolBar::AdditionalToolBar |
( |
ext_toolbar_t * | toolbar, |
|
|
QWidget * | parent = 0 ) |
Construct an AdditionalToolBar from an ext_toolbar_t descriptor.
- Parameters
-
| toolbar | The external toolbar descriptor whose items are added. |
| parent | The parent widget. |
◆ create()
Factory method: create an AdditionalToolBar if toolbar is valid.
- Parameters
-
| parent | The parent widget. |
| toolbar | The external toolbar descriptor to use. |
- Returns
- A new AdditionalToolBar, or nullptr if
toolbar is invalid or has no items.
◆ menuName()
| QString AdditionalToolBar::menuName |
( |
| ) |
|
Return the display name of this toolbar.
- Returns
- The toolbar's name string from the ext_toolbar_t descriptor, for use in the View → Toolbars menu.
The documentation for this class was generated from the following files:
- /builds/wireshark/wireshark/ui/qt/widgets/additional_toolbar.h
- /builds/wireshark/wireshark/ui/qt/widgets/additional_toolbar.cpp