S
S
Sergey Aganezov2011-08-07 21:08:04
Python
Sergey Aganezov, 2011-08-07 21:08:04

GUI frontend for Python application

Description


There is an application which is written on Python. Language version 2.7.2. SQLite 3 is used as an information storage, and, accordingly, the library built into the language is used to work with this database. It is necessary that the application run under three main platforms: Windows XP and above; Mac OS 10.6 and above; Ubuntu.

Problem


It is necessary to make a GUI for this application (applications - testing program). From working with the GUI, I am only familiar with the Swing framework for Java. More with the GUI did not work at all. Which way to look, what is best to use. Of course, I would like it to be native on platforms, but for some reason it seems to me that this will be unrealistic. In the end, at the beginning you can roll out a version where the interface will be cross-platform, and then cut the native GUI for each platform.

Answer the question

In order to leave comments, you need to log in

6 answer(s)
D
danfe, 2011-08-07
@danfe

I would recommend PyQt4 or PySide ( difference between the two ). Everything will be native (for Unix/Windows for sure, anyway).

M
MagNet, 2011-08-08
@MagNet

In general, now we can consider 3 options (Tkinter, wxWidgets, PyQt).
Tkinter is better to use for a simple GUI, the appearance of the application will not be native for all platforms (in particular, under Win)
PyQt is good documentation, native appearance for all platforms, but there is a minus, if you develop an application not under the GPL license, you will have to buy a commercial license version (and it costs about 16 tr.)
wxWidgets - I think the best option, native view for all platforms, LGPL license, normal documentation with examples (I advise you to look at wxDemo, examples of using widgets).
But the interface will have to be written manually, there is a normal GUI builder only under PyQt, under wxWidgets and Tkinter they are not.

V
Vlad Zhivotnev, 2011-08-07
@inkvizitor68sl

The easiest way is to use the Boa Constructor (WxWidgets, respectively). But it looks terrible.

C
coxx, 2011-08-08
@coxx

In fact, the choice is not great: Qt or wxWidgets. I would choose Qt - documentation is better.
But I would not mess with Tk for a more or less serious program - the toolkit is obsolete.

S
sergeypid, 2011-08-26
@sergeypid

There is a super simple cover for wxPython - pythoncard.sourceforge.net/
Simple interfaces are very easy to make, but there are not enough stars from the sky.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question