Changeset 300:f101bd18f39d for src/mlx/gui/flight.py
- Timestamp:
- 07/22/12 17:28:25 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/flight.py
r278 r300 1 # The flight handling "wizard"2 1 3 2 from mlx.gui.common import * … … 15 14 import datetime 16 15 import time 16 17 #----------------------------------------------------------------------------- 18 19 ## @package mlx.gui.flight 20 # 21 # The flight "wizard". 22 # 23 # This module implements the main tab of the application, the flight 24 # wizard. The wizard consists of \ref Page "pages", that come one after the 25 # other. As some pages might be skipped, the pages dynamically store the index 26 # of the previous page so that going back to it is simpler. The \ref 27 # Page.activate "activate" function is called before a page is first shown 28 # during a flight. This function should initialize the page's controls and fill 29 # it with initial data. When a page is left for the first time, its \ref 30 # Page.finalize "finalize" function is called. It should set those controls 31 # insensitive, that will not be available if the user comes back to this page. 32 # 33 # Each page has a title at the top displayed in inverted colors and a big 34 # font. There is a help text below it centered, that shortly describes what is 35 # expected on the page. There can be two help texts: one shown when the page is 36 # first displayed during a flight, another shown when the user goes back to the 37 # page. The main content area is below this, also centered. Finally, there are 38 # some buttons at the bottom on the right. As some buttons occur very 39 # frequently, there are functions to add them (\ref Page.addCancelFlightButton 40 # "addCancelFlightButton", \ref Page.addPreviousButton "addPreviousButton" and 41 # \ref Page.addNextButton "addNextButton". 42 # 43 # The \ref Wizard class is the main class to collect the pages. It also stores 44 # some data passed from one page to another and provides properties to access 45 # data items set via the wizard pages. 17 46 18 47 #-----------------------------------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.