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

#include <SelectionHighlightBar.h>

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

Public Member Functions

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

Protected Member Functions

void startAnimation ()
 

Protected Attributes

QPropertyAnimation * m_move_animation
 
Bounds< 1, int > m_old_draw_bounds
 
Bounds< 1, int > m_draw_bounds
 
enum QEasingCurve::Type m_animation_type
 
bool m_is_vertical
 
int m_speed
 
double m_animation_percent
 

Properties

double animation_percent
 

Constructor & Destructor Documentation

◆ SelectionHighlightBar()

SelectionHighlightBar ( QWidget * parent = nullptr)
inline

Member Function Documentation

◆ animationPercent()

double animationPercent ( ) const
inline

◆ currentBounds()

Bounds< 1, int > currentBounds ( ) const
inline

◆ moveHighlight() [1/2]

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

◆ moveHighlight() [2/2]

void moveHighlight ( QWidget * widget)
inline

◆ paintEvent()

void paintEvent ( QPaintEvent * )
inlineoverride

◆ setAnimationPercent()

void setAnimationPercent ( double animation_percent)
inline

◆ setVertical()

void setVertical ( bool vertical)
inline

◆ sizeHint()

QSize sizeHint ( ) const
inlineoverride

◆ startAnimation()

void startAnimation ( )
inlineprotected

Member Data Documentation

◆ m_animation_percent

double m_animation_percent
protected

◆ m_animation_type

enum QEasingCurve::Type m_animation_type
protected

◆ m_draw_bounds

Bounds<1, int> m_draw_bounds
protected

◆ m_is_vertical

bool m_is_vertical
protected

◆ m_move_animation

QPropertyAnimation* m_move_animation
protected

◆ m_old_draw_bounds

Bounds<1, int> m_old_draw_bounds
protected

◆ m_speed

int m_speed
protected

Property Documentation

◆ animation_percent

double animation_percent
readwrite

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