DialogInterpreter.DialogFactory Class Reference


Detailed Description

The dialog factory provides a simple way to show/hide and manage modeless dialogs.

By default, this factory supports single dialog instances, but by providing a non-empty string dialogId to the show() method, you can have multiple instances of a single dialog class.

If you use the dialog factory to create an instance of your dialog, it will normally be Destroy()'ed by the DialogInterpreter's QUIT handler. If you want to Destroy() your dialog yourself, you should call remove().

#include <class_dialog_interpreter_1_1_dialog_factory.h>

List of all members.

Public Member Functions

  ready ()
  instance ()
  construct ()
  destruct ()
  __init__ ()
  show ()
  Show/hide a singleton dialog instance, creating it if necessary.
  block ()
  Show/hide a singleton dialog instance, creating it if necessary.
  remove ()
  Remove a reference to the specified dialog instance, if it exists.
  destroy ()
  Destroy the specified dialog instance, if it exists.

Member Function Documentation

DialogInterpreter.DialogFactory.ready ( )
DialogInterpreter.DialogFactory.instance ( )
DialogInterpreter.DialogFactory.construct ( )
DialogInterpreter.DialogFactory.destruct ( )
DialogInterpreter.DialogFactory.__init__ ( )
DialogInterpreter.DialogFactory.show ( )

Show/hide a singleton dialog instance, creating it if necessary.

DialogInterpreter.DialogFactory.block ( )

Show/hide a singleton dialog instance, creating it if necessary.

We always assume modal.

This method should not be called from the UI thread!!!!!

DialogInterpreter.DialogFactory.remove ( )

Remove a reference to the specified dialog instance, if it exists.

DialogInterpreter.DialogFactory.destroy ( )

Destroy the specified dialog instance, if it exists.


DialogInterpreter.DialogFactory DialogInterpreter.DialogFactory DialogInterpreter.DialogFactory DialogInterpreter.DialogFactory DialogInterpreter.DialogFactory DialogInterpreter.DialogFactory DialogInterpreter.DialogFactory DialogInterpreter.DialogFactory DialogInterpreter.DialogFactory DialogInterpreter.DialogFactory
DialogInterpreter.DialogFactory DialogInterpreter.DialogFactory DialogInterpreter.DialogFactory DialogInterpreter.DialogFactory DialogInterpreter.DialogFactory DialogInterpreter.DialogFactory DialogInterpreter.DialogFactory DialogInterpreter.DialogFactory DialogInterpreter.DialogFactory DialogInterpreter.DialogFactory