Window Life Cycle - History
11/05/2006 04:12:53 - gambas
.............................................................................. ..............................................................................
# A window can be opened in modal (blocking) and non-modal (non-blocking) mode # A window can be opened in modal (blocking) and non-modal (non-blocking) mode
# The first time a window is shown, an [/comp/gb.qt/window/.open] event is rai # The first time a window is shown, an [/comp/gb.qt/window/.open] event is rai
# A window can be closed by calling the [/comp/gb.qt/window/close] method or b # A window can be closed by calling the [/comp/gb.qt/window/close] method or b
# When a window is closed, a [/comp/gb.qt/window/.close] event is raised. If t # When a window is closed, a [/comp/gb.qt/window/.close] event is raised. If t
# When a window has been closed, it can be opened again, but the [/comp/gb.qt/ # When a window has been closed, it can be opened again, and the [/comp/gb.qt/
# The integer argument of the [/comp/gb.qt/window/close] method is returned by # The integer argument of the [/comp/gb.qt/window/close] method is returned by
# If you call [/comp/gb.qt/window/close] during the [/comp/gb.qt/window/.close # If you call [/comp/gb.qt/window/close] during the [/comp/gb.qt/window/.close
# If you call [/comp/gb.qt/window/close] during the [/comp/gb.qt/window/.open]
# If you call [/comp/gb.qt/window/show] or [/comp/gb.qt/window/showmodal] whil # If you call [/comp/gb.qt/window/show] or [/comp/gb.qt/window/showmodal] whil
08/16/2006 16:22:42 - gambas
.............................................................................. ..............................................................................
# A window can be persistent or not. A non-persistent window is destroyed when # A window can be persistent or not. A non-persistent window is destroyed when
3) A window can be opened in modal (blocking) and non-modal (non-blocking) # A window can be opened in modal (blocking) and non-modal (non-blocking) mode
mode. The modal mode is implemented by using a local event loop. An embedded
window opened in modal mode is temporarily made top-level.
4) The first time a window is shown, an "Open" event is raised. Only the first # The first time a window is shown, an [/comp/gb.qt/window/.open] event is rai
time, i.e. it will be raised once for each instance of a window.
5) A window can be closed by calling the Close() method or by clicking on the # A window can be closed by calling the [/comp/gb.qt/window/close] method or b
close button of the window manager for top-level windows.
6) When a window is closed, a "Close" event is raised. If this event is not # When a window is closed, a [/comp/gb.qt/window/.close] event is raised. If t
stopped, then the window is hidden. If the window is not persistent, it is
destroyed too. If the window was opened in modal mode, then the local event
loop used for implementing the modal mode is left.
7) When a window has been closed, it can be opened again, but the Open event # When a window has been closed, it can be opened again, but the [/comp/gb.qt/
won't be raised again. But the Close event will be raised systematically.
8) The integer argument of the [../../comp/gb.qt/window].Close() method is ret # The integer argument of the [/comp/gb.qt/window/close] method is returned by
[../../comp/gb.qt/window].ShowModal() method.
9) If you call Close() during the Close event, the method does nothing. # If you call [/comp/gb.qt/window/close] during the [/comp/gb.qt/window/.close
10) If you call Show() or ShowModal() while the window is being shown, the # If you call [/comp/gb.qt/window/show] or [/comp/gb.qt/window/showmodal] whil
method does nothing.
08/16/2006 16:19:09 - gambas
Creation