API Documentation
|
#include <SectionWidget.h>
Public Slots | |
void | updateTabs () |
Signals | |
void | ribbonLocationChangedSignal (RibbonArea area) |
void | tabChangedSignal (uint04 idx) |
void | userChangedCurrentTabSignal (uint04 idx) |
Signals inherited from QCustomStackedWidgetBase | |
void | animationFinished () |
Protected Member Functions | |
uint04 | convertToIndexVisibleIndex (uint04 index) |
int | tabSize () const |
virtual void | showEvent (QShowEvent *) override |
Protected Member Functions inherited from QCustomStackedWidgetBase | |
QCustomStackedWidgetBase (QWidget *parent=nullptr) | |
virtual | ~QCustomStackedWidgetBase () |
void | resizeEvent (QResizeEvent *event) override |
void | showEvent (QShowEvent *event) override |
void | setAnimationPercent (double animation_percent) |
double | animationPercent () const |
void | paintEvent (QPaintEvent *) override |
virtual uint04 | addWidget (QWidget *w) |
void | insertWidget (uint04 index, QWidget *w) |
void | removeWidget (QWidget *widget) |
void | removeWidget (QWidget *widget, QWidget *slide_to_if_active) |
bool | eventFilter (QObject *object, QEvent *event) override |
uint04 | activeIndex () const |
QWidget * | activeWidget () const |
QWidget * | currentWidget () const |
QSize | sizeHint () const override |
QSize | minimumSizeHint () const override |
QWidget * | widget (uint04 index) const |
uint04 | indexOf (QWidget *widget) const |
uint04 | currentIndex () const |
uint04 | count () const |
virtual void | setCurrentIdx (uint04 current_index) |
virtual void | slideInNext () |
virtual void | slideInPrev () |
virtual void | slideInIdx (uint04 idx, PopupInfo origin_rect, int delay_time=0, enum t_direction direction=AUTOMATIC) |
virtual void | slideInIdx (uint04 idx, int delay_time=0, enum t_direction direction=AUTOMATIC) |
virtual void | slideInIdx (uint04 idx, enum t_direction direction) |
virtual void | slideInAnimation (PopupInfo origin_rect, enum t_direction direction=AUTOMATIC, bool cache_in_image=false) |
virtual void | slideInAnimation (enum t_direction direction=AUTOMATIC, bool cache_in_image=false) |
virtual void | slideInWgt (QWidget *widget, enum t_direction direction=AUTOMATIC, bool force_slide=false) |
Properties | |
double | animation_progress |
Properties inherited from QCustomStackedWidgetBase | |
double | animation_percent |
Additional Inherited Members | |
Public Types inherited from QCustomStackedWidgetBase | |
enum | t_direction { LEFT2RIGHT , RIGHT2LEFT , TOP2BOTTOM , BOTTOM2TOP , AUTOMATIC } |
Static Public Attributes inherited from QCustomStackedWidgetBase | |
static ApplicationOption< sint04 > | default_stack_animation_speed |
Protected Slots inherited from QCustomStackedWidgetBase | |
void | childDestroyedSlot (QObject *widget) |
void | animationDoneSlot () |
Protected Attributes inherited from QCustomStackedWidgetBase | |
int | m_speed |
enum QEasingCurve::Type | m_animationtype |
uint04 | m_now |
uint04 | m_next |
uint04 | m_last |
int | m_last_animation_time |
QPoint | m_offset |
PopupInfo | m_popup_info |
double | m_animation_percent |
uint04 | m_current_index |
Buffer< QWidget * > | m_child_widgets |
QPointer< QPropertyAnimation > | m_move_animation |
bool | m_is_animating |
bool | m_vertical |
bool | m_wrap = false |
|
explicit |
|
virtual |
uint04 activeIndex | ( | ) | const |
void addContent | ( | SectionContent * | c | ) |
void addContent | ( | SectionContent * | data, |
bool | animate ) |
|
inline |
ContainerWidgetBase * containerWidget | ( | ) | const |
uint04 contentCount | ( | ) | const |
|
inline |
void createCollapseAnimation | ( | ) |
uint04 currentIndex | ( | ) | const |
|
override |
void finishAnimation | ( | ) |
bool hasVisibleTab | ( | ) | const |
void hideCurrentSection | ( | ) |
uint04 indexOf | ( | SectionContent * | c | ) |
uint04 indexOfContent | ( | SectionContent * | c | ) | const |
uint04 indexOfContentByTitlePos | ( | const QPoint & | pos, |
QWidget * | exclude = nullptr ) const |
void insertContent | ( | uint04 | index, |
SectionContent * | data, | ||
bool | animate ) |
bool isLayoutVertical | ( | ) | const |
bool isRibbonHorizontal | ( | ) | const |
bool isRibbonLayoutHorizontal | ( | ) | const |
bool minimizeAllowed | ( | ) |
|
override |
Reimplemented from QCustomStackedWidgetBase.
QSize normalMinimumSize | ( | ) | const |
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
int prefferedContentWidth | ( | ) | const |
|
override |
|
inline |
|
signal |
void setAnimationProgress | ( | double | width | ) |
void setCurrentIndex | ( | uint04 | index, |
bool | animate ) |
void setMinimizeAllowed | ( | bool | allowed | ) |
void setRibbonArea | ( | RibbonArea | area | ) |
void setTabLock | ( | bool | tab_lock | ) |
void setTabVisible | ( | bool | visible | ) |
void setupAsBoxWidget | ( | bool | is_box_widget | ) |
|
overrideprotectedvirtual |
|
inline |
|
override |
Reimplemented from QCustomStackedWidgetBase.
|
signal |
|
inline |
|
protected |
bool takeContent | ( | SectionContent * | data | ) |
bool takeContent | ( | uint04 | index | ) |
QRect titleAreaGeometry | ( | ) | const |
UUID uid | ( | ) | const |
void updateLayout | ( | QBoxLayout * | layout | ) |
|
slot |
|
signal |
|
readwrite |