diff options
author | Nico Vertriest <nico.vertriest@qt.io> | 2018-05-22 12:23:54 +0200 |
---|---|---|
committer | Nico Vertriest <nico.vertriest@qt.io> | 2018-06-01 09:54:56 +0000 |
commit | 28738d2d8d6db6b0a771c3c6676450e7269e4f37 (patch) | |
tree | 00a360b6389f93941e752127b1cfad53fba98c44 /examples/widgets/tutorials/notepad/notepad.h | |
parent | 7c87ffff9aa62883bf61efe1bf27704d479eace5 (diff) |
Doc: Add formatting features to Notepad example
- bold, italic, underline
- About button
Change-Id: I8ece7d2bfca0b148b681a2fccb4a439ce179848a
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
Diffstat (limited to 'examples/widgets/tutorials/notepad/notepad.h')
-rw-r--r-- | examples/widgets/tutorials/notepad/notepad.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/examples/widgets/tutorials/notepad/notepad.h b/examples/widgets/tutorials/notepad/notepad.h index f688df45ac..288ab4e373 100644 --- a/examples/widgets/tutorials/notepad/notepad.h +++ b/examples/widgets/tutorials/notepad/notepad.h @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2017 The Qt Company Ltd. +** Copyright (C) 2018 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the documentation of the Qt Toolkit. @@ -103,6 +103,14 @@ private slots: void on_actionFont_triggered(); + void on_actionBold_triggered(); + + void on_actionUnderline_triggered(); + + void on_actionItalic_triggered(); + + void on_actionAbout_triggered(); + //! [6] private: Ui::Notepad *ui; |