Fluid Tabs
Signals | Public Member Functions | Protected Slots | Protected Member Functions | Properties

FTabAnimatedTransition Class Reference

Abstract base class for QPropertyAnimation-based tab transitions. More...

Inheritance diagram for FTabAnimatedTransition:
FTabTransition FTabSlideTransition

List of all members.

Signals

void progressChanged ()

Public Member Functions

 FTabAnimatedTransition (QObject *parent=0)
void setProgress (qreal progress)
qreal progress () const
void setDuration (int duration)
int duration () const
void start ()

Protected Slots

void updateValue (const QVariant &value)

Protected Member Functions

virtual void updateCurrent (qreal value)=0

Properties

qreal progress
int duration

Detailed Description

Abstract base class for QPropertyAnimation-based tab transitions.

Definition at line 32 of file ftabarea.h.


Member Function Documentation

void FTabAnimatedTransition::start ( ) [virtual]

Reimplemented from FTabTransition.

Definition at line 114 of file ftabarea.cpp.

void FTabAnimatedTransition::updateCurrent ( qreal  value) [protected, pure virtual]

This pure virtual function is called each time the value of the animation changes and must be reimplemented in the concrete FTabAnimatedTransition subclass.

Implemented in FTabSlideTransition.


Property Documentation

int FTabAnimatedTransition::duration [read, write]

This property holds the duration of the animation in milliseconds. Default value is 350 ms.

Definition at line 36 of file ftabarea.h.

qreal FTabAnimatedTransition::progress [read, write]

This property holds the current progress count of the animation in steps from 0 to 1, where 1 means that the animation has finished.

Definition at line 35 of file ftabarea.h.


The documentation for this class was generated from the following files:
 All Classes Functions Properties