Scribus
Open source desktop publishing at your fingertips
|
Qt4 model for QTableView used in UnicodeSearch dialog. It contains only 2 columns with hex-description pairs/rows of unicode glyphs (loaded from unicodemap/unicodenameslist.txt. Hex and descriptions are stored in QMap description+code/code for performance. More...
#include <unicodesearch.h>
Public Member Functions | |
UnicodeSearchModel (QObject *parent=0) | |
int | rowCount (const QModelIndex &parent=QModelIndex()) const |
int | columnCount (const QModelIndex &parent=QModelIndex()) const |
QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
QString | hexData (const QModelIndex &index) |
Return hex-key for the row of given index. See m_keys. | |
QString | descriptionFromHex (const QString &hex) |
Return character unicode description from hex code. | |
Qt4 model for QTableView used in UnicodeSearch dialog. It contains only 2 columns with hex-description pairs/rows of unicode glyphs (loaded from unicodemap/unicodenameslist.txt. Hex and descriptions are stored in QMap description+code/code for performance.