A widget for displaying characters available in a preset font, and allowing users to select an individual character.  
 More...
#include <characterwidget.h>
A widget for displaying characters available in a preset font, and allowing users to select an individual character. 
Definition at line 69 of file characterwidget.h.
◆ CharacterWidget()
      
        
          | CharacterWidget::CharacterWidget | ( | QWidget * | parent = nullptr | ) |  | 
      
 
 
◆ character()
  
  | 
        
          | QChar CharacterWidget::character | ( |  | ) | const |  | inline | 
 
 
◆ characterSelected
  
  | 
        
          | void CharacterWidget::characterSelected | ( | QChar | character | ) |  |  | signal | 
 
Emitted when a character is selected in the widget. 
 
 
◆ clearCharacter
  
  | 
        
          | void CharacterWidget::clearCharacter | ( |  | ) |  |  | slot | 
 
 
◆ columns()
  
  | 
        
          | int CharacterWidget::columns | ( |  | ) | const |  | inline | 
 
Returns the number of columns of characters shown in the widget. 
Definition at line 88 of file characterwidget.h.
 
 
◆ font()
  
  | 
        
          | QFont CharacterWidget::font | ( |  | ) | const |  | inline | 
 
 
◆ keyPressEvent()
  
  | 
        
          | void CharacterWidget::keyPressEvent | ( | QKeyEvent * | event | ) |  |  | overrideprotected | 
 
 
◆ mouseMoveEvent()
  
  | 
        
          | void CharacterWidget::mouseMoveEvent | ( | QMouseEvent * | event | ) |  |  | overrideprotected | 
 
 
◆ mousePressEvent()
  
  | 
        
          | void CharacterWidget::mousePressEvent | ( | QMouseEvent * | event | ) |  |  | overrideprotected | 
 
 
◆ paintEvent()
  
  | 
        
          | void CharacterWidget::paintEvent | ( | QPaintEvent * | event | ) |  |  | overrideprotected | 
 
 
◆ resizeEvent()
  
  | 
        
          | void CharacterWidget::resizeEvent | ( | QResizeEvent * | event | ) |  |  | overrideprotected | 
 
 
◆ setCharacter
  
  | 
        
          | void CharacterWidget::setCharacter | ( | QChar | character | ) |  |  | slot | 
 
 
◆ setColumns
  
  | 
        
          | void CharacterWidget::setColumns | ( | int | columns | ) |  |  | slot | 
 
Sets the number of columns of characters to show in the widget. 
- Since
- QGIS 3.0 
Definition at line 103 of file characterwidget.cpp.
 
 
◆ setFont
  
  | 
        
          | void CharacterWidget::setFont | ( | const QFont & | font | ) |  |  | slot | 
 
 
◆ setFontSize
  
  | 
        
          | void CharacterWidget::setFontSize | ( | double | fontSize | ) |  |  | slot | 
 
Sets the font size (in points) to render in the widget. 
- Since
- QGIS 3.0 
Definition at line 74 of file characterwidget.cpp.
 
 
◆ setFontStyle
  
  | 
        
          | void CharacterWidget::setFontStyle | ( | const QString & | fontStyle | ) |  |  | slot | 
 
Sets the font style to show in the widget. 
- Since
- QGIS 3.0 
Definition at line 82 of file characterwidget.cpp.
 
 
◆ sizeHint()
  
  | 
        
          | QSize CharacterWidget::sizeHint | ( |  | ) | const |  | override | 
 
 
◆ squareSize()
  
  | 
        
          | int CharacterWidget::squareSize | ( |  | ) | const |  | inline | 
 
Returns the size (in pixels) of the square used to render each character preview. 
Definition at line 93 of file characterwidget.h.
 
 
◆ updateFontMerging
  
  | 
        
          | void CharacterWidget::updateFontMerging | ( | bool | enable | ) |  |  | slot | 
 
 
◆ character
  
  | 
        
          | QChar CharacterWidget::character |  | readwrite | 
 
 
◆ columns
  
  | 
        
          | int CharacterWidget::columns |  | readwrite | 
 
 
◆ font
  
  | 
        
          | QFont CharacterWidget::font |  | readwrite | 
 
 
The documentation for this class was generated from the following files: