Class, that describes Qt style parser for QCodeEditor.
More...
#include <QSyntaxStyle.hpp>
Class, that describes Qt style parser for QCodeEditor.
Definition at line 13 of file QSyntaxStyle.hpp.
◆ QSyntaxStyle()
QSyntaxStyle::QSyntaxStyle |
( |
QObject * |
parent = nullptr | ) |
|
|
explicit |
Constructor.
- Parameters
-
parent | Pointer to parent QObject |
Definition at line 9 of file QSyntaxStyle.cpp.
◆ defaultStyle()
Static method for getting default style.
- Returns
- Pointer to default style.
Definition at line 139 of file QSyntaxStyle.cpp.
◆ getFormat()
QTextCharFormat QSyntaxStyle::getFormat |
( |
QString |
name | ) |
const |
Method for getting format for property name.
- Parameters
-
- Returns
- Text char format.
Definition at line 122 of file QSyntaxStyle.cpp.
◆ isLoaded()
bool QSyntaxStyle::isLoaded |
( |
| ) |
const |
Method for checking is syntax style loaded.
- Returns
- Is loaded.
Definition at line 134 of file QSyntaxStyle.cpp.
◆ load()
bool QSyntaxStyle::load |
( |
QString |
fl | ) |
|
Method for loading and parsing style.
- Parameters
-
- Returns
- Success.
Definition at line 18 of file QSyntaxStyle.cpp.
◆ name()
QString QSyntaxStyle::name |
( |
| ) |
const |
◆ m_data
QMap< QString, QTextCharFormat > QSyntaxStyle::m_data |
|
private |
◆ m_loaded
bool QSyntaxStyle::m_loaded |
|
private |
◆ m_name
QString QSyntaxStyle::m_name |
|
private |
The documentation for this class was generated from the following files: