QCAD
Open Source 2D CAD
RCharacterWidget Class Reference

#include <RCharacterWidget.h>

Inheritance diagram for RCharacterWidget:

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-2015 by Andrew Mustun. More...
 
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 available in script environments.

Constructor & Destructor Documentation

RCharacterWidget::RCharacterWidget ( QWidget *  parent = 0)

Copyright (c) 2011-2015 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: