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 V.V. Oqapy <https://launchpad.net/oqapy> . Qarte+7 <https://launchpad.net/qarte+7> . PaQager <https://launchpad.net/paqager> -- http://mail.python.org/mailman/listinfo/python-list