RibbonQuickAccessBar Class
RibbonQuickAccessBar class quick access ToolBar, which is located on RibbonBar. Quick access toolbar contains a set of controls that are always available to users regardless of which page is selected. More...
Header: | #include <RibbonQuickAccessBar> |
Inherits: | QToolBar |
Public Functions
RibbonQuickAccessBar(QWidget *parent = Q_NULL) | |
virtual | ~RibbonQuickAccessBar() |
QAction * | actionCustomizeButton() const |
bool | isActionVisible(QAction *action) const |
void | setActionVisible(QAction *action, bool visible) |
int | visibleCount() const |
Reimplemented Public Functions
virtual QSize | sizeHint() const override |
Reimplemented Protected Functions
virtual void | actionEvent(QActionEvent *event) override |
virtual bool | event(QEvent *event) override |
virtual void | paintEvent(QPaintEvent *event) override |
virtual void | resizeEvent(QResizeEvent *event) override |
Detailed Description
Member Function Documentation
[explicit]
RibbonQuickAccessBar::RibbonQuickAccessBar(QWidget *parent = Q_NULL)
Constructs RibbonQuickAccessBar object with the given parent.
[virtual noexcept]
RibbonQuickAccessBar::~RibbonQuickAccessBar()
Destructor of the RibbonQuickAccessBar object.
QAction *RibbonQuickAccessBar::actionCustomizeButton() const
Returns a pointer to the QAction that is associated with the customize button of Ribbon's Quick Access Bar.
[override virtual protected]
void RibbonQuickAccessBar::actionEvent(QActionEvent *event)
Reimplements: QToolBar::actionEvent(QActionEvent *event).
[override virtual protected]
bool RibbonQuickAccessBar::event(QEvent *event)
Reimplements: QToolBar::event(QEvent *event).
bool RibbonQuickAccessBar::isActionVisible(QAction *action) const
Returns the visibility of the visual representation for the given action.
[override virtual protected]
void RibbonQuickAccessBar::paintEvent(QPaintEvent *event)
Reimplements: QToolBar::paintEvent(QPaintEvent *event).
[override virtual protected]
void RibbonQuickAccessBar::resizeEvent(QResizeEvent *event)
Reimplements: QWidget::resizeEvent(QResizeEvent *event).
void RibbonQuickAccessBar::setActionVisible(QAction *action, bool visible)
Sets the visibility of the visual representation of action on the quick access toolbar. Parameter action is action, parameter visible is a visibility.
See also isActionVisible().
[override virtual]
QSize RibbonQuickAccessBar::sizeHint() const
Reimplements an access function for property: QWidget::sizeHint.
Returns the recommended size for Ribbon's Quick Access Bar.
int RibbonQuickAccessBar::visibleCount() const
Returns the count of the elements visible on Ribbon's Quick Access Bar.