KanoopCommonQt 2.1.1
Kanoop foundational Qt utility library
Loading...
Searching...
No Matches
Unicode Class Reference

A lookup table for commonly used Unicode special characters. More...

#include <unicode.h>

Public Types

enum  SpecialCharacter {
  ArrowDown , ArrowDownToLeft , ArrowDownToRight , ArrowHorizontalBoth ,
  ArrowLeft , ArrowRight , ArrowUp , ArrowUpToLeft ,
  ArrowUpToRight , ArrowVerticalBoth , Bullet , Copyright ,
  Cubed , Degrees , Delta , EmDash ,
  Micro , MusicNote , OneHalf , OneQuarter ,
  Paragraph , PlusOrMinus , RightsReserved , Squared ,
  ThreeQuarters
}
 Enumeration of supported Unicode special characters. More...
 

Static Public Member Functions

static QChar specialCharacter (SpecialCharacter c)
 Return the QChar for a given special character identifier.
 

Detailed Description

A lookup table for commonly used Unicode special characters.

Provides QChar values for common Unicode special characters by name.

Use the SpecialCharacter enumeration with specialCharacter() to retrieve the corresponding QChar, e.g. arrows, mathematical symbols, and typographic marks.

Definition at line 16 of file unicode.h.

Member Enumeration Documentation

◆ SpecialCharacter

Enumeration of supported Unicode special characters.

Enumerator
ArrowDown 

Downward arrow (↓, U+2193)

ArrowDownToLeft 

Down-left arrow (↙, U+2199)

ArrowDownToRight 

Down-right arrow (↙, U+2199)

ArrowHorizontalBoth 

Left-right arrow (↔, U+2194)

ArrowLeft 

Leftward arrow (←, U+2190)

ArrowRight 

Rightward arrow (→, U+2192)

ArrowUp 

Upward arrow (↑, U+2191)

ArrowUpToLeft 

Up-left arrow (↖, U+2196)

ArrowUpToRight 

Up-right arrow (↗, U+2197)

ArrowVerticalBoth 

Up-down arrow (↕, U+2195)

Bullet 

Middle dot / bullet (·, U+00B7)

Copyright 

Copyright sign (©, U+00A9)

Cubed 

Superscript three (³, U+00B3)

Degrees 

Degree sign (°, U+00B0)

Delta 

Greek capital Delta (Δ, U+0394)

EmDash 

Em dash (—, U+2014)

Micro 

Micro sign (µ, U+00B5)

MusicNote 

Beamed eighth notes (♫, U+266B)

OneHalf 

Vulgar fraction one half (½, U+00BD)

OneQuarter 

Vulgar fraction one quarter (¼, U+00BC)

Paragraph 

Pilcrow / paragraph sign (¶, U+00B6)

PlusOrMinus 

Plus-minus sign (±, U+00B1)

RightsReserved 

Registered sign (®, U+00AE)

Squared 

Superscript two (², U+00B2)

ThreeQuarters 

Vulgar fraction three quarters (¾, U+00BE)

Definition at line 22 of file unicode.h.

Member Function Documentation

◆ specialCharacter()

static QChar Unicode::specialCharacter ( SpecialCharacter  c)
inlinestatic

Return the QChar for a given special character identifier.

Parameters
cSpecial character to look up
Returns
Corresponding QChar, or a null QChar if not found

Definition at line 56 of file unicode.h.


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