63 QColor background()
const;
64 void setBackground(
const QColor &color);
66 QColor foreground()
const;
67 void setForeground(
const QColor &color);
70 void setDelay(
int delay);
72 bool underlined()
const;
73 void setUnderlined(
bool value);
75 bool caseSensitive()
const;
76 void setCaseSensitive(
bool value);
78 bool wholeWord()
const;
79 void setWholeWord(
bool value);
81 bool selectOnDoubleClick()
const;
82 void setSelectOnDoubleClick(
bool value);
84 virtual void onStateChanged(
bool state);
87 void requestHighlightPosChanged();
88 void requestHighlightDoubleClick();
89 void requestHighlight();
91 void onResultsAvailable(QList<QPair<int,int> > results);
92 void asyncFindAllWatcherFinished();
95 typedef QList<QPair<int, int> > MatchesList;
96 void clearDecorations();
97 MatchesList findAll(
const QString &text,
const QString &sub,
bool wholeWord,
bool caseSensitive);
102 bool m_caseSensitive;
105 bool m_selectOnDoubleClick;
107 QList<TextDecoration::Ptr> m_decorations;
109 QFutureWatcher<MatchesList> m_asyncFindAllWatcher;