QCAD
Open Source 2D CAD
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RFontChooserWidget Class Reference

#include <RFontChooserWidget.h>

List of all members.

Public Slots

void fontChanged (const QFont &font)
void sizeChanged (int index)

Signals

void valueChanged (const QFont &font)

Public Member Functions

QFont getFont () const
QString getLabel () const
int getSize () const
 RFontChooserWidget (QWidget *parent=0)
 Copyright (c) 2011-2013 by Andrew Mustun.
void setFont (const QFont &font)
void setLabel (const QString &l)
void setSize (int size)

Protected Member Functions

void resizeEvent (QResizeEvent *event)

Properties

QFont font
QString label

Private Member Functions

void updateSizeCombo ()

Private Attributes

QFontComboBox * cbFont
QComboBox * cbSize
QLabel * lbLabel
QLabel * lbSampleText

Detailed Description

Scriptable:
This class is wrapped for script environments.

Constructor & Destructor Documentation

RFontChooserWidget::RFontChooserWidget ( QWidget *  parent = 0)

Copyright (c) 2011-2013 by Andrew Mustun.

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.


Member Function Documentation

void RFontChooserWidget::fontChanged ( const QFont &  font)
slot
QFont RFontChooserWidget::getFont ( ) const
QString RFontChooserWidget::getLabel ( ) const
int RFontChooserWidget::getSize ( ) const
void RFontChooserWidget::resizeEvent ( QResizeEvent *  event)
protected
void RFontChooserWidget::setFont ( const QFont &  font)
void RFontChooserWidget::setLabel ( const QString &  l)
void RFontChooserWidget::setSize ( int  size)
void RFontChooserWidget::sizeChanged ( int  index)
slot
void RFontChooserWidget::updateSizeCombo ( )
private
void RFontChooserWidget::valueChanged ( const QFont &  font)
signal

Member Data Documentation

QFontComboBox* RFontChooserWidget::cbFont
private
QComboBox* RFontChooserWidget::cbSize
private
QLabel* RFontChooserWidget::lbLabel
private
QLabel* RFontChooserWidget::lbSampleText
private

Property Documentation

QFont RFontChooserWidget::font
readwrite
QString RFontChooserWidget::label
readwrite

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