FontSettings Class
(Debugger::TextEditor::FontSettings)Public Types
typedef | FormatDescriptions |
Public Functions
FontSettings() | |
bool | antialias() const |
void | clear() |
const Debugger::TextEditor::ColorScheme & | colorScheme() const |
Debugger::QString | colorSchemeFileName() const |
bool | equals(const Debugger::TextEditor::FontSettings &f) const |
Debugger::QString | family() const |
Debugger::QFont | font() const |
int | fontSize() const |
int | fontZoom() const |
Debugger::TextEditor::Format & | formatFor(Debugger::TextEditor::TextStyle category) |
Debugger::TextEditor::Format | formatFor(Debugger::TextEditor::TextStyle category) const |
bool | fromSettings(const Debugger::QString &category, const Debugger::TextEditor::FontSettings::FormatDescriptions &descriptions, const Debugger::QSettings *s) |
bool | isEmpty() const |
bool | loadColorScheme(const Debugger::QString &fileName, const Debugger::TextEditor::FontSettings::FormatDescriptions &descriptions) |
bool | saveColorScheme(const Debugger::QString &fileName) |
void | setAntialias(bool antialias) |
void | setColorScheme(const Debugger::TextEditor::ColorScheme &scheme) |
void | setColorSchemeFileName(const Debugger::QString &fileName) |
void | setFamily(const Debugger::QString &family) |
void | setFontSize(int size) |
void | setFontZoom(int zoom) |
void | toSettings(const Debugger::QString &category, Debugger::QSettings *s) const |
int | toTextCharFormat(Debugger::TextEditor::TextStyle) const |
int | toTextCharFormat(Debugger::TextEditor::TextStyles) const |
int | toTextCharFormats(const int &) const |
Static Public Members
Debugger::QString | defaultFixedFontFamily() |
int | defaultFontSize() |
Debugger::QString | defaultSchemeFileName(const Debugger::QString &fileName = ...) |
Member Function Documentation
FontSettings::FontSettings()
Default constructs an instance of FontSettings.
bool FontSettings::antialias() const
See also setAntialias().
void FontSettings::clear()
const Debugger::TextEditor::ColorScheme &FontSettings::colorScheme() const
See also setColorScheme().
Debugger::QString FontSettings::colorSchemeFileName() const
See also setColorSchemeFileName().
[static]
Debugger::QString FontSettings::defaultFixedFontFamily()
[static]
int FontSettings::defaultFontSize()
[static]
Debugger::QString FontSettings::defaultSchemeFileName(const Debugger::QString &fileName = ...)
bool FontSettings::equals(const Debugger::TextEditor::FontSettings &f) const
Debugger::QString FontSettings::family() const
See also setFamily().
Debugger::QFont FontSettings::font() const
int FontSettings::fontSize() const
See also setFontSize().
int FontSettings::fontZoom() const
See also setFontZoom().
Debugger::TextEditor::Format &FontSettings::formatFor(Debugger::TextEditor::TextStyle category)
Debugger::TextEditor::Format FontSettings::formatFor(Debugger::TextEditor::TextStyle category) const
bool FontSettings::fromSettings(const Debugger::QString &category, const Debugger::TextEditor::FontSettings::FormatDescriptions &descriptions, const Debugger::QSettings *s)
bool FontSettings::isEmpty() const
bool FontSettings::loadColorScheme(const Debugger::QString &fileName, const Debugger::TextEditor::FontSettings::FormatDescriptions &descriptions)
bool FontSettings::saveColorScheme(const Debugger::QString &fileName)
void FontSettings::setAntialias(bool antialias)
See also antialias().
void FontSettings::setColorScheme(const Debugger::TextEditor::ColorScheme &scheme)
See also colorScheme().
void FontSettings::setColorSchemeFileName(const Debugger::QString &fileName)
See also colorSchemeFileName().
void FontSettings::setFamily(const Debugger::QString &family)
See also family().
void FontSettings::setFontSize(int size)
See also fontSize().
void FontSettings::setFontZoom(int zoom)
See also fontZoom().