qtbase/examples
Ed Cooke a00c80e1ce Update the books example
Remove the .ui file and write the equivalent implementation.

Replace the outdated star icons with new star icons. 5 empty stars
are now provided and filled in depending on the rating. The new stars
are SVG, however, we do not use an SvgRenderer as we cannot use the
QtSvg API from QtBase directly. It is safe to assume the SVG image
loading plugin is present, the worst case scenario would be empty icons,
but it would still build. We instead use QIcon.

For the rating, draw the star icons in a combobox, replacing the old spinbox.

Update the layout by moving the table view to the bottom, and
arranging the input fields at the top.

The scrollbar policies have been set to Qt::ScrollBarAsNeeded for the table view.

Fixes: QTBUG-118476
Pick-to: 6.6 6.5
Change-Id: I27c13534ab06e17531d155469a1cc6e7e05197af
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
(cherry picked from commit 76b2852b7c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-12-14 19:53:02 +00:00
..
aggregate
corelib examples: update local fortune example to use transaction 2023-12-04 22:13:26 +01:00
dbus Exclude some examples from Android build 2023-08-28 16:00:45 +03:00
gui Doc: Add \examplecategory to qtgui 2023-08-28 13:49:36 +02:00
network Doc: Match descriptive text with code snippet 2023-12-01 10:42:41 +01:00
opengl Docs: Add stereoscopic example to OpenGL examples 2023-12-05 12:37:30 +01:00
qmake examples: port qmake examples to new connection style 2022-12-21 22:52:17 +02:00
qtconcurrent Doc: Add \examplecategory for qtconcurrent 2023-09-07 15:05:04 +02:00
qtestlib Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
sql Update the books example 2023-12-14 19:53:02 +00:00
vulkan Fix broken capture in hellovulkancubes example 2023-11-09 18:17:33 +01:00
widgets Turn the "concentriccircles" example into snippets, update screenshot 2023-12-14 19:53:02 +00:00
xml Add missing \l to DOM bookmarks example 2023-07-25 12:31:04 +02:00
CMakeLists.txt Remove undocumented embedded examples 2023-11-17 19:39:33 +01:00
README
examples.pro Remove undocumented embedded examples 2023-11-17 19:39:33 +01:00

README

Qt is supplied with a number of example applications that have been
written to provide developers with examples of the Qt API in use,
highlight good programming practice, and showcase features found in each of
Qt's core technologies.


Documentation for examples can be found in the Examples section
of the Qt documentation.