hjoliver/cylc — pull request #46 by benfitzpatrick (2012-05-28 14:07:29+00:00)
Title: Merge control GUIs

This change merges the two control GUIs (graph and led/tree), so that a user can switch between different interfaces in the same GUI application. It adds a toolbar and moves the status bar to the bottom of the window. The code for individual interfaces (graph, LED, tree) is no longer subclassed from the main ControlApp class. They instead provide methods to obtain View menu items, toolbar items and the control widgets. Some of the buttons specific to an interface (e.g. zoom buttons in the graph view) have been moved to the tool bar.

Each interface can be viewed by itself, or in combination with another in either a horizontal or vertical layout.

The command line functionality stays the same - "gcylc SUITENAME" will launch the LED and tree interfaces, and "gcylc -g SUITENAME" will launch the graph interface on startup.

The disadvantages are slightly reduced performance when viewing the LED and tree interfaces together, as the LED and Tree code has been separated out and they no longer share an updater thread.