RCharacterWidget
Class in GUI Module
Header: #include <src/gui/RCharacterWidget.h>
Inherits: QWidget
Description
Section titled “Description”Scriptable: This class is available in script environments.
Public Functions
Section titled “Public Functions”RCharacterWidget(QWidget *parent=0) |
|
| QFont | getDisplayFont() |
| QSize | sizeHint() const |
Public Slots
Section titled “Public Slots”| void | updateFont(const QFont &font) |
| void | updateFontMerging(bool enable) |
| void | updateSize(const QString &fontSize) |
| void | updateStyle(const QString &fontStyle) |
Protected Functions
Section titled “Protected Functions”| void | mouseMoveEvent(QMouseEvent *event) |
| void | mousePressEvent(QMouseEvent *event) |
| void | paintEvent(QPaintEvent *event) |
Private Attributes
Section titled “Private Attributes”| int | columns |
| QFont | displayFont |
| int | lastKey |
| int | squareSize |
Signals
Section titled “Signals”| void | characterSelected(const QString &character) |
Member Documentation
Section titled “Member Documentation”RCharacterWidget
Section titled “RCharacterWidget”RCharacterWidget::RCharacterWidget(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.
getDisplayFont
Section titled “getDisplayFont”QFont RCharacterWidget::getDisplayFont()sizeHint
Section titled “sizeHint”QSize RCharacterWidget::sizeHint() constconst
updateFont
Section titled “updateFont”void RCharacterWidget::updateFont(const QFont &font)updateFontMerging
Section titled “updateFontMerging”void RCharacterWidget::updateFontMerging(bool enable)updateSize
Section titled “updateSize”void RCharacterWidget::updateSize(const QString &fontSize)updateStyle
Section titled “updateStyle”void RCharacterWidget::updateStyle(const QString &fontStyle)mouseMoveEvent
Section titled “mouseMoveEvent”void RCharacterWidget::mouseMoveEvent(QMouseEvent *event)protected
mousePressEvent
Section titled “mousePressEvent”void RCharacterWidget::mousePressEvent(QMouseEvent *event)protected
paintEvent
Section titled “paintEvent”void RCharacterWidget::paintEvent(QPaintEvent *event)protected
columns
Section titled “columns”int RCharacterWidget::columnsprivate
displayFont
Section titled “displayFont”QFont RCharacterWidget::displayFontprivate
lastKey
Section titled “lastKey”int RCharacterWidget::lastKeyprivate
squareSize
Section titled “squareSize”int RCharacterWidget::squareSizeprivate
characterSelected
Section titled “characterSelected”void RCharacterWidget::characterSelected(const QString &character)