[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] Configuration dialog
From: Roberto Alsina <ralsina () kde ! org>
Date: 2009-03-05 10:20:24
Message-ID: 200903050820.24562.ralsina () kde ! org
[Download RAW message or body]
On Thursday 05 March 2009 07:24:31 Frédéric wrote:
> Hello,
>
> I'm pretty sure I have seen a configuration dialog, like the one
> Designer uses for the property editor... I can't remember if it was a
> standard Qt widget, an example, a tutorial or a external documentation,
> or even in a book, but I can't find it again :o(
>
> If someone see what I'm talking about...
I have written a "generic configuration dialog" that takes a description of
the options and creates a dialog to configure them for one of my apps.
This is a screenshot:
http://www.flickr.com/photos/ralsina/2740390482/
Here is an explanation, slightly outdated, see the code below):
http://lateral.netmanagers.com.ar/weblog/2008/08/06.html#BB728
Here you can see how the options are defined:
http://code.google.com/p/urssus/source/browse/trunk/urssus/config.py
And here is the UI code for it (class ConfigDialog):
http://code.google.com/p/urssus/source/browse/trunk/urssus/urssus.py
And that uses this .ui file:
http://code.google.com/p/urssus/source/browse/trunk/urssus/ui/configdialog.ui
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic