qTox  Version: nightly | Commit: bc751c8e1cac455f9690654fcfe0f560d2d7dfdd
Signals | Public Member Functions | Properties | Private Member Functions | Private Attributes | List of all members
FlyoutOverlayWidget Class Reference

#include <flyoutoverlaywidget.h>

Inheritance diagram for FlyoutOverlayWidget:
Inheritance graph
Collaboration diagram for FlyoutOverlayWidget:
Collaboration graph

Signals

void hidden ()
 

Public Member Functions

 FlyoutOverlayWidget (QWidget *parent=nullptr)
 
 ~FlyoutOverlayWidget ()
 
int animationDuration () const
 
void setAnimationDuration (int timeMs)
 
qreal flyoutPercent () const
 
void setFlyoutPercent (qreal progress)
 
bool isShown () const
 
bool isBeingAnimated () const
 
bool isBeingShown () const
 
void animateShow ()
 
void animateHide ()
 

Properties

qreal flyoutPercent
 

Private Member Functions

void finishedAnimation ()
 
void startAnimation (bool forward)
 

Private Attributes

QWidget * container
 
QPropertyAnimation * animation
 
qreal percent = 1.0f
 
QPoint startPos
 

Detailed Description

Definition at line 27 of file flyoutoverlaywidget.h.

Constructor & Destructor Documentation

◆ FlyoutOverlayWidget()

FlyoutOverlayWidget::FlyoutOverlayWidget ( QWidget *  parent = nullptr)
explicit

Definition at line 29 of file flyoutoverlaywidget.cpp.

Here is the call graph for this function:

◆ ~FlyoutOverlayWidget()

FlyoutOverlayWidget::~FlyoutOverlayWidget ( )

Definition at line 44 of file flyoutoverlaywidget.cpp.

Member Function Documentation

◆ animateHide()

void FlyoutOverlayWidget::animateHide ( )

Definition at line 99 of file flyoutoverlaywidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ animateShow()

void FlyoutOverlayWidget::animateShow ( )

Definition at line 88 of file flyoutoverlaywidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ animationDuration()

int FlyoutOverlayWidget::animationDuration ( ) const

Definition at line 48 of file flyoutoverlaywidget.cpp.

◆ finishedAnimation()

void FlyoutOverlayWidget::finishedAnimation ( )
private

Definition at line 107 of file flyoutoverlaywidget.cpp.

Here is the caller graph for this function:

◆ flyoutPercent()

qreal FlyoutOverlayWidget::flyoutPercent ( ) const

◆ hidden

void FlyoutOverlayWidget::hidden ( )
signal
Here is the caller graph for this function:

◆ isBeingAnimated()

bool FlyoutOverlayWidget::isBeingAnimated ( ) const

Definition at line 78 of file flyoutoverlaywidget.cpp.

Here is the caller graph for this function:

◆ isBeingShown()

bool FlyoutOverlayWidget::isBeingShown ( ) const

Definition at line 83 of file flyoutoverlaywidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isShown()

bool FlyoutOverlayWidget::isShown ( ) const

Definition at line 73 of file flyoutoverlaywidget.cpp.

Here is the caller graph for this function:

◆ setAnimationDuration()

void FlyoutOverlayWidget::setAnimationDuration ( int  timeMs)

Definition at line 53 of file flyoutoverlaywidget.cpp.

◆ setFlyoutPercent()

void FlyoutOverlayWidget::setFlyoutPercent ( qreal  progress)

Definition at line 63 of file flyoutoverlaywidget.cpp.

Here is the caller graph for this function:

◆ startAnimation()

void FlyoutOverlayWidget::startAnimation ( bool  forward)
private

Definition at line 116 of file flyoutoverlaywidget.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ animation

QPropertyAnimation* FlyoutOverlayWidget::animation
private

Definition at line 57 of file flyoutoverlaywidget.h.

◆ container

QWidget* FlyoutOverlayWidget::container
private

Definition at line 56 of file flyoutoverlaywidget.h.

◆ percent

qreal FlyoutOverlayWidget::percent = 1.0f
private

Definition at line 58 of file flyoutoverlaywidget.h.

◆ startPos

QPoint FlyoutOverlayWidget::startPos
private

Definition at line 59 of file flyoutoverlaywidget.h.

Property Documentation

◆ flyoutPercent

qreal FlyoutOverlayWidget::flyoutPercent
readwrite

Definition at line 30 of file flyoutoverlaywidget.h.


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