On Fri, Jun 26, 2009 at 6:54 PM,
derwisch<[email protected]> wrote:
> As I am finally gyrating towards Qt, I feel I have to overcome initial
> difficulties. Especially i would like to have some Qt replacement for
> EditAttributes. What would be a good place to start in order to learn
> about the implementation of canvases, dialog boxes, buttons etc. in
> PyQt under Leo conventions?
"Normal" PyQt resources, I think. If you have complex dialog box to do
(or a complex widget you want to appear in tab widget), a fruitful
route might be learning the ui designer and doing the ui in that.
An example of this happenning is in
Plugins-->Windows-->@thin quicksearch.py-->class LeoQuickSearchWidget-->methods
If you send a screenshot of EditAttributes, I can slap together a
"starting point" for you in qt designer.
You can download sample code for ("Rapid GUI Programming with Python
and Qt") from the end of this page:
http://www.qtrac.eu/pyqtbook.html
(this might also be of interest to others - they actually made
available python3 versions of the samples as well).
--
Ville M. Vainio
http://tinyurl.com/vainio
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---