Changes for the plugins
OHP Plugins have been migrated to Qt4. The new plugins implementations also
address all outstanding requests from Savannah. The detailed list of changes is
given below. Most of the changes are backward compatible, which means that the
existing OHP configuration files are fully supported with only two small caveats
related to the LegacyButtonsPlugin and StatusPlugin plugins.
- LegacyButtonsPlugin plugin is not supported anymore. The
"Run" and "Pause" buttons are always present in the main menu
and toolbar of the MDIPlugin. OHP will give a warning for all
configuration files which contain the LegacyButtonsPlugin plugin,
but will continue working normally.
- MDIPlugin:
- It supports now two alternative views for
the plugins: MDI and Tab. A user can switch
between them using buttons in the plugin's main
tool bar.
- The plugins has the status bar, which is
being used by an active plugin for presenting
some real-time information.
- Font size for all plugins can be changed
(increase or decreased) dynamically using tool
bar buttons.
- The plugin saves it's state and position on
the screen while exiting and restores them at
the next incarnation.
- Status plugins are located now in the
QDockWidget widgets, which can be detached from
the main window or closed. The actual state of
those widgets is saved when the OHP is closed
and is restored and the next startup.
- StatusPlugin:
- The plugins has been split into 2. The one
which is still called StatusPlugin displays the
status information about the OHP itself
(present/absent IS servers, notification
counters. etc.)
- The second plugin is called RunStatusPlugin
and displays the state of the TDAQ partition
(Run Number, Run State, Starting Time, etc.). In
order to have this information in the OHP, one
has to add the following line to an existing OHP
configuration file:
- <plugin name="RunStatus"
library="libohpplugins.so"
type="RunStatusPlugin"/>
- HistoWindowPlugin:
- While mouse pointer is being moved over one
of the histograms displayed by the plugin, the
corresponding histogram name, bin position and
bin value are presented in the MDIPlugin's
status bar.
- HistoWindowTabPlugin:
- Nested tabs support has been added. For a
nested tab configuration example see the
definition of the "test3" plugin in the
${TDAQ_INST_PATH}/share/data/ohp/example.conf.xml
file
- While mouse pointer is being moved over one
of the histograms displayed by the plugin, the
corresponding histogram name, bin position and
bin value are presented in the MDIPlugin's
status bar.
- BrowserPlugin:
- Expand selected tree branch on a single
mouse button click.
- Double click paints all histograms from the
selected tree branch.
- Additional actions are available via the
context menu which appears on right mouse button
click.