qt6-bb10/examples/widgets/widgets
Volker Hilsheimer 8e94af2ed0 Revamp the shapedclock example
Rename it to "Translucent Background", as that's what the example shows
how to do. And modern applications shouldn't use a (binary) mask to
create shaped windows. Instead, set the TranslucentBackground attribute,
don't paint pixels that should be fully transparent and use anti-aliased
or semi-opaque painting for pixels that should be translucent.

Adjust the example and documentation accordingly. Move the statment that
widget masks create coarse visual clipping to the QWidget::setMask
documentation.

Pick-to: 6.5
Change-Id: Id49d854093f2cb471afb178d32723081c7543543
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2023-05-16 13:37:38 +02:00
..
analogclock Remove "Analog Clock Window Example" 2023-02-07 17:34:42 +00:00
calculator examples: port widget examples to new connection style 2023-02-25 22:11:57 +01:00
calendarwidget Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
charactermap Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
digitalclock Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
groupbox Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
icons examples: Connect Quit action to QCoreApplication::quit, not QWidget::close 2023-02-20 15:18:18 +01:00
imageviewer Fix qtbase build when all deprecated code are disabled 2023-02-22 22:27:35 +08:00
lineedits Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
movie Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
scribble Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
shapedclock Revamp the shapedclock example 2023-05-16 13:37:38 +02:00
shortcuteditor Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
sliders Fix unused variable compiler warning in slider example 2023-01-05 05:21:43 +00:00
spinboxes Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
styles Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
stylesheet Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
tablet Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
tetrix Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
tooltips Fix pointer mismatch after QList::move() in tooltip example 2023-03-28 08:59:53 +00:00
validators Examples: Add missing include guards 2023-02-01 18:12:36 +00:00
windowflags Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
CMakeLists.txt Examples: move widgets/codeeditor into manual tests 2023-02-09 00:23:34 +01:00
README Moving .qdoc files under examples/widgets/doc 2012-08-20 12:20:55 +02:00
widgets.pro Examples: move widgets/codeeditor into manual tests 2023-02-09 00:23:34 +01:00

README

Qt comes with a large range of standard widgets that users of modern
applications have come to expect.

You can also develop your own custom widgets and controls, and use them
alongside standard widgets.

It is even possible to provide custom styles and themes for widgets that can
be used to change the appearance of standard widgets and appropriately
written custom widgets.


Documentation for these examples can be found via the Examples
link in the main Qt documentation.