473,396 Members | 1,726 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

[Linux] What toolkit for a good grid/spreadsheet widget?

Hello

I'd like to use Python under Linux to write a business application,
and I'll need a good grid/spreadsheet editable widget, maybe not on
par with eg. ComponentOne's excellent VSFlexGrid
(http://www.componentone.com/newimage...rid_02_lg.gif), but
somewhat professional-grade.

Any recommendation? GTK doesn't seem to have one that is good enough
(GTKSheet http://gtkextra.sourceforge.net/ looks like a basic table),
so I was wondering about QT/PyQt and wxWidgets/wxPython. Any
recommendation?

Thank you
VD.
Aug 3 '06 #1
8 4540
Vincent Delporte wrote:
Hello

I'd like to use Python under Linux to write a business application,
and I'll need a good grid/spreadsheet editable widget, maybe not on
par with eg. ComponentOne's excellent VSFlexGrid
(http://www.componentone.com/newimage...rid_02_lg.gif), but
somewhat professional-grade.

Any recommendation? GTK doesn't seem to have one that is good enough
(GTKSheet http://gtkextra.sourceforge.net/ looks like a basic table),
so I was wondering about QT/PyQt and wxWidgets/wxPython. Any
recommendation?

Thank you
VD.

http://www.wxpython.org/

Search for "Grid" here: http://www.wxpython.org/onlinedocs.php

Regards,

Philippe
Aug 3 '06 #2
On Thursday 03 August 2006 9:54 pm, Vincent Delporte wrote:
Hello

I'd like to use Python under Linux to write a business application,
and I'll need a good grid/spreadsheet editable widget, maybe not on
par with eg. ComponentOne's excellent VSFlexGrid
(http://www.componentone.com/newimage...rid_02_lg.gif), but
somewhat professional-grade.

Any recommendation? GTK doesn't seem to have one that is good enough
(GTKSheet http://gtkextra.sourceforge.net/ looks like a basic table),
so I was wondering about QT/PyQt and wxWidgets/wxPython. Any
recommendation?
PyQt4 has QTableWidget...

http://www.riverbankcomputing.com/Do...blewidget.html

Phil
Aug 3 '06 #3
On Thu, 3 Aug 2006 22:07:04 +0100, Phil Thompson
<ph**@riverbankcomputing.co.ukwrote:
>PyQt4 has QTableWidget...
Thx for the two pointers. Are those widgets more than just tables, ie.
can I edit the contents, including displaying a combo box, can items
be grouped or hierarchized, or are they just basic, read-only tables
to display results?

I need this kind of widget to build a 2+ column interface to let users
type entries into the application as an alternative to MS Access-style
complicated entry masks.
Aug 4 '06 #4
Hi,
Thx for the two pointers. Are those widgets more than just tables, ie.
can I edit the contents, including displaying a combo box, can items
be grouped or hierarchized, or are they just basic, read-only tables
to display results?

I need this kind of widget to build a 2+ column interface to let users
type entries into the application as an alternative to MS Access-style
complicated entry masks.
Wx have got an excellent one. I was succesful to use it with editable
cells and to include a choice in a cell. However, it was pretty hard to
reach that, ie to extract a working sample from the demo. Once done
that, no more problems with it.
What I suggest you is to have a look on the demo, in the chapter "Core
Windows/Controls -Grid -wx.Grid showing Editors and Renderers".
Rgds,
jm
Aug 4 '06 #5
On Friday 04 August 2006 2:24 am, Vincent Delporte wrote:
On Thu, 3 Aug 2006 22:07:04 +0100, Phil Thompson

<ph**@riverbankcomputing.co.ukwrote:
PyQt4 has QTableWidget...

Thx for the two pointers. Are those widgets more than just tables, ie.
can I edit the contents, including displaying a combo box, can items
be grouped or hierarchized, or are they just basic, read-only tables
to display results?

I need this kind of widget to build a 2+ column interface to let users
type entries into the application as an alternative to MS Access-style
complicated entry masks.
Yes you can edit cells. QTableWidget implements it's own data model.
QTableView does the same but you supply the model - either a standard one or
one you have written. A standard one is QSqlDataModel so creating a table
that allows you to maintain the contents of an SQL table is about a dozen
lines of Python.

Phil
Aug 4 '06 #6
On 2006-08-04, Vincent Delporte <ju*****@acme.comwrote:
Thx for the two pointers. Are those widgets more than just tables, ie.
can I edit the contents, including displaying a combo box, can items
be grouped or hierarchized, or are they just basic, read-only tables
to display results?
You can display combo boxes in cells in pygtk, as well as edit cells.

But both pyqt and wxpython also offer that. Try running the demos for each.

Dave Cook

Aug 4 '06 #7
jean-michel bain-cornu wrote:
Hi,
>Thx for the two pointers. Are those widgets more than just tables, ie.
can I edit the contents, including displaying a combo box, can items
be grouped or hierarchized, or are they just basic, read-only tables
to display results?

I need this kind of widget to build a 2+ column interface to let users
type entries into the application as an alternative to MS Access-style
complicated entry masks.

Wx have got an excellent one. I was succesful to use it with editable
cells and to include a choice in a cell. However, it was pretty hard to
reach that, ie to extract a working sample from the demo. Once done
that, no more problems with it.
What I suggest you is to have a look on the demo, in the chapter "Core
Windows/Controls -Grid -wx.Grid showing Editors and Renderers".
Rgds,
jm
Yes, I can also select which cell can be edited on the cell level.
Aug 4 '06 #8
On Fri, 04 Aug 2006 10:58:42 GMT, Dave Cook <da******@nowhere.net>
wrote:
>But both pyqt and wxpython also offer that. Try running the demos for each.
Thx everyone!
Aug 4 '06 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Srinath Avadhanula | last post by:
Hello, Sorry to be bringing up what seems to be a somewhat beaten up topic... This is what I wanted to do: Create a _simple_ text editor widget which supports VI(M) style keybindings but...
53
by: Paul Rubin | last post by:
I've been approached about writing a Windows app which will need a really professional looking GUI. Forget TKinter, this has to actually look good (real artists will be available to get the visual...
3
by: Peter Moscatt | last post by:
Does TKinter have a Grid widget ? If not (as I assume), what is the alternative ? Pete
6
by: Richard Lewis | last post by:
Hi there, I've got a tree control in Tkinter (using the ESRF Tree module) but I can't get it to layout how I want it. I'd like to have it so that it streches north/south (anchored to the top...
0
by: Zorba.GR | last post by:
IBM DB2 Connect Enterprise Edition v8.2, other IBM DB2 (32 bit, 64 bit) (MULTiOS, Windows, Linux, Solaris), IBM iSoft Commerce Suite Server Enterprise v3.2.01, IBM Tivoli Storage Resource Manager...
161
by: Dan Lenski | last post by:
Hi all, I'm a recent, belated convert from Perl. I work in a physics lab and have been using Python to automate a lot of measurement equipment lately. It works fabulously for this purpose. ...
4
by: peter | last post by:
I've come across a weird difference between the behaviour of the Tkinter checkbox in Windows and Linux. The issue became apparent in some code I wrote to display an image in a fixed size canvas...
15
by: Grant Edwards | last post by:
I'm looking for GUI toolkits that work with directly with the Linux frambuffer (no X11). It's an embedded device with limited resources, and getting X out of the picture would be a big plus. ...
15
by: Gilles Ganault | last post by:
Hello Since Python is such a productive language, I'd really like to be able to use it to write GUI apps for Windows, but business apps require rich widgets like (DB)grids, calendars, etc. ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.