33#include <NDEVR/WidgetOptions.h>
34#include <NDEVR/Bounds.h>
35#include <NDEVR/VectorFunctions.h>
37#include <QApplication>
38#include <QStylePainter>
39#include <QPropertyAnimation>
63 void startAnimation();
65 QPropertyAnimation* m_move_animation;
68 enum QEasingCurve::Type m_animation_type;
71 double m_animation_percent;
A specification of upper and lower bounds in N-dimensions.
Definition Bounds.hpp:52
Provides a highlighted animation for selecting docked tabs using the NDEVR API Widget Docking system.
Definition SelectionHighlightBar.h:48
void setAnimationPercent(double animation_percent)
void paintEvent(QPaintEvent *) override
double animation_percent
Definition SelectionHighlightBar.h:50
QSize sizeHint() const override
void moveHighlight(QWidget *widget)
double animationPercent() const
SelectionHighlightBar(QWidget *parent=nullptr)
void moveHighlight(const Bounds< 1, int > &bounds)
Bounds< 1, int > currentBounds() const
void setVertical(bool vertical)