GUI toolkits and dynamic table browser widget

Simon Cropper simoncropper at fossworkflowguides.com
Fri May 18 01:47:45 EDT 2012


On 18/05/12 14:00, Vincent Vande Vyvre wrote:
> On 18/05/12 02:52, Simon Cropper wrote:
>> Hi,
>>
>> There has been some discussion on this list regarding GUI toolkits and
>> it reinvigorated my search for one to meet my needs.
>>
>> I would like to create windows with grids (AKA rows and column of a
>> table like excel). Do any of the GUI interfaces have these types of
>> widgets? i have looked but can't find any and I have not stumbled on
>> program that presents data in this way so I can see how they do it.
>>
>> Specifically I would like to run a SQL command and have the returned
>> list passed to a widget with little or no manipulation and that widget
>> present the data, allow the user to scroll through that data and
>> preferably allow edits to occur. These edits could then be passed back
>> via a string to the program for inclusion in a sql-update command.
>>
>> Any ideas?
>>
> Have a look at PyQt [1], specially QTableView [2] and QtSql [3]
>
> [1] http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/index.html
> [2]
> http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qtableview.html
> [3] http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qsql.html
>

Vincent,

That looks very promising... do you understand the licensing though?

GPL to GPL is obvious but would development of an in-house system be 
commercial or GPL licensing?

-- 
Cheers Simon

    Simon Cropper - Open Content Creator / Website Administrator

    Free and Open Source Software Workflow Guides
    ------------------------------------------------------------
    Introduction               http://www.fossworkflowguides.com
    GIS Packages           http://www.fossworkflowguides.com/gis
    bash / Python    http://www.fossworkflowguides.com/scripting



More information about the Python-list mailing list