473,406 Members | 2,220 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,406 software developers and data experts.

PyQT, automatically creating GUI for configuration options

Hi,
I'm making a small PyQT app, and it will also have a config file (any type
is ok) for several options.

I would also like to add a gui for changing the config options but I don't
want to make design the GUI. I'd be satisfied if the GUI is automatically
generated from the config file (or config file specification).

Is there some sollution for this?
--
дамјан

Intel: where Quality is job number 0.9998782345!
Jul 18 '05 #1
2 2009
Дамјан Георгиевски wrote:
Hi,
I'm making a small PyQT app, and it will also have a config file (any type
is ok) for several options.

I would also like to add a gui for changing the config options but I don't
want to make design the GUI. I'd be satisfied if the GUI is automatically
generated from the config file (or config file specification).

Is there some sollution for this?


Shtoom (shtoom.divmod.org) has code that does exactly this, for Qt and
Tk so far - I hope to have a Gtk version in the not-too-distant future.
It also uses the same code to handle ConfigParser .ini files and command
line arguments.
--
Anthony Baxter <an*****@interlink.com.au>
It's never too late to have a happy childhood.

Jul 18 '05 #2
Anthony Baxter wrote:
Дамјан Георгиевски wrote:
Hi,
I'm making a small PyQT app, and it will also have a config file (any
type
is ok) for several options.

I would also like to add a gui for changing the config options but I
don't
want to make design the GUI. I'd be satisfied if the GUI is automatically
generated from the config file (or config file specification).

Is there some sollution for this?

Shtoom (shtoom.divmod.org) has code that does exactly this, for Qt and
Tk so far - I hope to have a Gtk version in the not-too-distant future.
It also uses the same code to handle ConfigParser .ini files and command
line arguments.

Any hope for a wxPython version of Shtoom?

David
Jul 18 '05 #3

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

Similar topics

35
by: Vamsi Mudrageda | last post by:
I am kind of new to Python, and after trying and using wxPython, I found it kind of lacking in easy-to-read documentation, speed at loading, and GUI response-time. So I am looking for an another...
2
by: Axel Mittendorf | last post by:
Hello, in my application I want to subclass qt.QApplication and use this subclass instead of QApplication for my gui. Some of my modules are automatically generated by pyuic and I am not allowed...
4
by: Adrian Casey | last post by:
I'm using a QTimer object to expire certain password protected GUI options in my application after 2 minutes. Currently, the timer is reset each time the user presses the 'OK' button. This is not...
10
by: Michael McGarry | last post by:
Hi, I'm trying to get PyQt up and running under Mac OS X 10.2.8, but can't get past configuring sip. I installed fink's qt3-3.2.3-2 and restarted my shells to get qt3's environment variables...
2
by: David Elliott | last post by:
I am creating a configuration class to read / write a standard configuration file. <?xml version="1.0" encoding="utf-8"?> <configuration> <appSettings> <add key="ConnectionString"...
7
by: adrian_p_smith | last post by:
Hi there. I've been trying to get PyQT working on W2K, but have not yet found a sufficiently detailed walk-through for my somewhat command-line-challenged sensibilities. I did find this page:...
3
by: Kim | last post by:
Im making a config file to a C# program in XML. I have save and load functions, but these require a base XML file with its structure to exsist (Im new to XML, so this was the way I it to work)....
6
by: king kikapu | last post by:
Hi, this is actually goes to whoever is using Eclipse and Eric4, the IDE that comes bundled with PyQt. I was using Eclipse until i saw Eric4 and i started experiment with it, very nice work. ...
0
by: pierreroth64 | last post by:
Hi, New with python, I've developped a small cmd line script parsing opts and args with an OptionParser: in myApp.py: ....blablabla... parser.add_option(...) parser.add_option(...)
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.