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

Provides a highlighted animation for selecting docked tabs using the NDEVR API Widget Docking system. More...

#include <SelectionHighlightBar.h>

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

Public Member Functions

double animationPercent () const
 
Bounds< 1, int > currentBounds () const
 
void moveHighlight (const Bounds< 1, int > &bounds)
 
void moveHighlight (QWidget *widget)
 
 SelectionHighlightBar (QWidget *parent=nullptr)
 
void setAnimationPercent (double animation_percent)
 
void setVertical (bool vertical)
 
QSize sizeHint () const override
 

Protected Member Functions

void paintEvent (QPaintEvent *) override
 

Properties

double animation_percent
 

Detailed Description

Provides a highlighted animation for selecting docked tabs using the NDEVR API Widget Docking system.


Constructor & Destructor Documentation

◆ SelectionHighlightBar()

SelectionHighlightBar ( QWidget * parent = nullptr)

Member Function Documentation

◆ animationPercent()

double animationPercent ( ) const

◆ currentBounds()

Bounds< 1, int > currentBounds ( ) const

◆ moveHighlight() [1/2]

void moveHighlight ( const Bounds< 1, int > & bounds)

◆ moveHighlight() [2/2]

void moveHighlight ( QWidget * widget)

◆ paintEvent()

void paintEvent ( QPaintEvent * )
overrideprotected

◆ setAnimationPercent()

void setAnimationPercent ( double animation_percent)

◆ setVertical()

void setVertical ( bool vertical)

◆ sizeHint()

QSize sizeHint ( ) const
override

Property Documentation

◆ animation_percent

double animation_percent
readwrite

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