QT Gui to edit XML parameter files
C++ QMake
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
images
CMakeLists.txt
README.md
application.qrc
browse_lineedit.cpp
browse_lineedit.h
dealii_parameter_gui.pro
info_message.cpp
info_message.h
lgpl-2.1.txt
main.cpp
mainwindow.cpp
mainwindow.h
parameter_delegate.cpp
parameter_delegate.h
parameter_gui.png
parameters.xml
xml_parameter_reader.cpp
xml_parameter_reader.h
xml_parameter_writer.cpp
xml_parameter_writer.h

README.md

This repository contains the parameter_gui project.

It is copyrighted by Martin Steigemann and Wolfgang Bangerth and distributed under the same license as the deal.II library, i.e. The GNU Lesser General Public License (LGPL) version 2.1 or later.

Usage:

To use the parameter GUI you first need to write a description of all the parameters, their default values, patterns and documentation strings into a file in a format that the GUI can understand; this is done using the ParameterHandler::print_parameters() function with ParameterHandler::XML as second argument, as discussed in more detail below in the Representation of Parameters section. This file can then be loaded using the executable for the GUI, which should be located in lib/bin/dealii_parameter_gui of your deal.II installation, assuming that you have a sufficiently recent version of the Qt toolkit installed.

Once loaded, the GUI displays subsections and individual parameters in tree form (see also the discussion in the Representation of Parameters section below). Here is a screen shot with some sub-sections expanded and one parameter selected for editing:

Paremeter GUI

Using the GUI, you can edit the values of individual parameters and save the result in the same format as before. It can then be read in using the ParameterHandler::read_input_from_xml() function.