parent.frames[1].location.href = url1; parent.frames[2].location.href = url2; } -->
Package gnue :: Package navigator :: Module UIqt3 :: Class Instance
[show private | hide private]

Class Instance


Method Summary
  __init__(self, processes)
  beginWait(self)
This function changes the mouse pointer to an hour glass.
  endWait(self)
This function changes the mouse pointer back to the normal state.
  run(self, instance)
This function creates the user interface and starts the main loop
  runForm(self, step, parameters)
This function runs a GNStep with a GNUe Form definition.
  runFormFromTrigger(self, form, parameters)
This function runs a form from trigger code.
  setStatus(self, message)
This function removes the last message from the status bar and adds a new one if specified.
  __about(self)
This function displays an about box.
  __addToTreeModel(self, gnObject)
This function adds an item of a GNObjects tree to the given tree
  __buildInterface(self)
This function creates the user interface and connects all signal handlers
  __buildTreeModel(self, GNTree)
This function creates a new tree store and populates the given GNObjects tree into that store
  __createMenuBar(self)
This function creates the menu bar for the navigator.
  __getTitlePage(self)
This function creates a HTML string containing the title page
  __menuitemSelected(self, id)
  __openFile(self)
This function displays a 'FileSelection' dialog to select other GPD files.
  __reload(self, filename)
This function loads a new process tree from the given filename and replaces the current tree view with the new process tree.
  __tree_item_activated(self, item)
This function is called on the 'row-activated' signal of the tree view, which happens if an element of the tree get's selected by the enter-key or a double-click.
  __tree_item_selected(self, item)
This function get's called when the focus in the tree view widget has changed.
  __windowExit(self)
This function quits the main loop
  _runForm(self, formfile, parameters)
This function starts a new form.

Method Details

__init__(self, processes)
(Constructor)

Parameters:
processes - GNObjects tree describing the current loaded gpd

beginWait(self)

This function changes the mouse pointer to an hour glass.

endWait(self)

This function changes the mouse pointer back to the normal state.

run(self, instance)

This function creates the user interface and starts the main loop

runForm(self, step, parameters={})

This function runs a GNStep with a GNUe Form definition.
Parameters:
step - the GNStep instance describing the form

runFormFromTrigger(self, form, parameters={})

This function runs a form from trigger code.
Parameters:
form - URL of the form
parameters - dictionary with user parameters for the form

setStatus(self, message='')

This function removes the last message from the status bar and adds a new one if specified.
Parameters:
message - message to put into the status bar or None

__about(self)

This function displays an about box.

__addToTreeModel(self, gnObject)

This function adds an item of a GNObjects tree to the given tree
Parameters:
gnObject - GNObject instance to be added

__buildInterface(self)

This function creates the user interface and connects all signal handlers

__buildTreeModel(self, GNTree)

This function creates a new tree store and populates the given GNObjects tree into that store
Parameters:
GNTree - GNObjects tree to be added to the QListView

__createMenuBar(self)

This function creates the menu bar for the navigator.

__getTitlePage(self)

This function creates a HTML string containing the title page
Returns:
stream with the HTML code for the titlepage

__menuitemSelected(self, id)

__openFile(self)

This function displays a 'FileSelection' dialog to select other GPD files. If a file was selected it will be loaded into a new process tree.

__reload(self, filename)

This function loads a new process tree from the given filename and replaces the current tree view with the new process tree.
Parameters:
filename - name of the GPD file to be loaded

__tree_item_activated(self, item)

This function is called on the 'row-activated' signal of the tree view, which happens if an element of the tree get's selected by the enter-key or a double-click.

__tree_item_selected(self, item)

This function get's called when the focus in the tree view widget has changed.

__windowExit(self)

This function quits the main loop

_runForm(self, formfile, parameters)

This function starts a new form.
Parameters:
formfile - URL of the form to be started
parameters - dictionary with user parameters for the form


GNUe Home

Private API

Developer's Corner