Falkon Develop
Cross-platform Qt-based web browser
AnimatedWidget Class Reference

#include <animatedwidget.h>

Inheritance diagram for AnimatedWidget:
AutoFillNotification FCM_Notification GM_Notification HTML5PermissionsNotification

Public Types

enum  Direction { Down , Up }
 

Public Slots

void hide ()
 
void startAnimation ()
 

Public Member Functions

 AnimatedWidget (const Direction &direction=Down, int duration=300, QWidget *parent=nullptr)
 
QWidget * widget ()
 

Detailed Description

Definition at line 26 of file animatedwidget.h.

Member Enumeration Documentation

◆ Direction

Enumerator
Down 
Up 

Definition at line 31 of file animatedwidget.h.

Constructor & Destructor Documentation

◆ AnimatedWidget()

AnimatedWidget::AnimatedWidget ( const Direction direction = Down,
int  duration = 300,
QWidget *  parent = nullptr 
)
explicit

Definition at line 22 of file animatedwidget.cpp.

Member Function Documentation

◆ hide

void AnimatedWidget::hide ( )
slot

Definition at line 67 of file animatedwidget.cpp.

◆ startAnimation

void AnimatedWidget::startAnimation ( )
slot

Definition at line 37 of file animatedwidget.cpp.

◆ widget()

QWidget * AnimatedWidget::widget ( )
inline

Definition at line 35 of file animatedwidget.h.


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