38 int caretWidth()
const;
39 void setCaretWidth(
int width );
41 int caretBlinkingRate()
const;
42 void setCaretBlinkRate(
int rate );
44 int indentSize()
const;
45 void setIndentSize(
int size );
47 bool useTabChar()
const;
48 void setUseTabChar(
bool enable );
50 bool smartTab()
const;
51 void setSmartTab(
bool enable );
53 const QStringList& charGroups()
const;
54 void setCharGroups(
const QStringList& items );
56 const QString& whitespaces()
const;
57 void setWhitespaces(
const QString& value );
59 const QString& whitespaceWithoutNewline()
const;
60 void setWhitespaceWithoutNewline(
const QString& );
62 int extraLineSpacing()
const;
63 void setExtraLineSpacing(
int value );
65 bool useLineSeparator()
const;
66 void setUseLineSeparator(
bool value );
68 const QPen& lineSeparatorPen()
const;
69 void setLineSeperatorPen(
const QPen& pen );
71 bool undoGroupPerSpace()
const;
72 void setUndoGroupPerSpace(
bool enable );
74 bool showCaretOffset()
const;
75 void setShowCaretOffset(
bool enable );
78 void setThemeName(
const QString& name );
81 void setFont(
const QFont& font );
83 bool scrollPastEnd()
const;
84 void setScrollPastEnd(
bool enabled );
86 int showWhitespaceMode()
const;
87 void setShowWhitespaceMode(
int mode );
88 void setShowWhitespaceMode(
const QString& str );
90 bool renderBidiContolCharacters()
const;
91 void setRenderBidiContolCharacters(
bool enabled );
94 bool autocompleteAutoShow()
const;
95 void setAutocompleteAutoShow(
bool enable );
97 int autocompleteMinimalCharacters()
const;
98 void setAutocompleteMinimalCharacters(
int amount );
102 void configChanged();
109 int changeInProgressLevel_;
113 int caretBlinkingRate_;
118 QStringList charGroups_;
119 QString whitespaces_;
120 QString whitespaceWithoutNewline_;
121 int extraLineSpacing_;
122 bool useLineSeparator_;
123 QPen lineSeparatorPen_;
124 bool undoGroupPerSpace_;
125 bool showCaretOffset_;
130 int showWhitespaceMode_;
131 bool renderBidiContolCharacters_;
133 bool autocompleteAutoShow_;
134 int autocompleteMinimalCharacters_;
General configuration settings of the text editor.
Definition texteditorconfig.h:18
ShowWhitespaceMode
an enumeration with the possible types of whitespace showing
Definition texteditorconfig.h:24
@ ShowWhitespaces
Alsways show the whitespace.
Definition texteditorconfig.h:26
@ HideWhitespaces
Don't show whitespaces.
Definition texteditorconfig.h:25
TextEditorConfig(QObject *parent=0)
The default constructor Fills this configuration object with some sane defaults.
Definition texteditorconfig.cpp:14