API Documentation
Loading...
Searching...
No Matches
ContainerWidget Class Reference

#include <ContainerWidget.h>

Inheritance diagram for ContainerWidget:
[legend]
Collaboration diagram for ContainerWidget:
[legend]

Public Member Functions

 ContainerWidget (QWidget *parent=nullptr)
 
void clearAllSectionContent () override
 
void setShouldAnimateAdd (bool animate) override
 
void setTabLock (bool tab_lock)
 
- Public Member Functions inherited from ContainerWidgetBase
 ContainerWidgetBase (QWidget *parent=nullptr)
 
virtual ~ContainerWidgetBase ()
 
- Public Member Functions inherited from QCustomStackedWidgetBase
void setSpeed (int speed)
 
void setAnimation (enum QEasingCurve::Type animationtype)
 
void setVerticalMode (bool vertical=true)
 
void setWrap (bool wrap)
 
void setCustomPixmap (QPixmap *pixmap)
 

Additional Inherited Members

- Public Types inherited from QCustomStackedWidgetBase
enum  t_direction {
  LEFT2RIGHT , RIGHT2LEFT , TOP2BOTTOM , BOTTOM2TOP ,
  AUTOMATIC
}
 
- Signals inherited from QCustomStackedWidgetBase
void animationFinished ()
 
- Static Public Attributes inherited from QCustomStackedWidgetBase
static ApplicationOption< sint04default_stack_animation_speed
 
- Protected Slots inherited from QCustomStackedWidgetBase
void childDestroyedSlot (QObject *widget)
 
void animationDoneSlot ()
 
- Protected Member Functions inherited from ContainerWidgetBase
virtual SectionWidgetaddSectionContent (SectionContent *sc, SectionWidget *sw, DropArea area=e_drop_center)
 
virtual FloatingWidgetaddSectionContent (SectionContent *sc)
 
FloatingWidgetmakeFloating (SectionContent *sc, bool show, PopupInfo start=PopupInfo(), PopupInfo end=PopupInfo())
 
FloatingWidgetmakeFullScreen (SectionContent *sc, PopupInfo start=PopupInfo())
 
bool popWindowStack ()
 
bool hasSectionContent (SectionContent *sc)
 
bool removeSectionContent (SectionContent *sc)
 
void resizeEvent (QResizeEvent *event) override
 
bool showSectionContent (SectionContent *sc, PopupInfo start=PopupInfo(), PopupInfo end=PopupInfo())
 
bool hideSectionContent (SectionContent *sc, PopupInfo end=PopupInfo())
 
bool raiseSectionContent (SectionContent *sc)
 
void bringFloatingWidgetsForward ()
 
void setTabLock (bool tab_lock)
 
void beginResetAll ()
 
void removeFromResetShow (UUID id)
 
void endResetAll ()
 
bool isSectionContentVisible (SectionContent *sc)
 
void swapSectionContent (SectionContent *section_a, SectionContent *section_b)
 
Buffer< SectionContent * > contents () const
 
QRect outerTopDropRect () const
 
QRect outerRightDropRect () const
 
QRect outerBottomDropRect () const
 
QRect outerLeftDropRect () const
 
QSize sizeHint () const override
 
QSize minimumSizeHint () const override
 
DropOverlaydropOverlay ()
 
virtual void clearAllNonFloatingContent ()
 
bool event (QEvent *event) 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 void swapIndices (uint04 a, uint04 b)
 
virtual void moveContent (uint04 from, uint04 to)
 
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)
 
- Protected Attributes inherited from ContainerWidgetBase
Dictionary< UUID, SectionWidget * > m_sections
 
Dictionary< UUID, SectionContent * > m_section_content
 
SharedSectionContentAream_top_splitter = nullptr
 
DropOverlaym_drop_overlay
 
SectionWidgetm_top_section_widget = nullptr
 
Buffer< SharedSectionContentArea * > m_shared_content
 
Buffer< std::pair< QPointer< QWidget >, Buffer< QPointer< FloatingWidget > > > > m_fullscreen_stack
 
Buffer< std::pair< QPointer< QWidget >, Buffer< QPointer< FloatingWidget > > > > m_reset_fullscreen_stack
 
Buffer< UUIDm_reset_visible_sections
 
bool m_animate_add = true
 
bool m_reset_is_on_home = false
 
- 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
 
- Properties inherited from QCustomStackedWidgetBase
double animation_percent
 

Constructor & Destructor Documentation

◆ ContainerWidget()

ContainerWidget ( QWidget * parent = nullptr)
inline

Member Function Documentation

◆ clearAllSectionContent()

void clearAllSectionContent ( )
inlineoverridevirtual

Reimplemented from ContainerWidgetBase.

◆ setShouldAnimateAdd()

void setShouldAnimateAdd ( bool animate)
inlineoverridevirtual

Reimplemented from ContainerWidgetBase.

◆ setTabLock()

void setTabLock ( bool tab_lock)
inline

The documentation for this class was generated from the following file: