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

#include <SectionWidgetTabsScrollArea.h>

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

Signals

void boundsUpdateFinishedSignal ()
 

Public Member Functions

 SectionWidgetTabsScrollArea (QWidget *parent=nullptr)
 
virtual ~SectionWidgetTabsScrollArea ()
 
QSize sizeHint () const override
 
QSize minimumSizeHint () const override
 
QWidget * tabsContainer () const
 
void removeMainWidget (bool animate)
 
void insertMainWidget (uint04 index, QWidget *widget, bool animate)
 
void insertTabWidget (uint04 index, QWidget *widget)
 
void removeTabWidget (QWidget *widget)
 
bool hasTabWidget (QWidget *widget)
 
void setWidgetSelected (QWidget *widget)
 
void resizeEvent (QResizeEvent *event) override
 
QScrollArea * scrollArea ()
 
void setArea (RibbonArea area)
 
RibbonArea area () const
 
uint04 indexOf (QWidget *widget) const
 
uint04 count () const
 
QWidget * widget (uint04 index)
 
void swap (uint04 a, uint04 b)
 
void move (uint04 from, uint04 to)
 
bool isAtBottom () const
 
bool isAtTop () const
 
bool isVertical () const
 
bool isRelativeVertical () const
 
bool isTextVertical () const
 
void jumpToBottom ()
 
void setAutoExpand (bool auto_expand)
 
void paintEvent (QPaintEvent *event) override
 
void updateSeperatorSizes ()
 
void showEvent (QShowEvent *) override
 
bool event (QEvent *event) override
 
QWidget * mainWidget () const
 

Protected Member Functions

QSize scrollSizeHint () const
 
void setupSeperator (QFrame *line)
 
QBoxLayout * tabsLayout ()
 
void resetScroller ()
 
void recalculateScrollerSnaps ()
 
void updateSelectionWidgetHighlight ()
 
void updateEdgeLocations ()
 
void updateSizePolicy ()
 
virtual void wheelEvent (QWheelEvent *) override
 

Protected Attributes

QScrollArea * m_scroll_area
 
QWidget * m_tabs_container_widget
 
QBoxLayout * m_tabs_layout
 
QWidget * m_inner_scroll
 
QWidget * m_selected_widget
 
QWidget * m_float_widget
 
QBoxLayout * m_inner_scroll_layout
 
QSpacerItem * m_spacer_item
 
Buffer< QFrame * > m_seperators
 
Buffer< QWidget * > m_widgets
 
QWidget * m_main_widget = nullptr
 
SelectionHighlightBarm_highlight_bar
 
RibbonArea m_ribbon_area
 
QTimer * m_bounds_updater
 
ScrollEdgem_top_edge
 
ScrollEdgem_bottom_edge
 
bool m_is_shown
 
bool m_is_bottom = false
 
bool m_auto_scroll_to_bottom
 
bool m_auto_expand = false
 
uint04 m_update_count
 
uint04 m_main_widget_location = Constant<uint04>::NaN
 

Constructor & Destructor Documentation

◆ SectionWidgetTabsScrollArea()

SectionWidgetTabsScrollArea ( QWidget * parent = nullptr)

◆ ~SectionWidgetTabsScrollArea()

Member Function Documentation

◆ area()

RibbonArea area ( ) const
inline

◆ boundsUpdateFinishedSignal

void boundsUpdateFinishedSignal ( )
signal

◆ count()

uint04 count ( ) const

◆ event()

bool event ( QEvent * event)
override

◆ hasTabWidget()

bool hasTabWidget ( QWidget * widget)

◆ indexOf()

uint04 indexOf ( QWidget * widget) const

◆ insertMainWidget()

void insertMainWidget ( uint04 index,
QWidget * widget,
bool animate )

◆ insertTabWidget()

void insertTabWidget ( uint04 index,
QWidget * widget )

◆ isAtBottom()

bool isAtBottom ( ) const

◆ isAtTop()

