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

#include <RCharacterWidget.h>

List of all members.

Public Slots

void updateFont (const QFont &font)
void updateFontMerging (bool enable)
void updateSize (const QString &fontSize)
void updateStyle (const QString &fontStyle)

Signals

void characterSelected (const QString &character)

Public Member Functions

QFont getDisplayFont ()
 RCharacterWidget (QWidget *parent=0)
 Copyright (c) 2011-2013 by Andrew Mustun.
QSize sizeHint () const

Protected Member Functions

void mouseMoveEvent (QMouseEvent *event)
void mousePressEvent (QMouseEvent *event)
void paintEvent (QPaintEvent *event)

Private Attributes

int columns
QFont displayFont
int lastKey
int squareSize

Detailed Description

Scriptable:
This class is wrapped for script environments.

Constructor & Destructor Documentation

RCharacterWidget::RCharacterWidget ( 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 RCharacterWidget::characterSelected ( const QString &  character)
signal
QFont RCharacterWidget::getDisplayFont ( )
void RCharacterWidget::mouseMoveEvent ( QMouseEvent *  event)
protected
void RCharacterWidget::mousePressEvent ( QMouseEvent *  event)
protected
void RCharacterWidget::paintEvent ( QPaintEvent *  event)
protected
QSize RCharacterWidget::sizeHint ( ) const
void RCharacterWidget::updateFont ( const QFont &  font)
slot
void RCharacterWidget::updateFontMerging ( bool  enable)
slot
void RCharacterWidget::updateSize ( const QString &  fontSize)
slot
void RCharacterWidget::updateStyle ( const QString &  fontStyle)
slot

Member Data Documentation

int RCharacterWidget::columns
private
QFont RCharacterWidget::displayFont
private
int RCharacterWidget::lastKey
private
int RCharacterWidget::squareSize
private

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