Skip to content

RFontChooserWidget

Class in GUI Module
Header: #include <src/gui/RFontChooserWidget.h>
Inherits: QWidget

Scriptable: This class is available in script environments.

RFontChooserWidget(QWidget *parent=0)
QFont getChosenFont() const
QString getLabel() const
int getSize() const
void setChosenFont(const QFont &font)
void setLabel(const QString &l)
void setSize(int size)
void chosenFontChanged(const QFont &font)
void sizeChanged(int index)
void resizeEvent(QResizeEvent *event)
void updateSizeCombo()
QFontComboBox * cbChosenFont
QComboBox * cbSize
QLabel * lbLabel
QLabel * lbSampleText
void valueChanged(const QFont &font)
QFont chosenFont
QString label

RFontChooserWidget::RFontChooserWidget(QWidget *parent=0)

All rights reserved.

This file is part of the QCAD project.

QCAD is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

QCAD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with QCAD.

QFont RFontChooserWidget::getChosenFont() const

const

QString RFontChooserWidget::getLabel() const

const

int RFontChooserWidget::getSize() const

const

void RFontChooserWidget::setChosenFont(const QFont &font)

void RFontChooserWidget::setLabel(const QString &l)

void RFontChooserWidget::setSize(int size)

void RFontChooserWidget::chosenFontChanged(const QFont &font)

void RFontChooserWidget::sizeChanged(int index)

void RFontChooserWidget::resizeEvent(QResizeEvent *event)

protected

void RFontChooserWidget::updateSizeCombo()

private

QFontComboBox* RFontChooserWidget::cbChosenFont

private

QComboBox* RFontChooserWidget::cbSize

private

QLabel* RFontChooserWidget::lbLabel

private

QLabel* RFontChooserWidget::lbSampleText

private

void RFontChooserWidget::valueChanged(const QFont &font)

QFont RFontChooserWidget::chosenFont

QString RFontChooserWidget::label