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

Signals

void leftClicked ()
 

Public Member Functions

Qt::ArrowType arrowType () const
 
 DArrowClickLabel (QWidget *const parent=nullptr)
 
void setArrowType (Qt::ArrowType arrowType)
 
QSize sizeHint () const override
 
 ~DArrowClickLabel () override
 

Protected Member Functions

void mousePressEvent (QMouseEvent *event) override
 
void mouseReleaseEvent (QMouseEvent *event) override
 
void paintEvent (QPaintEvent *event) override
 

Protected Attributes

Qt::ArrowType m_arrowType
 
int m_margin
 
int m_size
 

Constructor & Destructor Documentation

◆ DArrowClickLabel()

Digikam::DArrowClickLabel::DArrowClickLabel ( QWidget *const  parent = nullptr)
explicit

References m_margin, and m_size.

◆ ~DArrowClickLabel()

Digikam::DArrowClickLabel::~DArrowClickLabel ( )
override

Member Function Documentation

◆ arrowType()

Qt::ArrowType Digikam::DArrowClickLabel::arrowType ( ) const

References m_arrowType.

◆ leftClicked

void Digikam::DArrowClickLabel::leftClicked ( )
signal

◆ mousePressEvent()

void Digikam::DArrowClickLabel::mousePressEvent ( QMouseEvent *  event)
overrideprotected

◆ mouseReleaseEvent()

void Digikam::DArrowClickLabel::mouseReleaseEvent ( QMouseEvent *  event)
overrideprotected

References leftClicked().

◆ paintEvent()

void Digikam::DArrowClickLabel::paintEvent ( QPaintEvent *  event)
overrideprotected

References m_arrowType, m_margin, and m_size.

◆ setArrowType()

void Digikam::DArrowClickLabel::setArrowType ( Qt::ArrowType  arrowType)

References m_arrowType.

◆ sizeHint()

QSize Digikam::DArrowClickLabel::sizeHint ( void  ) const
override

References m_margin, and m_size.

Member Data Documentation

◆ m_arrowType

Qt::ArrowType Digikam::DArrowClickLabel::m_arrowType
protected

Referenced by arrowType(), paintEvent(), and setArrowType().

◆ m_margin

int Digikam::DArrowClickLabel::m_margin
protected

◆ m_size

int Digikam::DArrowClickLabel::m_size
protected

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