Skip to content

QuickShow Users Guide

Lukáš Paukert edited this page Jul 17, 2019 · 7 revisions

Invocation

quickshow [OPTIONS]

OPTIONS:

--abort-on-exception
        Abort application on exception
-c, --column-count number [default(2)]
--font-scale number [default(100)]
        font scale in %
--refresh-time 'string' [default(1000)]
        refresh time in msec
--config 'string'
        Application config name, it is loaded from {config}[.conf] if file exists in {config-path}, deault value is {app-name}.conf
--config-dir 'string'
        Directory where application config fiels are searched, default value: {app-dir-path}.
-b, --database 'string' [default(quickevent)]
--sql-driver 'string' [default(QPSQL)]
-s, --host 'string' [default(localhost)]
-p, --password 'string'
--port number [default(5432)]
-u, --user 'string' [default(quickevent)]
--classes-like 'string'
        SQL LIKE expression to filter classes to show, for ex. --classes-like "H%"
--classes-not-like 'string'
        SQL LIKE expression to filter classes not to show, for ex. --not-classes-like "HDR"
-e, --event 'string'
-n, --stage number
        If not set, the current stage number is loaded from database.
-h, --help
        Print help
--profile 'string' [default(results)]
        Profile name [startlist | results]
-lfn, --log-long-file-names
         log long file names
-d,--debug [PATTERN[:TRESHOLD][,PATTERN[:TRESHOLD]]]
         set file log pattern and treshold
                 PATTERN: any substring of source module, for example 'mymod' prints debug info from every source file with name containing 'mymod', mymodule.cpp, tomymod.cpp, ...
                 TRESHOLD: any of DEB, INFO, WARN, ERR, [D,I,W,E] can be used as well, default level is INFO
         when pattern is not set, set treshold for all files
         when treshold is not set, set treshold D (Debug) for all files containing pattern
         when nothing is not set, set treshold D (Debug) for all files
         Examples:
                -d              set treshold D (Debug) for all files
                -d :W           set treshold W (Warning) for all files
                -d foo          set treshold D for all files containing 'foo'
                -d bar:W        set treshold W (Warning) for all files containing 'bar'

options can be stored in configuration file quickshow.conf

// copy file to directory where quickshow is installed
// for possible config values see: quickshow --help
{
    "profile": "results",
    "event": {
        "stage": 1,
        "name": "usti2017"
    },
    "connection": {
        "driver": "QSQLITE",
        //"host": "10.23.40.177",
        //"port": 5432,
        "database": "/home/fanda/ob/quick-events/budislav2015_test.qbe", // put file path here for QSQLITE connection
        "user": "quickevent",
        "password": "quickevent"
    },
    "application": {
        "refreshTime": 750,
        "fontScale": 150
    }
}

Examples

./quickshow -b "/home/fanda/t/ob/usti2017_test.qbe" --sql-driver QSQLITE --profile startlist --font-scale 150