QGIS API Documentation  2.8.2-Wien
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Slots | Signals | Public Member Functions | Protected Member Functions | List of all members
CharacterWidget Class Reference

[0] More...

#include <characterwidget.h>

Public Slots

void updateColumns (int cols)
void updateFont (const QFont &font)
 [0]
void updateFontMerging (bool enable)
void updateSize (double fontSize)
 [1]
void updateStyle (const QString &fontStyle)
 [2]

Signals

void characterSelected (const QChar &character)

Public Member Functions

 CharacterWidget (QWidget *parent=0)
 [0]
int getColumns () const
int getSquareSize () const
QSize sizeHint () const override
 [3]

Protected Member Functions

void mouseMoveEvent (QMouseEvent *event) override
 [3]
void mousePressEvent (QMouseEvent *event) override
 [4]
void paintEvent (QPaintEvent *event) override
 [5]

Detailed Description

[0]

Definition at line 62 of file characterwidget.h.

Constructor & Destructor Documentation

CharacterWidget::CharacterWidget ( QWidget *  parent = 0)

[0]

Definition at line 57 of file characterwidget.cpp.

Member Function Documentation

void CharacterWidget::characterSelected ( const QChar &  character)
signal
int CharacterWidget::getColumns ( ) const
inline

Definition at line 70 of file characterwidget.h.

int CharacterWidget::getSquareSize ( ) const
inline

Definition at line 71 of file characterwidget.h.

void CharacterWidget::mouseMoveEvent ( QMouseEvent *  event)
overrideprotected

[3]

[4]

Definition at line 125 of file characterwidget.cpp.

void CharacterWidget::mousePressEvent ( QMouseEvent *  event)
overrideprotected

[4]

[5]

Definition at line 139 of file characterwidget.cpp.

void CharacterWidget::paintEvent ( QPaintEvent *  event)
overrideprotected

[5]

[6]

[6]

[7]

[7]

[8]

[8] //! [9]

[9]

[10]

Definition at line 154 of file characterwidget.cpp.

QSize CharacterWidget::sizeHint ( ) const
override

[3]

Definition at line 118 of file characterwidget.cpp.

void CharacterWidget::updateColumns ( int  cols)
slot

Definition at line 108 of file characterwidget.cpp.

void CharacterWidget::updateFont ( const QFont &  font)
slot

[0]

[1]

Definition at line 68 of file characterwidget.cpp.

void CharacterWidget::updateFontMerging ( bool  enable)
slot

Definition at line 98 of file characterwidget.cpp.

void CharacterWidget::updateSize ( double  fontSize)
slot

[1]

[2]

Definition at line 78 of file characterwidget.cpp.

void CharacterWidget::updateStyle ( const QString &  fontStyle)
slot

[2]

Definition at line 87 of file characterwidget.cpp.


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