ColorScheme Class
(TextEditor::ColorScheme)Public Functions
void | clear() |
bool | contains(TextEditor::TextStyle category) const |
QString | displayName() const |
bool | equals(const TextEditor::ColorScheme &cs) const |
int & | formatFor(TextEditor::TextStyle) |
int | formatFor(TextEditor::TextStyle) const |
bool | isEmpty() const |
bool | load(const QString &fileName) |
bool | save(const QString &fileName, QWidget *parent) const |
void | setDisplayName(const QString &name) |
void | setFormatFor(TextEditor::TextStyle category, const int &format) |
Static Public Members
QString | readNameOfScheme(const QString &fileName) |
Member Function Documentation
void ColorScheme::clear()
bool ColorScheme::contains(TextEditor::TextStyle category) const
QString ColorScheme::displayName() const
See also setDisplayName().
bool ColorScheme::equals(const TextEditor::ColorScheme &cs) const
int &ColorScheme::formatFor(TextEditor::TextStyle)
See also setFormatFor().
int ColorScheme::formatFor(TextEditor::TextStyle) const
bool ColorScheme::isEmpty() const
bool ColorScheme::load(const QString &fileName)
[static]
QString ColorScheme::readNameOfScheme(const QString &fileName)
bool ColorScheme::save(const QString &fileName, QWidget *parent) const
void ColorScheme::setDisplayName(const QString &name)
See also displayName().
void ColorScheme::setFormatFor(TextEditor::TextStyle category, const int &format)
See also formatFor().