User Reference:Operator.ini: Difference between revisions
Created page with "<tt>Operator.ini</tt> is a configuration file located in the same directory as the Operator module. It contains information such as window positions, button labels, and button..." |
No edit summary |
||
| Line 8: | Line 8: | ||
==Moving between machines== | ==Moving between machines== | ||
It is possible to move <tt>Operator.ini</tt> files between BCI2000 installations, and computers; note however that <tt>geometry</tt> values use an internal representation provided by Qt, and may not transfer well between BCI2000 installations based on different versions of Qt. Apart from that, windows might be located at a screen position not available on a different machine, e.g. due to multiple monitors being located at different desktop coordinates. BCI2000 tries to handle such edge cases gracefully by moving windows onto the main monitor. If the result is undesired but you still want to use other settings from such an <tt>Operator.ini</tt> file, just remove all <tt>geometry</tt> values from the file, retaining the ones you want to keep. | It is possible to move <tt>Operator.ini</tt> files between BCI2000 installations, and computers; note however that <tt>geometry</tt> values use an internal representation provided by Qt, and may not transfer well between BCI2000 installations based on different versions of Qt. Apart from that, windows might be located at a screen position not available on a different machine, e.g. due to multiple monitors being located at different desktop coordinates. BCI2000 tries to handle such edge cases gracefully by moving windows onto the main monitor. If the result is undesired but you still want to use other settings from such an <tt>Operator.ini</tt> file, just remove all <tt>geometry</tt> values from the file, retaining the ones you want to keep. | ||
==Sections== | |||
===Config=== | |||
====MainWindow\Geometry==== | |||
The Operator's main window size and position, as provided by Qt's <tt>QWidget::saveGeometry()</tt> function. | |||
====SysLog\Geometry==== | |||
The Sys Log window size and position, as provided by Qt's <tt>QWidget::saveGeometry()</tt> function. | |||
====ConfigWindow\Geometry==== | |||
The Config Window window size and position, as provided by Qt's <tt>QWidget::saveGeometry()</tt> function. | |||
====WatchesWindow\Geometry==== | |||
The Watches window size and position, as provided by Qt's <tt>QWidget::saveGeometry()</tt> function. | |||
====WatchesWindow\State==== | |||
The Watches window's splitter position, as provided by Qt's <tt>QSplitter::saveState</tt> function. | |||
Revision as of 15:49, 21 July 2022
Operator.ini is a configuration file located in the same directory as the Operator module. It contains information such as window positions, button labels, and button scripts.
Format
Operator.ini is a typical .ini file consisting of headings ("Sections") and entries ("Values"). For individual sections, values are unique, and may appear in any order. Value names may consist of multiple levels like file system paths, with a backslash \ as a separator.
Moving between machines
It is possible to move Operator.ini files between BCI2000 installations, and computers; note however that geometry values use an internal representation provided by Qt, and may not transfer well between BCI2000 installations based on different versions of Qt. Apart from that, windows might be located at a screen position not available on a different machine, e.g. due to multiple monitors being located at different desktop coordinates. BCI2000 tries to handle such edge cases gracefully by moving windows onto the main monitor. If the result is undesired but you still want to use other settings from such an Operator.ini file, just remove all geometry values from the file, retaining the ones you want to keep.
Sections
Config
MainWindow\Geometry
The Operator's main window size and position, as provided by Qt's QWidget::saveGeometry() function.
SysLog\Geometry
The Sys Log window size and position, as provided by Qt's QWidget::saveGeometry() function.
ConfigWindow\Geometry
The Config Window window size and position, as provided by Qt's QWidget::saveGeometry() function.
WatchesWindow\Geometry
The Watches window size and position, as provided by Qt's QWidget::saveGeometry() function.
WatchesWindow\State
The Watches window's splitter position, as provided by Qt's QSplitter::saveState function.