digiKam
Digikam::AnimatedVisibility Class Reference
+ Inheritance diagram for Digikam::AnimatedVisibility:

Signals

void opacityChanged ()
 
void visibleChanged ()
 

Public Member Functions

 AnimatedVisibility (QObject *const parent=nullptr)
 
ItemVisibilityControllercontroller () const
 
bool isVisible () const
 
qreal opacity () const
 
void setOpacity (qreal opacity)
 
void setVisible (bool visible)
 

Protected Attributes

ItemVisibilityControllerm_controller
 
qreal m_opacity
 
bool m_visible
 

Properties

qreal opacity
 
bool visible
 

Constructor & Destructor Documentation

◆ AnimatedVisibility()

Digikam::AnimatedVisibility::AnimatedVisibility ( QObject *const  parent = nullptr)
explicit

A convenience class: The property object brings its own controller. Ready to use: Just construct an object and connect to the signals. Please note the difference between controller()->setVisible() and setVisible(): You want to call the controller's method!

References Digikam::ItemVisibilityController::addItem(), and m_controller.

Member Function Documentation

◆ controller()

ItemVisibilityController * Digikam::AnimatedVisibility::controller ( ) const

References m_controller.

◆ isVisible()

bool Digikam::ItemVisibilityControllerPropertyObject::isVisible ( ) const
inherited

◆ opacity()

qreal Digikam::ItemVisibilityControllerPropertyObject::opacity ( ) const
inherited

◆ opacityChanged

void Digikam::ItemVisibilityControllerPropertyObject::opacityChanged ( )
signalinherited

◆ setOpacity()

◆ setVisible()

◆ visibleChanged

void Digikam::ItemVisibilityControllerPropertyObject::visibleChanged ( )
signalinherited

Member Data Documentation

◆ m_controller

ItemVisibilityController* Digikam::AnimatedVisibility::m_controller
protected

Referenced by AnimatedVisibility(), and controller().

◆ m_opacity

qreal Digikam::ItemVisibilityControllerPropertyObject::m_opacity
protectedinherited

◆ m_visible

bool Digikam::ItemVisibilityControllerPropertyObject::m_visible
protectedinherited

Property Documentation

◆ opacity

qreal Digikam::ItemVisibilityControllerPropertyObject::opacity
readwriteinherited

◆ visible

bool Digikam::ItemVisibilityControllerPropertyObject::visible
readwriteinherited

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