bool isAtTop ( ) const

◆ isRelativeVertical()

bool isRelativeVertical ( ) const

◆ isTextVertical()

bool isTextVertical ( ) const

◆ isVertical()

bool isVertical ( ) const

◆ jumpToBottom()

void jumpToBottom ( )

◆ mainWidget()

QWidget * mainWidget ( ) const

◆ minimumSizeHint()

QSize minimumSizeHint ( ) const
override

◆ move()

void move ( uint04 from,
uint04 to )

◆ paintEvent()

void paintEvent ( QPaintEvent * event)
override

◆ recalculateScrollerSnaps()

void recalculateScrollerSnaps ( )
protected

◆ removeMainWidget()

void removeMainWidget ( bool animate)

◆ removeTabWidget()

void removeTabWidget ( QWidget * widget)

◆ resetScroller()

void resetScroller ( )
protected

◆ resizeEvent()

void resizeEvent ( QResizeEvent * event)
override

◆ scrollArea()

QScrollArea * scrollArea ( )
inline

◆ scrollSizeHint()

QSize scrollSizeHint ( ) const
protected

◆ setArea()

void setArea ( RibbonArea area)

◆ setAutoExpand()

void setAutoExpand ( bool auto_expand)

◆ setupSeperator()

void setupSeperator ( QFrame * line)
protected

◆ setWidgetSelected()

void setWidgetSelected ( QWidget * widget)

◆ showEvent()

void showEvent ( QShowEvent * event)
override

◆ sizeHint()

QSize sizeHint ( ) const
override

◆ swap()

void swap ( uint04 a,
uint04 b )

◆ tabsContainer()

QWidget * tabsContainer ( ) const
inline

◆ tabsLayout()

QBoxLayout * tabsLayout ( )
inlineprotected

◆ updateEdgeLocations()

void updateEdgeLocations ( )
protected

◆ updateSelectionWidgetHighlight()

void updateSelectionWidgetHighlight ( )
protected

◆ updateSeperatorSizes()

void updateSeperatorSizes ( )

◆ updateSizePolicy()

void updateSizePolicy ( )
protected

◆ wheelEvent()

void wheelEvent ( QWheelEvent * )
overrideprotectedvirtual

◆ widget()

QWidget * widget ( uint04 index)

Member Data Documentation

◆ m_auto_expand

bool m_auto_expand = false
protected

◆ m_auto_scroll_to_bottom

bool m_auto_scroll_to_bottom
protected

◆ m_bottom_edge

ScrollEdge* m_bottom_edge
protected

◆ m_bounds_updater

QTimer* m_bounds_updater
protected

◆ m_float_widget

QWidget* m_float_widget
protected

◆ m_highlight_bar

SelectionHighlightBar* m_highlight_bar
protected

◆ m_inner_scroll

QWidget* m_inner_scroll
protected

◆ m_inner_scroll_layout

QBoxLayout* m_inner_scroll_layout
protected

◆ m_is_bottom

bool m_is_bottom = false
protected

◆ m_is_shown

bool m_is_shown
protected

◆ m_main_widget

QWidget* m_main_widget = nullptr
protected

◆ m_main_widget_location

uint04 m_main_widget_location = Constant<uint04>::NaN
protected

◆ m_ribbon_area

RibbonArea m_ribbon_area
protected

◆ m_scroll_area

QScrollArea* m_scroll_area
protected

◆ m_selected_widget

QWidget* m_selected_widget
protected

◆ m_seperators

Buffer<QFrame*> m_seperators
protected

◆ m_spacer_item

QSpacerItem* m_spacer_item
protected

◆ m_tabs_container_widget

QWidget* m_tabs_container_widget
protected

◆ m_tabs_layout

QBoxLayout* m_tabs_layout
protected

◆ m_top_edge

ScrollEdge* m_top_edge
protected

◆ m_update_count

uint04 m_update_count
protected

◆ m_widgets

Buffer<QWidget*> m_widgets
protected

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