Computer Assited Medical Intervention Tool Kit  version 5.0
QtFontEditWidget Class Reference
+ Inheritance diagram for QtFontEditWidget:
+ Collaboration diagram for QtFontEditWidget:

Public Slots

void setValue (const QFont &value)
 

Signals

void valueChanged (const QFont &value)
 

Public Member Functions

bool eventFilter (QObject *obj, QEvent *ev) override
 
 QtFontEditWidget (QWidget *parent)
 

Protected Member Functions

void paintEvent (QPaintEvent *) override
 

Private Slots

void buttonClicked ()
 

Private Attributes

QToolButton * m_button
 
QFont m_font
 
QLabel * m_label
 
QLabel * m_pixmapLabel
 

Constructor & Destructor Documentation

◆ QtFontEditWidget()

QtFontEditWidget::QtFontEditWidget ( QWidget *  parent)

References buttonClicked(), QtPropertyBrowserUtils::fontValuePixmap(), QtPropertyBrowserUtils::fontValueText(), m_button, m_font, m_label, m_pixmapLabel, and setupTreeViewEditorMargin().

+ Here is the call graph for this function:

Member Function Documentation

◆ buttonClicked

void QtFontEditWidget::buttonClicked ( )
privateslot

References m_font, setValue(), and valueChanged().

Referenced by QtFontEditWidget().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ eventFilter()

bool QtFontEditWidget::eventFilter ( QObject *  obj,
QEvent *  ev 
)
override

References m_button.

◆ paintEvent()

void QtFontEditWidget::paintEvent ( QPaintEvent *  )
overrideprotected

◆ setValue

void QtFontEditWidget::setValue ( const QFont &  value)
slot

References QtPropertyBrowserUtils::fontValuePixmap(), QtPropertyBrowserUtils::fontValueText(), m_font, m_label, and m_pixmapLabel.

Referenced by buttonClicked(), and QtFontEditorFactory::createEditor().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ valueChanged

void QtFontEditWidget::valueChanged ( const QFont &  value)
signal

Referenced by buttonClicked().

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_button

QToolButton* QtFontEditWidget::m_button
private

Referenced by eventFilter(), and QtFontEditWidget().

◆ m_font

QFont QtFontEditWidget::m_font
private

◆ m_label

QLabel* QtFontEditWidget::m_label
private

Referenced by QtFontEditWidget(), and setValue().

◆ m_pixmapLabel

QLabel* QtFontEditWidget::m_pixmapLabel
private

Referenced by QtFontEditWidget(), and setValue().


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