RibbonCustomizeDialog Class
RibbonCustomizeDialog implements dialog to configure actions, pages, groups that are located at RibbonBar. More...
| Header: | #include <RibbonCustomizeDialog> |
| Inherits: | QDialog |
Public Functions
| void | addPage(QWidget *page) |
| QWidget * | currentPage() const |
| int | currentPageIndex() const |
| int | indexOf(QWidget *page) const |
| void | insertPage(int index, QWidget *page) |
| QWidget * | pageByIndex(int index) const |
| int | pageCount() const |
| void | setCurrentPage(QWidget *page) |
| void | setCurrentPageIndex(int index) |
Reimplemented Public Functions
Reimplemented Protected Functions
| virtual void | hideEvent(QHideEvent *event) override |
| virtual void | showEvent(QShowEvent *event) override |
Detailed Description
See also RibbonBar::customizeDialog() and RibbonBar::showCustomizeDialog().
Member Function Documentation
[override virtual] void RibbonCustomizeDialog::accept()
Reimplements: QDialog::accept().
void RibbonCustomizeDialog::addPage(QWidget *page)
Adds a widget to the dialogue as a setting page.
QWidget *RibbonCustomizeDialog::currentPage() const
Returns a page that is active at the moment.
See also setCurrentPage().
int RibbonCustomizeDialog::currentPageIndex() const
Returns an index of the page that is active at the moment.
See also setCurrentPageIndex().
[override virtual protected] void RibbonCustomizeDialog::hideEvent(QHideEvent *event)
Reimplements: QWidget::hideEvent(QHideEvent *event).
int RibbonCustomizeDialog::indexOf(QWidget *page) const
Returns index of the page.
void RibbonCustomizeDialog::insertPage(int index, QWidget *page)
Inserts a widget to the dialogue in a position index as a setting page.
QWidget *RibbonCustomizeDialog::pageByIndex(int index) const
Returns a page by its index.
int RibbonCustomizeDialog::pageCount() const
Returns a count of the pages in the dialogue.
[override virtual] void RibbonCustomizeDialog::reject()
Reimplements: QDialog::reject().
void RibbonCustomizeDialog::setCurrentPage(QWidget *page)
Makes the page an active.
See also currentPage().
void RibbonCustomizeDialog::setCurrentPageIndex(int index)
Makes the page with the index an active.
See also currentPageIndex().
[override virtual protected] void RibbonCustomizeDialog::showEvent(QShowEvent *event)
Reimplements: QDialog::showEvent(QShowEvent *event).