Edit Toolbars (EdiToo) Type: User Interface
Allows new toolbars to be created and defined. Detailed Description Toolbars are groups of command buttons that can be represented as icons or text, and may be used as stand-alone floating windows or may be docked with the VrOne Main and Graphics windows. A toolbar may be docked by dragging and dropping it onto any valid docking area. Docking areas are currently provided on the bottom of the Main window, and on the sides and bottom of all graphics windows. The toolbar definitions are stored in the \vr\hostdir directory in a file named vrone.vrt. The toolbar layout (locations) files is stored in the \vr\hostdir directory in a file named vrone.vrtoollayout. NOTE: These files should be backup up when installing a new version of VrOne
Example: Creating a Toolbar Containing Brightness and Contrast Controls Edit Toolbars Dialog
This image displayed above is the Edit Toolbars dialog with six toolbars defined. The left side of the dialog displays the toolbars. The toolbar named “Files” is currently highlighted, and the right hand side of the dialog is displaying the command buttons that are assigned to the “Files” toolbar.
The image below shows the “Files” toolbar as a floating window (not docked). The Orientation on this toolbar is to Vertical, which only affects the toolbar when it is floating. Notice the use of the “SEPARATOR” item to place a line between the Close Img command button and the Plot command button.
The following image shows the “Files” toolbar docked in the VrOne main window.
Using the Edit Toolbars Dialog Left Pane The left hand pane displays a table of all currently defined toolbars. Whenever an item in the toolbar table is selected, the right hand pane displays the toolbar command buttons that are associated with the highlighted toolbar. Use the “Add” button to create new toolbars. Use the “Delete” button to delete the currently highlighted toolbar command button. The following items may be defined for each toolbar, and are edited by directly changing the items in the table.
Right Pane The right hand pane displays a table of command buttons that are defined for the currently highlighted toolbar. Use the “Add” button to create new command buttons. Use the “Delete” button to delete the currently highlighted command button. Three special purpose buttons are provided to make it easy to add Separators, Brightness Controls, and Contrast controls. The following items may be defined for each command button, and are edited by directly changing the items in the table.
Creating a Toolbar Containing Brightness and Contrast Controls
The following steps may be used to create a Toolbar containing the brightness and contrast controls.
Parameter Files Toolbar parameter information is stored in two files; the .vrt and the .vrtoollayout files which are in the \vr\hostdir folder. The program name precedes the file name. For example the toolbar parameters for the VrOne program is stored in \vr\hostdir\vrone.vrt and \vr\hostdir\vrone.vrtoollayout.
|