diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2023-12-11 16:17:09 +0100 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2023-12-15 18:21:22 +0100 |
commit | bddf27cd5a5412c8282fab43111e7319874ca44e (patch) | |
tree | cdead9ae9b2d1789bb5560015fe04e3c6a4c8956 /examples/widgets/doc | |
parent | 38fa1d55ee25bf78bb391fbc8433e9d2a3b74e6c (diff) |
Move the settingseditor example into tests/manual
The example uses QTreeWidget when it should use a QTreeView with a
dedicated item model, primarily shows how to use item views (and very
little about QSettings), and is generally not useful to show how an
application could or should use QSettings to store settings.
Turn it into a manual test instead; it's useful for that as it supports
ini and plist files, and settings in different scopes.
Pick-to: 6.7
Fixes: QTBUG-119978
Change-Id: I7ce039f6391c41c679d126d90a251eee60327c39
Reviewed-by: Ed Cooke <ed.cooke@qt.io>
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Diffstat (limited to 'examples/widgets/doc')
-rw-r--r-- | examples/widgets/doc/images/settingseditor-example.png | bin | 19473 -> 0 bytes | |||
-rw-r--r-- | examples/widgets/doc/src/settingseditor.qdoc | 15 |
2 files changed, 0 insertions, 15 deletions
diff --git a/examples/widgets/doc/images/settingseditor-example.png b/examples/widgets/doc/images/settingseditor-example.png Binary files differdeleted file mode 100644 index 7a5be05fd0..0000000000 --- a/examples/widgets/doc/images/settingseditor-example.png +++ /dev/null diff --git a/examples/widgets/doc/src/settingseditor.qdoc b/examples/widgets/doc/src/settingseditor.qdoc deleted file mode 100644 index 43c45008dc..0000000000 --- a/examples/widgets/doc/src/settingseditor.qdoc +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright (C) 2016 The Qt Company Ltd. -// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only - -/*! - \example tools/settingseditor - \title Settings Editor Example - \examplecategory {User Interface Components} - \ingroup examples-widgets-tools - - \brief The Settings Editor example shows how Qt's standard settings support is used in an - application by providing an editor that enables the user to view the settings for - installed applications, and modify those that can be edited. - - \image settingseditor-example.png -*/ |