QScintilla: QsciStyledText Class Reference

QScintilla 2.6.1

- Main Page
- Classes
- Directories

- Class List
- Class Hierarchy
- Class Members

Public Member Functions
QsciStyledText Class Reference

`#include <qscistyledtext.h>`

List of all members.

## Public Member Functions

- QsciStyledText (const QString &text, int style)
- QsciStyledText (const QString &text, const QsciStyle &style)
- void apply (QsciScintillaBase *sci) const
- const QString & text () const
- int style () const

## Detailed Description

The QsciStyledText class is a container for a piece of text and the style used to display the text.

## Constructor & Destructor Documentation

QsciStyledText::QsciStyledText | ( | const QString & | text,
|  | int | style
| ) |  |

Constructs a QsciStyledText instance for text text and style number style.

QsciStyledText::QsciStyledText | ( | const QString & | text,
|  | const QsciStyle & | style
| ) |  |

Constructs a QsciStyledText instance for text text and style style.