[wxPython-users] OT - Python/Databases/wxPython - Thanks :-D

Danny Shevitz shevitz at lanl.gov
Fri Mar 2 08:30:33 PST 2007


very cool. Thanks for describing that to me. Of all of it, the coolest part 
is probably the
LabelBook. I didn't know such a thing existed. Are the tabs on the right 
used to switch
pages, or is it the pushpin? I can't tell from the screenshots. I also 
don't see it in any demo.
Where is LabelBook defined, available...

thanks,
Danny


At 03:40 PM 3/2/2007 +0000, you wrote:
>Hi Danny,
>
>On 3/2/07, Danny Shevitz wrote:
>>wow, the gui is phenomenal for one day. It would take me a lot longer than
>>that...
>
>Thank you :-D . Actually, building GUIs it's my favourite job: the
>boring part is to set up the "model" (in the MVC/MVP world), as my
>mastering of Python is far from being good.
>
>>Can you briefly describe the widget architecture?
>
>Yes:
>
>1) The GUI itself is managed by wxAUI (as all of my applications are).
>2) The top menu is a FlatMenu, a widget I converted to Python using
>the original wxWidgets implementation (written by Eran Ifrah).
>FlatMenu is a far more good-looking menu with respect to
>wx.Menu/wx.MenuBar in my opinion. It may not look native on
>Unix/Linux/Mac, but I don't really care as I develop only on Windows.
>3) The left tree is a CustomTreeCtrl (from wx.lib.customtreectrl),
>which holds all the projects/input file *names* stored in the
>database.
>4) The bottom pane is a wx.Grid with custom renderer in the first cell
>(which displays a picture of one of us, reservoir engineers, once we
>insert one or more comments), but it's nothing really fancy;
>5) The center pane is a wx.aui.AuiNotebook: every page of the notebook
>contains a LabelBook (another notebook-like custom widget). The
>LabelBook holds a series of ListCtrls in the first page (used to
>display information about the input files and results obtained) and a
>StyledTextCtrl in the second page. The StyledTextCtrl simply displays
>the input file for our simulator, that can (eventually) be edited,
>saved and so on.
>
>I think that's all... it's still not finished, but I feel I am almost there...
>
>Thank you for your comments.
>
>Andrea.
>
>"Imagination Is The Only Weapon In The War Against Reality."
>http://xoomer.virgilio.it/infinity77/
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: wxPython-users-unsubscribe at lists.wxwidgets.org
>For additional commands, e-mail: wxPython-users-help at lists.wxwidgets.org





More information about the wxpython-users mailing list