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

Public Slots

void setAdjustedText (const QString &text=QString())
 

Public Member Functions

QString adjustedText () const
 
 DAdjustableLabel (QWidget *const parent=nullptr)
 
QSize minimumSizeHint () const override
 
void setAlignment (Qt::Alignment align)
 
void setElideMode (Qt::TextElideMode mode)
 
QSize sizeHint () const override
 
 ~DAdjustableLabel () override
 

Detailed Description

A label to show text adjusted to widget size

Constructor & Destructor Documentation

◆ DAdjustableLabel()

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

◆ ~DAdjustableLabel()

Digikam::DAdjustableLabel::~DAdjustableLabel ( )
override

Member Function Documentation

◆ adjustedText()

QString Digikam::DAdjustableLabel::adjustedText ( ) const

◆ minimumSizeHint()

QSize Digikam::DAdjustableLabel::minimumSizeHint ( ) const
override

◆ setAdjustedText

◆ setAlignment()

void Digikam::DAdjustableLabel::setAlignment ( Qt::Alignment  align)

◆ setElideMode()

void Digikam::DAdjustableLabel::setElideMode ( Qt::TextElideMode  mode)

◆ sizeHint()

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

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