Page History
...
- use
pyqt4
in stead oftk
as a GUI backend - add loading of graphical files from disk
- add the region editor of graphical files
- selection of tags from the list of available in db
- enable submission of the message copy to the instrumental ELog
- generate child message with results of processing the command in option "-c"
- make properly re-sizable GUI: the graphic window should be the only re-sizable object
- Savesave/restore the configuration file defined by the option "-f" with parameters:
- tag
- description of image
- input and output file names for loading and saving images, respectively
...
Grab
– click on this button activates cursor to select the window or grab any rectangular area on monitor.Load
– activates the file selection menu to load the image from file. Image will appear in theAttachement
window.Reset
– clears the graphicalAttachement
window.Submit
– submits entire message in ELogClose
Exit
– closes the window, save current configuration parameters, closes all open windows, and exit application. The "x" button in the top right corner does the same operations, but does not save configuration file.Select tag
– activates the drop-down menu to select the tag from the list of known in the DB.
...
Code Block |
---|
setenv PYTHONPATH ${PYTHONPATH}:/reg/g/pcds/pds/grabber/lib/python2.7/site-packages /reg/g/pcds/pds/grabber/bin/LogBookGrabber_qt.py -i <INSTRUMENT>[:<station>] -e <experiment-name> -u <user-name> -p <password> -w <web-service> -f <configuratin<configuration-file> -c <child-message-command> |
...
Code Block |
---|
Options: -h, --help show this help message and exit -i INSSTA, --ins=INSSTA the name of an instrument and station <INS>[:<station-number>] -e EXP, --exp=EXP the name of some specific experiment -w URL, --url=URL the base URL of the LogBook web service -u USR, --usr=USR the user name to connect to the web service -p PAS, --pas=PAS the password to connect to the web service -c CMD, --cmd=CMD the command for child message -f CFNAME, --cfg=CFNAME the file name with configuration parameters |
option "-f <configuration-file>"
If this parameter is missing, the default configuration file name confpars-grabber.txt
is used. If file is missing, the default parameters will be used. At click on "Exit" button, current parameters will be saved in configuration file, all open windows will be closed. Click on "x" button in the top right corner of the main window does the same operations, but does not save configuration file.
Overview
Content Tools