lib
SymbolTable Class Reference
#include <symboltable.h>
Detailed Description
The symbol table.It contains all names that are know to the system.
Definition at line 77 of file symboltable.h.
Public Types | |
| typedef QMap< QChar, QString > | NameTable |
| typedef QMap< QString, QChar > | EntryTable |
Public Member Functions | |
| void | init (const QFont &font) |
| bool | contains (QString name) const |
| QChar | unicode (QString name) const |
| QString | name (QChar symbol) const |
| QFont | font (QChar symbol, const QFont &f) const |
| CharClass | charClass (QChar symbol) const |
| QString | greekLetters () const |
| QChar | unicodeFromSymbolFont (QChar pos) const |
| QStringList | allNames () const |
Member Function Documentation
| void SymbolTable::init | ( | const QFont & | font | ) |
lazy init support.
Needs to be run before anything else.
- Parameters:
-
install if true fonts may be installed if needed
Definition at line 66 of file symboltable.cc.
| QChar SymbolTable::unicode | ( | QString | name | ) | const |
- Returns:
- the char in the symbol font that belongs to the given name.
Definition at line 88 of file symboltable.cc.
| QString SymbolTable::greekLetters | ( | ) | const |
| QChar SymbolTable::unicodeFromSymbolFont | ( | QChar | pos | ) | const |
| QStringList SymbolTable::allNames | ( | ) | const |
The documentation for this class was generated from the following files:

