#include <jsHighlighter.h>
Properties | |
objectName | |
Public Member Functions | |
JSHighlighter (QObject *parent) | |
JSHighlighter (QTextDocument *document) | |
JSHighlighter (QTextEdit *editor) | |
~JSHighlighter () | |
bool | blockSignals (bool block) |
const QObjectList & | children () const |
QMetaObject::Connection | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const |
void | deleteLater () |
void | destroyed (QObject *obj) |
bool | disconnect (const QObject *receiver, const char *method) const |
bool | disconnect (const char *signal, const QObject *receiver, const char *method) const |
QTextDocument * | document () const |
void | dumpObjectInfo () |
void | dumpObjectTree () |
QList< QByteArray > | dynamicPropertyNames () const |
virtual bool | event (QEvent *e) |
virtual bool | eventFilter (QObject *watched, QEvent *event) |
T | findChild (const QString &name, Qt::FindChildOptions options) const |
QList< T > | findChildren (const QString &name, Qt::FindChildOptions options) const |
QList< T > | findChildren (const QRegExp ®Exp, Qt::FindChildOptions options) const |
QList< T > | findChildren (const QRegularExpression &re, Qt::FindChildOptions options) const |
bool | inherits (const char *className) const |
void | installEventFilter (QObject *filterObj) |
bool | isWidgetType () const |
bool | isWindowType () const |
void | killTimer (int id) |
virtual const QMetaObject * | metaObject () const |
void | moveToThread (QThread *targetThread) |
QString | objectName () const |
void | objectNameChanged (const QString &objectName) |
QObject * | parent () const |
QVariant | property (const char *name) const |
void | rehighlight () |
void | rehighlightBlock (const QTextBlock &block) |
void | removeEventFilter (QObject *obj) |
void | setDocument (QTextDocument *doc) |
void | setObjectName (const QString &name) |
void | setParent (QObject *parent) |
bool | setProperty (const char *name, const QVariant &value) |
bool | signalsBlocked () const |
int | startTimer (int interval, Qt::TimerType timerType) |
QThread * | thread () const |
Static Public Member Functions | |
QMetaObject::Connection | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
QMetaObject::Connection | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method, Qt::ConnectionType type) |
QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, Functor functor) |
QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, const QObject *context, Functor functor, Qt::ConnectionType type) |
bool | disconnect (const QMetaObject::Connection &connection) |
bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
bool | disconnect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method) |
bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
QString | tr (const char *sourceText, const char *disambiguation, int n) |
QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) |
Protected Types | |
enum | State { NormalState, InsideCStyleComment, InsideString } |
Protected Member Functions | |
virtual void | childEvent (QChildEvent *event) |
virtual void | connectNotify (const QMetaMethod &signal) |
QTextBlock | currentBlock () const |
int | currentBlockState () const |
QTextBlockUserData * | currentBlockUserData () const |
virtual void | customEvent (QEvent *event) |
virtual void | disconnectNotify (const QMetaMethod &signal) |
QTextCharFormat | format (int position) const |
virtual void | highlightBlock (const QString &text) |
bool | isSignalConnected (const QMetaMethod &signal) const |
int | previousBlockState () const |
int | receivers (const char *signal) const |
QObject * | sender () const |
int | senderSignalIndex () const |
void | setCurrentBlockState (int newState) |
void | setCurrentBlockUserData (QTextBlockUserData *data) |
void | setFormat (int start, int count, const QTextCharFormat &format) |
void | setFormat (int start, int count, const QFont &font) |
void | setFormat (int start, int count, const QColor &color) |
virtual void | timerEvent (QTimerEvent *event) |
Protected Attributes | |
QColor | _commentColor |
QColor | _errorColor |
QColor | _extensionColor |
QColor | _keywordColor |
QColor | _literalColor |
|
protected |
JSHighlighter::JSHighlighter | ( | QObject * | parent | ) |
JSHighlighter::JSHighlighter | ( | QTextDocument * | document | ) |
JSHighlighter::JSHighlighter | ( | QTextEdit * | editor | ) |
JSHighlighter::~JSHighlighter | ( | ) |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Generated on Fri Aug 11 2017 | xTuple ERP Programmer Reference, Version 4.11.0 |
![]() |