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

Custom scrollable implementation for docked tabs using the NDEVR API Widget Docking system. More...

#include <SectionWidgetTabsScrollArea.h>

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

Signals

void boundsUpdateFinishedSignal ()
 

Public Member Functions

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

Protected Member Functions

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

Protected Attributes

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

Detailed Description

Custom scrollable implementation for docked tabs using the NDEVR API Widget Docking system.


Constructor & Destructor Documentation

◆ SectionWidgetTabsScrollArea()

SectionWidgetTabsScrollArea ( QWidget * parent = nullptr)

◆ ~SectionWidgetTabsScrollArea()

virtual ~SectionWidgetTabsScrollArea ( )
virtual

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 * )
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()

virtual 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>::Invalid
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 file: