#include <SARibbonStackedWidget.h>
|
|
int | animationWidgetHeight |
| |
◆ SARibbonStackedWidget()
| SARibbonStackedWidget::SARibbonStackedWidget |
( |
QWidget * |
parent | ) |
|
|
explicit |
◆ ~SARibbonStackedWidget()
| SARibbonStackedWidget::~SARibbonStackedWidget |
( |
| ) |
|
◆ animationDuration()
| int SARibbonStackedWidget::animationDuration |
( |
| ) |
const |
◆ animationWidgetHeight()
| int SARibbonStackedWidget::animationWidgetHeight |
( |
| ) |
const |
Get animation widget height
◆ exec()
| void SARibbonStackedWidget::exec |
( |
| ) |
|
Run event loop modally in popup mode
◆ hideEvent()
| void SARibbonStackedWidget::hideEvent |
( |
QHideEvent * |
e | ) |
|
|
overrideprotected |
◆ hidWindow
| void SARibbonStackedWidget::hidWindow |
( |
| ) |
|
|
signal |
◆ isNormalMode()
| bool SARibbonStackedWidget::isNormalMode |
( |
| ) |
const |
Check if currently in normal mode
◆ isPopupMode()
| bool SARibbonStackedWidget::isPopupMode |
( |
| ) |
const |
Check if currently in popup mode
◆ isUseAnimation()
| bool SARibbonStackedWidget::isUseAnimation |
( |
| ) |
const |
Check if animation is enabled
◆ layoutRequestInnerWidgets()
| void SARibbonStackedWidget::layoutRequestInnerWidgets |
( |
| ) |
|
Send layout request to inner widgets
◆ moveWidget()
| void SARibbonStackedWidget::moveWidget |
( |
int |
from, |
|
|
int |
to |
|
) |
| |
Similar to tabbar's moveTab function, swap the index of two widgets
◆ normalGeometry()
| QRect SARibbonStackedWidget::normalGeometry |
( |
| ) |
const |
◆ resizeEvent()
| void SARibbonStackedWidget::resizeEvent |
( |
QResizeEvent * |
e | ) |
|
|
overrideprotectedvirtual |
◆ setAnimationDuration()
| void SARibbonStackedWidget::setAnimationDuration |
( |
int |
duration | ) |
|
Set animation duration (milliseconds)
◆ setAnimationWidgetHeight()
| void SARibbonStackedWidget::setAnimationWidgetHeight |
( |
int |
h | ) |
|
Set animation widget height
◆ setNormalGeometry()
| void SARibbonStackedWidget::setNormalGeometry |
( |
const QRect & |
normalGeometry | ) |
|
Set window normalGeometry, since this window has animation, to prevent size setting from being overwritten by animation during animation process
◆ setNormalMode()
| void SARibbonStackedWidget::setNormalMode |
( |
| ) |
|
Set normal mode, same as normal stackwidget
◆ setPopupMode()
| void SARibbonStackedWidget::setPopupMode |
( |
| ) |
|
◆ setUseAnimation()
| void SARibbonStackedWidget::setUseAnimation |
( |
bool |
on | ) |
|
Set whether to enable popup animation
◆ showEvent()
| void SARibbonStackedWidget::showEvent |
( |
QShowEvent * |
e | ) |
|
|
overrideprotected |
◆ updateInnerWidgetGeometry()
| void SARibbonStackedWidget::updateInnerWidgetGeometry |
( |
| ) |
|
|
protected |
Update inner widget geometry
该类的文档由以下文件生成:
- /home/runner/work/SARibbon/SARibbon/src/SARibbonBar/SARibbonStackedWidget.h
- /home/runner/work/SARibbon/SARibbon/src/SARibbonBar/SARibbonStackedWidget.cpp