Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    formlayout 1.0.9

    Download button

    No screenshots available
    Downloads: 508  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Pierre Raybaut | More programs
    MIT/X Consortium Lic... / FREE
    April 11th, 2010, 01:47 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    formlayout description

    Module for creating PyQt4 form dialogs/widgets to edit various type of parameters

    formlayout is a tiny Python library for creating form dialogs/widgets to edit various type of parameters with having to write any GUI code (it requires Python 2.x and PyQt4 4.y, with x >= 5 and y > 3).
    Installation

    formlayout requires Python 2.x and PyQt4 4.y, with x >= 5 and y > 3:

    * All supported platforms (GNU/Linux, MacOS and Microsoft Windows XP/Vista): install Python and PyQt4
    * Microsoft Windows XP/Vista: note that Python(x,y) (scientific-oriented Python distribution: http://www.pythonxy.com) includes formlayout as a standard plugin

    Installation instructions:

    * Python(x,y): nothing to do, it's already included
    * Without setuptools: download the .tar.gz file, extract files and type python setup.py install
    * With setuptools: simply type easy_install formlayout

    Simple example:

    The main feature of formlayout is to provide the fedit function which transforms a list of parameters into a GUI-based form (you may also create a list of parameter lists - see formlayout.py for more advanced examples):

    from formlayout import fedit

    datalist = [('Name', 'Paul'),
     ('Age', 30),
     ('Sex', [0, 'Male', 'Female']),
     ('Size', 12.1),
     ('Eyes', 'green'),
     ('Married', True),
     ]

    print "result:", fedit(datalist, title="Describe yourself",
     comment="This is just an < b >example< /b >.")



    Product's homepage

    Requirements:

    · Python

      


    TAGS:

    PyQt4 form dialogs | PyQt4 form widgets | parameters editor | PyQt4 | form | dialogs

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM