This program is called from ../uiloader.


./tst_screenshot

    Syntax: ./tst_screenshot <path to *.ui file> [output directory]

    This program takes a *.ui file and an output dir as argument in order to
    create a screenshot of the widget defined in the ui file.

    The screenshot is saved in the output dir (default current dir), ".png" is
    appended to the ui file name.

