QGIS API Documentation  2.99.0-Master (8ec3eaf)
Public Slots | Signals | Public Member Functions | Protected Member Functions | List of all members
CharacterWidget Class Reference

#include <characterwidget.h>

Inheritance diagram for CharacterWidget:
Inheritance graph
[legend]

Public Slots

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

Signals

void characterSelected (QChar character)
 

Public Member Functions

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

Protected Member Functions

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

Detailed Description

Definition at line 62 of file characterwidget.h.

Constructor & Destructor Documentation

§ CharacterWidget()

CharacterWidget::CharacterWidget ( QWidget *  parent = nullptr)

[0]

Definition at line 57 of file characterwidget.cpp.

Member Function Documentation

§ characterSelected

void CharacterWidget::characterSelected ( QChar  character)
signal

§ getColumns()

int CharacterWidget::getColumns ( ) const
inline

Definition at line 70 of file characterwidget.h.

§ getSquareSize()

int CharacterWidget::getSquareSize ( ) const
inline

Definition at line 71 of file characterwidget.h.

§ mouseMoveEvent()

void CharacterWidget::mouseMoveEvent ( QMouseEvent *  event)
overrideprotected

[3]

[4]

Definition at line 131 of file characterwidget.cpp.

§ mousePressEvent()

void CharacterWidget::mousePressEvent ( QMouseEvent *  event)
overrideprotected

[4]

[5]

Definition at line 145 of file characterwidget.cpp.

§ paintEvent()

void CharacterWidget::paintEvent ( QPaintEvent *  event)
overrideprotected

[5]

[6]

[6]

[7]

[7]

[8]

[8] //! [9]

[9]

[10]

Definition at line 160 of file characterwidget.cpp.

§ setCharacter

void CharacterWidget::setCharacter ( QChar  character)
slot

Definition at line 117 of file characterwidget.cpp.

§ sizeHint()

QSize CharacterWidget::sizeHint ( ) const
override

[3]

Definition at line 124 of file characterwidget.cpp.

§ updateColumns

void CharacterWidget::updateColumns ( int  cols)
slot

Definition at line 108 of file characterwidget.cpp.

§ updateFont

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

[0]

[1]

Definition at line 68 of file characterwidget.cpp.

§ updateFontMerging

void CharacterWidget::updateFontMerging ( bool  enable)
slot

Definition at line 98 of file characterwidget.cpp.

§ updateSize

void CharacterWidget::updateSize ( double  fontSize)
slot

[1]

[2]

Definition at line 78 of file characterwidget.cpp.

§ updateStyle

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: