wxwindows experiments

Pablo d'Angelo pablo.dangelo at web.de
Mon May 19 15:55:35 BST 2003


Hallo Kai-Uwe,

Kai-Uwe Behrmann schrieb am Montag, den 19. Mai 2003:

> Am 18.05.03, 18:52 +0200 schrieb Pablo d'Angelo:
> 
> > I found that the wxwindows interface not as comfortable to use,
> > especially the sizers still do not work like I wanted them to.
> 
> Yes it is not comfortable. The real advantage is the licence and the
> portability. 

> It is exciting to develop so easy cross platform with
> wxWindows, contrary I see many trouble about this on an other project.

actually it is even easier with QT (except that you pay for the current
version on win and mac). it even comes with a build tool that can create
makefiles/project files for different ide's etc. [me stopping talking
about QT now ;) ]

> At the moment (wx)PTOpenGui code is mostly clean splitted into function
> and ui code. Loading from xml resources files would be great. Even at the
> moment I dont know.

I haven't tried it yet. But it seems to be useable in C++ as well. At
least they had some examples in the manual. Often it gets more
complicated when custom widgets (Controls), like my CPImageCtrl
are used. I'm also not sure how the control that have been loaded
from a XRC file can be accessed. I have to look at it. More complicated
dialogs will need a way to change childen controls (update when the
model has changed, change the layout (control point selection images
could be separated horizontally or vertically)

Since the wxWindows command events get propagated up the containment
hierachy, it is probably a good idea to make a separate frame for
each main tab window, and add the Control widgets to it.

> With wxPhyton this would be no problem, but it speakes
> against mac/win users - they would need to install an pyhton interpreter,
> even for the gui.
> I will search for an xml capable wx-gui builder. -Is XRC an gui?-

XRC is just the technology to load & create the widgets according
to an xml file. these files can be generated by some tools.

see also:
http://www.wxwindows.org/manuals/2.4.0/wx478.htm#xrcoverview

tools to create XRC files:
http://xrced.sourceforge.net/
http://wxworkshop.sourceforge.net/

xrced is a simple tool that allows one to specify the widget tree.
while wxworkshop seems to be a full blown ide.
wxDesigner is commercial software.

> > What is your timeframe with ptopengui? I have some pics sitting on
> > my hd that I want to stitch :)
> 
> I hope not to stay too long with this. Other project want as well.

I'm just curious, what other project are you working on.

ciao
  Pablo
--
http://wurm.wohnheim.uni-ulm.de/~redman/
Please use PGP


More information about the ptX mailing list