My favorites | Sign in
Project Home Downloads Wiki Issues
Project Information
Members
Featured
Downloads
Wiki pages
Links

Based on the Qt Python binding module PyQt4, guidata is a Python library generating graphical user interfaces for easy dataset editing and display. It also provides helpers and application development tools for PyQt4.

The guidata library is available for Windows XP/Vista/7, GNU/Linux (official packages are available for Debian, Ubuntu and archlinux) and MacOS X.

Documentation is available here.

You may submit bug reports and feature requests thanks to the Issues tracker.

This software is licensed under the terms of the CECILL license.

Simple example

The main feature of guidata is to generate graphical user interfaces for dataset editing. Here is an example with a dialog box creation (see the documentation for more examples):

import guidata
guidata.qapplication() # not required if a QApplication has already been created

import guidata.dataset.datatypes as dt
import guidata.dataset.dataitems as di

class Processing(dt.DataSet):
    """Example"""
    a = di.FloatItem("Parameter #1", default=2.3)
    b = di.IntItem("Parameter #2", min=0, max=10, default=5)
    type = di.ChoiceItem("Processing algorithm",
                         ("type 1", "type 2", "type 3"))

param = Processing()
param.edit()

Here is the generated GUI dialog box:


©2010-2011 CEA - Commissariat à l'Energie Atomique et aux Energies Alternatives

Powered by Google Project Hosting