Fix typos in Widgets Tutorial.
Change-Id: Id4a0bef3b00f3869582e76ee45f230120189a268 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>bb10
parent
2de8fb5a6c
commit
f1093e06b2
|
|
@ -36,9 +36,9 @@
|
|||
|
||||
Widgets are the basic building blocks for graphical user interface
|
||||
(GUI) applications built with Qt. Each GUI component (e.g.
|
||||
buttons, labels, text editor) is a \l{QWidget}{widget} that is
|
||||
buttons, labels, text editors) is a \l{QWidget}{widget} that is
|
||||
placed somewhere within a user interface window, or is displayed
|
||||
as an independent window. Each type of widge is provided by a
|
||||
as an independent window. Each type of widget is provided by a
|
||||
subclass of QWidget, which is itself a subclass of QObject.
|
||||
|
||||
QWidget is not an abstract class. It can be used as a container
|
||||
|
|
@ -49,7 +49,7 @@
|
|||
As with \l{QObject}s, \l{QWidget}s can be created with parent
|
||||
objects to indicate ownership, ensuring that objects are deleted
|
||||
when they are no longer used. With widgets, these parent-child
|
||||
relationships have an additional meaning: Each child widget is
|
||||
relationships have an additional meaning: each child widget is
|
||||
displayed within the screen area occupied by its parent widget.
|
||||
This means that when you delete a window widget, all the child
|
||||
widgets it contains are also deleted.
|
||||
|
|
|
|||
Loading…
Reference in New Issue