Package flumotion :: Package admin :: Package gtk :: Module configurationassistant
[hide private]

Module configurationassistant

source code

Configuration Assistant - A graphical user interface to create a stream.


This simple drawing explains the basic user interface:

  +----------+---------------------------------+
  |          |             Title               |
  | Sidebar  |---------------------------------+
  |          |                                 |
  |          |                                 |
  |          |                                 |
  |          |         WizardStep              |
  |          |                                 |
  |          |                                 |
  |          |                                 |
  |          |                                 |
  |          |                                 |
  |          +---------------------------------+
  |          |            Buttons              |
  +----------+---------------------------------+

Sidebar shows the available and visited steps, it allows you to quickly
navigate back to a previous step.
Title and the sidebar name contains text / icon the wizard step can set.
Buttons contain navigation and help.

Most WizardSteps are loaded over the network from the manager (to the admin
client where the code runs).


Version: $Rev$

Classes [hide private]
  WelcomeStep
This step is showing an informative description which introduces the user to the configuration assistant.
  ScenarioStep
This step is showing a list of possible scenarios.
  ConfigurationAssistant
This is the main configuration assistant class, it is responsible for:: - executing tasks which will block the ui - showing a worker list in the UI - communicating with the manager, fetching bundles and registry information - running check defined by a step in a worker, for instance querying for hardware devices and their capabilities It extends SectionWizard which provides the basic user interface, such as sidebar, buttons, title bar and basic step navigation.
Functions [hide private]
 
_fraction_from_float(number, denominator)
Return a string to be used in serializing to XML.
source code
Variables [hide private]
  __pychecker__ = 'no-classattr no-argsused'
  T_ = gettexter()
  _ = gettext.gettext