digiKam
Loading...
Searching...
No Matches
Digikam::DFontSelect Class Reference

#include <dfontselect.h>

+ Inheritance diagram for Digikam::DFontSelect:

Public Types

enum  FontMode { SystemFont = 0 , CustomFont }
 

Signals

void signalFontChanged ()
 

Public Member Functions

 DFontSelect (const QString &text, QWidget *const parent=nullptr)
 
QFont font () const
 
QSize minimumSizeHint () const override
 
FontMode mode () const
 
void setContentsMargins (const QMargins &margins)
 
void setContentsMargins (int left, int top, int right, int bottom)
 
void setFont (const QFont &font)
 
void setMode (FontMode mode)
 
void setSpacing (int space)
 
void setStretchFactor (QWidget *const widget, int stretch)
 
QSize sizeHint () const override
 
 ~DFontSelect () override
 

Protected Member Functions

void childEvent (QChildEvent *e) override
 
bool event (QEvent *e) override
 

Member Enumeration Documentation

◆ FontMode

Enumerator
SystemFont 
CustomFont 

Constructor & Destructor Documentation

◆ DFontSelect()

Digikam::DFontSelect::DFontSelect ( const QString &  text,
QWidget *const  parent = nullptr 
)
explicit

◆ ~DFontSelect()

Digikam::DFontSelect::~DFontSelect ( )
override

Member Function Documentation

◆ childEvent()

void Digikam::DHBox::childEvent ( QChildEvent *  e)
overrideprotectedinherited

◆ event()

bool Digikam::DFontSelect::event ( QEvent *  e)
overrideprotected

References font().

◆ font()

QFont Digikam::DFontSelect::font ( ) const

◆ minimumSizeHint()

QSize Digikam::DHBox::minimumSizeHint ( ) const
overrideinherited

◆ mode()

DFontSelect::FontMode Digikam::DFontSelect::mode ( ) const

Referenced by setMode().

◆ setContentsMargins() [1/2]

◆ setContentsMargins() [2/2]

void Digikam::DHBox::setContentsMargins ( int  left,
int  top,
int  right,
int  bottom 
)
inherited

◆ setFont()

void Digikam::DFontSelect::setFont ( const QFont &  font)

References CustomFont, font(), setMode(), and SystemFont.

◆ setMode()

void Digikam::DFontSelect::setMode ( FontMode  mode)

References CustomFont, font(), and mode().

Referenced by setFont().

◆ setSpacing()

◆ setStretchFactor()

◆ signalFontChanged

void Digikam::DFontSelect::signalFontChanged ( )
signal

◆ sizeHint()

QSize Digikam::DHBox::sizeHint ( ) const
overrideinherited

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