diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2019-02-18 15:40:04 +0100 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2019-05-02 04:10:28 +0000 |
commit | 0df30ff22e50aa301791fc72f106ab15ce385a6a (patch) | |
tree | 6963142736faaf34566401a634fb836f43e814a7 /examples/widgets/richtext/textedit/textedit.h | |
parent | 75256d62d2462103180b368aa79b933acf71f444 (diff) |
Add task list checkbox manipulation features to the TextEdit example
Change-Id: I5f0b8cb94d1af609ec531f9765d58be65b1129a3
Reviewed-by: Gatis Paeglis <gatis.paeglis@qt.io>
Diffstat (limited to 'examples/widgets/richtext/textedit/textedit.h')
-rw-r--r-- | examples/widgets/richtext/textedit/textedit.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/widgets/richtext/textedit/textedit.h b/examples/widgets/richtext/textedit/textedit.h index ae0b13a4cc..c253548a4f 100644 --- a/examples/widgets/richtext/textedit/textedit.h +++ b/examples/widgets/richtext/textedit/textedit.h @@ -96,6 +96,7 @@ private slots: void textStyle(int styleIndex); void textColor(); void textAlign(QAction *a); + void setChecked(bool checked); void currentCharFormatChanged(const QTextCharFormat &format); void cursorPositionChanged(); @@ -125,6 +126,7 @@ private: QAction *actionAlignCenter; QAction *actionAlignRight; QAction *actionAlignJustify; + QAction *actionToggleCheckState; QAction *actionUndo; QAction *actionRedo; #ifndef QT_NO_CLIPBOARD |