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

Signals

void opacityChanged ()
 
void visibleChanged ()
 

Public Member Functions

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

Protected Attributes

qreal m_opacity
 
bool m_visible
 

Properties

qreal opacity
 
bool visible
 

Constructor & Destructor Documentation

◆ ItemVisibilityControllerPropertyObject()

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

You can use this object as a container providing the properties set by ItemVisibilityController. Connect to the signals accordingly, e.g. to trigger a repaint.

Member Function Documentation

◆ isVisible()

bool Digikam::ItemVisibilityControllerPropertyObject::isVisible ( ) const

References m_visible.

◆ opacity()

qreal Digikam::ItemVisibilityControllerPropertyObject::opacity ( ) const

References m_opacity.

◆ opacityChanged

void Digikam::ItemVisibilityControllerPropertyObject::opacityChanged ( )
signal

Referenced by setOpacity().

◆ setOpacity()

void Digikam::ItemVisibilityControllerPropertyObject::setOpacity ( qreal  opacity)

References m_opacity, opacity, and opacityChanged().

◆ setVisible()

void Digikam::ItemVisibilityControllerPropertyObject::setVisible ( bool  visible)

References m_visible, visible, and visibleChanged().

◆ visibleChanged

void Digikam::ItemVisibilityControllerPropertyObject::visibleChanged ( )
signal

Referenced by setVisible().

Member Data Documentation

◆ m_opacity

qreal Digikam::ItemVisibilityControllerPropertyObject::m_opacity
protected

Referenced by opacity(), and setOpacity().

◆ m_visible

bool Digikam::ItemVisibilityControllerPropertyObject::m_visible
protected

Referenced by isVisible(), and setVisible().

Property Documentation

◆ opacity

qreal Digikam::ItemVisibilityControllerPropertyObject::opacity
readwrite

Referenced by setOpacity().

◆ visible

bool Digikam::ItemVisibilityControllerPropertyObject::visible
readwrite

Referenced by setVisible().


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