08.06.2013 Views

Bernese GPS Software Version 5.0 - Bernese GNSS Software

Bernese GPS Software Version 5.0 - Bernese GNSS Software

Bernese GPS Software Version 5.0 - Bernese GNSS Software

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

18.9 Technical Details<br />

Table 18.2: List of metacommands defining the behavior of the widgets.<br />

Metacommand Description Widgets default<br />

cards List of items that can be selected in a combobox combobox<br />

editable Combobox is editable (true) or not editable combobox not editable<br />

emptyallowed User input may remain empty (true) or selwin false<br />

an input is required (false) lineedit true<br />

ext File extension (EXT xxx from MENU EXT.INP) lineedit, selwin no extension<br />

group Groups of radiobuttons radiobutton<br />

maxfiles Maximum number of selectable files (integer) selwin unlimited<br />

multilineallowed Multiple values for a lineedit are allowed (true) lineedit false<br />

path Absolute path (PTH xxx) or campaign directory<br />

(DIR xxx) from MENU EXT.INP<br />

lineedit, selwin no path<br />

pointer Points to another keyword, e.g., selwin selects<br />

from the list defined by this keyword<br />

initmenu, selwin<br />

radiokeys List of keywords that are activated by the<br />

radiobutton<br />

radiobutton<br />

range Range and step for spinbox (integer for start,<br />

end, step)<br />

spinbox<br />

activeif Keyword is active under the specified condition all widgets<br />

check max Maximum value of a user input<br />

check min<br />

check strlen<br />

Minimum value of a user input<br />

Maximum length of strings (integer)<br />

lineedit, uniline<br />

check type Expected user input (integer, real, date, or<br />

time)<br />

menuaux Keyword value is prepared by the auxiliary (MENUAUX in all cases)<br />

Fortran program (MENUAUX)<br />

action Action performed by program MENUAUX<br />

menuauxkeys List of keywords. The current values of these<br />

keywords will be passed to program MENUAUX lineedit, selwin, uniline<br />

updateifchanged The value of the keyword is updated only if a<br />

keyword in this list changes<br />

updateifsave Update the content of the keyword using the<br />

MENUAUX-mechanism if the panel is saved<br />

Required metacommands are combobox: cards<br />

radiobutton: group<br />

selwin: either path/ext or pointer<br />

spinbox: range<br />

menuaux: action<br />

these multicolumn keywords are used to generate titles in input file tables generated by<br />

the Fortran programs.<br />

A number of metacommands are available to check the correctness of user input. The<br />

command check type = integer, e.g., checks whether an input is an integer value. If the<br />

user enters a value with an unexpected type the menu asks the user to correct the entry<br />

when the user leaves the panel (by navigating to a different panel or by saving the panel<br />

file). The user may go back to the panel to correct the value or insist on his input.<br />

A metacommandactiveif allows to define conditions under which an input field is active or<br />

not. If the specified condition on the values of other keywords is not fulfilled the field remains<br />

inactive and does not accept user input. The metacommand activeif = COORD / is,<br />

e.g., used to make an input field active if a coordinate file is specified in field COORD. Several<br />

conditions may be combined by AND or OR . They are analyzed from left to right.<br />

<strong>Bernese</strong> <strong>GPS</strong> <strong>Software</strong> <strong>Version</strong> <strong>5.0</strong> Page 373

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!