geGUI is a generic graphical user interface for command-line applications. The program is implemented in C++ using the Qt library.
To generate a GUI for a tool, a command line interface definition in TDX format (see below) has to be provided. From this definition, a GUI is generated that can be used to execute the tool.
This screenshot shows an example of a tool for XML validation:
Features:
- Free to use for everyone.
- Portable Windows executable (does not require an installation).
- Handling of input file, input file list, output file, string, integer, float, enum and flag parameters.
- Handling of optional parameters and default values.
Just clone the repository and open the src/geGUI.pro
file in QtCreator.
After a successful build, the executable and libraries are in the bin
folder.
#Tool Definition XML (TDX)
TDX stands for the "Tool Definition XML" format. A TDX file describes the command line interface of a tool. It captures the tool documentation, various parameters, parameter documentation.
The XML schema of the TDX format can be found here.
By convention, the TDX file corresponding to an executable/script has the same file name with the appended extension '.tdx'.