|
| | SectionWidgetTabsScrollArea (QWidget *parent=nullptr) |
| | Constructs a SectionWidgetTabsScrollArea with the given parent widget.
|
| RibbonArea | area () const |
| | Returns the current ribbon area for this scroll area.
|
|
void | boundsUpdateFinishedSignal () |
| | Emitted when the bounds update timer has finished recalculating layout.
|
| uint04 | count () const |
| | Returns the number of tab widgets in this scroll area.
|
| bool | event (QEvent *event) override |
| | Processes generic events such as layout requests and style changes.
|
| bool | hasTabWidget (QWidget *widget) |
| | Returns whether the given tab widget exists in this scroll area.
|
| uint04 | indexOf (QWidget *widget) const |
| | Returns the index of the given widget in the tab list.
|
| void | insertMainWidget (uint04 index, QWidget *widget, bool animate) |
| | Inserts a main content widget at the given index.
|
| void | insertTabWidget (uint04 index, QWidget *widget) |
| | Inserts a tab widget at the given index.
|
| bool | isAtBottom () const |
| | Returns whether the scroll position is at the bottom (or right for horizontal).
|
| bool | isAtTop () const |
| | Returns whether the scroll position is at the top (or left for horizontal).
|
| bool | isRelativeVertical () const |
| | Returns whether the layout is relatively vertical, accounting for ribbon area orientation.
|
| bool | isTextVertical () const |
| | Returns whether the tab text should be rendered vertically.
|
| bool | isVertical () const |
| | Returns whether the layout direction is vertical.
|
|
void | jumpToBottom () |
| | Scrolls the view to the bottom (or right for horizontal layout).
|
| QWidget * | mainWidget () const |
| | Returns the main content widget, if one has been inserted.
|
| QSize | minimumSizeHint () const override |
| | Returns the minimum recommended size for this scroll area.
|
| void | move (uint04 from, uint04 to) |
| | Moves a tab widget from one index to another.
|
| void | paintEvent (QPaintEvent *event) override |
| | Paints the scroll area background.
|
| void | removeMainWidget (bool animate) |
| | Removes the main content widget from the scroll area.
|
| void | removeTabWidget (QWidget *widget) |
| | Removes the given tab widget from the scroll area.
|
| void | resizeEvent (QResizeEvent *event) override |
| | Handles resize events to update scroll behavior and edge indicators.
|
| QScrollArea * | scrollArea () |
| | Returns the underlying QScrollArea used for scrolling tabs.
|
| void | setArea (RibbonArea area) |
| | Sets the ribbon area, updating layout direction accordingly.
|
| void | setAutoExpand (bool auto_expand) |
| | Sets whether the scroll area should automatically expand to fit all tabs.
|
| void | setWidgetSelected (QWidget *widget) |
| | Sets the given widget as the currently selected tab, updating the highlight.
|
|
void | showEvent (QShowEvent *) override |
| | Handles the show event to initialize scroll state.
|
| QSize | sizeHint () const override |
| | Returns the recommended size for this scroll area.
|
| void | swap (uint04 a, uint04 b) |
| | Swaps the positions of two tab widgets.
|
| QWidget * | tabsContainer () const |
| | Returns the container widget that holds the tab widgets.
|
|
void | updateSeparatorSizes () |
| | Updates the sizes of the separator lines between tabs.
|
| QWidget * | widget (uint04 index) |
| | Returns the tab widget at the given index.
|
|
|
void | recalculateScrollerSnaps () |
| | Recalculates snap positions for the scroller based on tab positions.
|
|
void | resetScroller () |
| | Resets the scroller to its initial position.
|
| QSize | scrollSizeHint () const |
| | Returns the recommended size for the internal scroll content.
|
| void | setupSeparator (QFrame *line) |
| | Configures a QFrame as a separator line between tabs.
|
| QBoxLayout * | tabsLayout () |
| | Returns the box layout used to arrange tab widgets.
|
|
void | updateEdgeLocations () |
| | Updates the positions of the scroll edge fade indicators.
|
|
void | updateSelectionWidgetHighlight () |
| | Updates the position and size of the selection highlight bar.
|
|
void | updateSizePolicy () |
| | Updates the size policy based on the current layout orientation and content.
|
|
virtual void | wheelEvent (QWheelEvent *) override |
| | Handles mouse wheel events for scrolling the tab area.
|
|
|
bool | m_auto_expand = false |
| | Whether to auto-expand to fit all tabs without scrolling.
|
|
bool | m_auto_scroll_to_bottom |
| | Whether to automatically scroll to bottom on content change.
|
|
ScrollEdge * | m_bottom_edge |
| | Fade indicator at the bottom (or right) scroll edge.
|
|
QTimer * | m_bounds_updater |
| | Timer for deferred bounds recalculation.
|
|
QWidget * | m_float_widget |
| | A floating widget used during drag operations.
|
|
SelectionHighlightBar * | m_highlight_bar |
| | The animated selection highlight bar.
|
|
QWidget * | m_inner_scroll |
| | The inner scrollable widget.
|
|
QBoxLayout * | m_inner_scroll_layout |
| | The layout for the inner scroll widget.
|
|
bool | m_is_bottom = false |
| | Whether the scroll is currently at the bottom.
|
|
bool | m_is_shown |
| | Whether this widget is currently shown.
|
|
QWidget * | m_main_widget = nullptr |
| | The main content widget, if present.
|
|
uint04 | m_main_widget_location = Constant<uint04>::Invalid |
| | The index of the main widget in the layout.
|
|
RibbonArea | m_ribbon_area |
| | The current ribbon area for layout orientation.
|
|
QScrollArea * | m_scroll_area |
| | The scroll area containing the tab widgets.
|
|
QWidget * | m_selected_widget |
| | The currently selected tab widget.
|
|
Buffer< QFrame * > | m_separators |
| | Separator lines between tab widgets.
|
|
QSpacerItem * | m_spacer_item |
| | Spacer item used for layout padding.
|
|
QWidget * | m_tabs_container_widget |
| | The container widget holding all tabs.
|
|
QBoxLayout * | m_tabs_layout |
| | The layout arranging the tab widgets.
|
|
ScrollEdge * | m_top_edge |
| | Fade indicator at the top (or left) scroll edge.
|
|
uint04 | m_update_count |
| | Counter for pending layout updates.
|
|
Buffer< QWidget * > | m_widgets |
| | All tab widgets in display order.
|
Custom scrollable implementation for docked tabs using the NDEVR API Widget Docking system.
Definition at line 48 of file SectionWidgetTabsScrollArea.h.