Class which displays progress and the current action being performed.
More...
|
| | Toolbar (QWidget *parent=nullptr) |
| | Constructs a Toolbar widget.
|
| virtual void | addWidget (const QPointer< QWidget > &widget) |
| | Adds a widget to the toolbar layout.
|
|
virtual void | clear () |
| | Removes all widgets from the toolbar.
|
| virtual void | removeWidget (const QPointer< QWidget > &widget) |
| | Removes a widget from the toolbar layout.
|
|
| QSize | minimumSizeHint () const override |
| | Returns the minimum recommended size for the toolbar.
|
| QSize | sizeHint () const override |
| | Returns the recommended size for the toolbar.
|
Class which displays progress and the current action being performed.
Typically shown at the bottom of a view, or at the top with the ribbon.
Definition at line 14 of file Toolbar.h.
◆ Toolbar()
| Toolbar::Toolbar |
( |
QWidget * | parent = nullptr | ) |
|
Constructs a Toolbar widget.
- Parameters
-
| [in] | parent | The optional parent widget. |
◆ addWidget()
| virtual void Toolbar::addWidget |
( |
const QPointer< QWidget > & | widget | ) |
|
|
virtual |
Adds a widget to the toolbar layout.
- Parameters
-
| [in] | widget | The widget to add. |
◆ minimumSizeHint()
| QSize Toolbar::minimumSizeHint |
( |
| ) |
const |
|
overrideprotected |
Returns the minimum recommended size for the toolbar.
- Returns
- The minimum QSize.
◆ removeWidget()
| virtual void Toolbar::removeWidget |
( |
const QPointer< QWidget > & | widget | ) |
|
|
virtual |
Removes a widget from the toolbar layout.
- Parameters
-
| [in] | widget | The widget to remove. |
◆ sizeHint()
| QSize Toolbar::sizeHint |
( |
| ) |
const |
|
overrideprotected |
Returns the recommended size for the toolbar.
- Returns
- The preferred QSize.
The documentation for this class was generated from the following file: