|
enum | StyleGroup { GroupCommentOrString = QTextFormat::UserObject,
GroupNumber = QTextFormat::UserObject + 1
} |
|
enum | StyleType {
KeyDefault = 0,
KeyComment = 1,
KeyNumber = 2,
KeyString = 3,
KeyKeyword = 5,
KeyDocstring = 6,
KeyClass = 8,
KeyFunction = 9,
KeyOperator = 10,
KeyDecorator = 15,
KeyBackground = 1000,
KeyHighlight,
KeyNamespace,
KeyType,
KeyKeywordReserved,
KeyBuiltin,
KeyDefinition,
KeyInstance,
KeyWhitespace,
KeyTag,
KeySelf,
KeyPunctuation,
KeyConstant,
KeyOperatorWord,
KeyStreamOutput,
KeyStreamError
} |
|
|
| StyleItem (StyleType type, const QTextCharFormat &format) |
|
| StyleItem (const StyleItem &item) |
|
StyleItem & | operator= (const StyleItem &rhs) |
|
bool | isValid () const |
|
QString | name () const |
|
StyleType | type () const |
|
QTextCharFormat & | rformat () |
|
QTextCharFormat | format () const |
|
void | setObjectType (int type) |
|
|
static QMetaEnum | styleTypeEnum () |
|
static QList< StyleItem::StyleType > | availableStyleTypes () |
|
static QTextCharFormat | createFormat (const QBrush &color, const QBrush &bgcolor=QBrush(), bool bold=false, bool italic=false, bool underline=false, QFont::StyleHint styleHint=QFont::SansSerif) |
|
static QTextCharFormat | createFormat (const QString &familyName, int pointSize, const QColor &color, const QColor &bgcolor=QColor(), bool bold=false, QFont::StyleHint styleHint=QFont::SansSerif) |
|
|
StyleType | m_type |
|
QString | m_name |
|
QTextCharFormat | m_format |
|
bool | m_valid |
|
The documentation for this class was generated from the following files:
- C:/itom/sources/itom/Qitom/codeEditor/syntaxHighlighter/codeEditorStyle.h
- C:/itom/sources/itom/Qitom/codeEditor/syntaxHighlighter/codeEditorStyle.cpp