Stefan | 11 Apr 2007 15:26
Picon
Picon

wxAUI & wxPropertyGrid

Hi There,
i have two Questions:

1. What's with support for wxAUI in BoaConstructor? Is there a way to  
handle this?

2. How can i customize Boa to use the wxPropertyGrid which is not inlcuded  
in wxPyton by default?

Thank you very much in advance,

Stefan

--

-- 
Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Werner F. Bruhin | 11 Apr 2007 18:17
Picon
Favicon

Re: wxAUI & wxPropertyGrid

Hi Stefan,

Stefan wrote:
> Hi There,
> i have two Questions:
> 
> 1. What's with support for wxAUI in BoaConstructor? Is there a way to  
> handle this?
Don't know, but it would be nice.

See also point 2 answer.
> 
> 2. How can i customize Boa to use the wxPropertyGrid which is not inlcuded  
> in wxPyton by default?
Have a look at the attached or at UserCompanions.plug-in.py and at all 
the files in companions folder.

Then try to create a plug-in file for wxPropertyGrid and/or wxAUI.

If you get it working there is a big chance that Riaan will include it 
in Boa.

Werner
import wx

import Plugins
from Utils import _

(Continue reading)

Edgard Costa | 18 Apr 2007 13:40
Picon
Gravatar

Problems Boa-Constructor StatictTxt Redimension

Friends Boa_Constructor

A problem was happening with my designer frame.
When I open a new frame and put into then a static.txt and close it and 
reopen, the static.txt takes all the frame.
Even I redesigner it, the dimension cames back again. This is happing in 
the boa-constructor running in Linux, Fedora or Ubuntu.
Another thing. When I cut and paste anything in the frame, i can't 
redimesion the new thing. It is a bug???
How could I fixed it??

--

-- 
Edgard Alves Costa

mailto:edgardalvescosta@...

linuxuser:443056
tel com: 15 36150297
tel cel: 15 91085205

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
Werner F. Bruhin | 18 Apr 2007 16:47
Picon
Favicon

Re: Problems Boa-Constructor StatictTxt Redimension

Hi Edgard,

Edgard Costa wrote:
> Friends Boa_Constructor
> 
> A problem was happening with my designer frame.
> When I open a new frame and put into then a static.txt and close it and 
> reopen, the static.txt takes all the frame.
That is standard wxPython behaviour.

Please also note if you want to ensure that your app looks nicely on 
windows you should first add a wx.Panel and then put your controls onto 
the panel.
> Even I redesigner it, the dimension cames back again. This is happing in 
> the boa-constructor running in Linux, Fedora or Ubuntu.
> Another thing. When I cut and paste anything in the frame, i can't 
> redimesion the new thing. It is a bug???
Not sure about that one.  I seem to recall that there was some issue on 
Linux, but I am not sure.

Are you using fixed sizes or are you using sizers?  If you use fixed 
sizes I would suggest to use sizers, they are a bit more difficult to 
learn but they are worth it.

Werner

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
(Continue reading)

ianaré sévi | 18 Apr 2007 21:00
Picon

absolute sizes

Boa is great, and the new version does fix some things that were
incredibly irritating (like not recognizing # -*- coding: utf-8 -*-
).

However my biggest problem is the forced use of fixed sizes for
widgets. I develop for, and in, a multiplatform environment (ubuntu,
2000, XP). This makes wxPython perfect. However, since boa can't
handle wx.Size(-1, -1) or wx.DefaultSize, I'm eternally stuck
designing the app in windows (my primary workstation is ubuntu) and
then editing them with gedit to remove all the size values, but then
of course it won't work with boa anymore. BTW, I remove them because
if I use (-1,-1) and I open it up in boa, it gets set to whatever size
it likes for that platform.

Looking through the boa sources (0.5.2), all I see are absolute sizes.
In my view, this is a fundamental design flaw for an application that
is (supposedly) cross platform. I say "supposedly" because if you use
boa under GTK you have to agree the experience is far below the level
of usability of the windows version.

Are you planning on addressing this in the next release? Would you
accept patches regarding this issue?

--

-- 
- ianaré sévi
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
(Continue reading)

Werner F. Bruhin | 19 Apr 2007 11:40
Picon
Favicon

Re: absolute sizes

Hi,

ianaré sévi wrote:
> Boa is great, and the new version does fix some things that were
> incredibly irritating (like not recognizing # -*- coding: utf-8 -*-
> ).
> 
> However my biggest problem is the forced use of fixed sizes for
> widgets. I develop for, and in, a multiplatform environment (ubuntu,
> 2000, XP). This makes wxPython perfect. However, since boa can't
> handle wx.Size(-1, -1) or wx.DefaultSize, I'm eternally stuck
> designing the app in windows (my primary workstation is ubuntu) and
> then editing them with gedit to remove all the size values, but then
> of course it won't work with boa anymore. BTW, I remove them because
> if I use (-1,-1) and I open it up in boa, it gets set to whatever size
> it likes for that platform.
My workaround for this is a little utility function:

def FixDefaultSize(window):
     if isinstance(window, wx.lib.masked.numctrl.NumCtrl) or\
        isinstance(window, wx.lib.masked.textctrl.TextCtrl) or\
        isinstance(window, wx.lib.masked.combobox.ComboBox):
##        window.SetMinSize(wx.DefaultSize)
         return
     window.SetMinSize(wx.DefaultSize)
     for child in window.GetChildren():
         FixDefaultSize(child)
     window.Layout()
     window.Refresh()

(Continue reading)

Edgard Costa | 19 Apr 2007 18:06
Picon
Gravatar

A visual interface to write reports with reportlab

Friends Boa-Constructor

Exist some gui, a visual interface, like boa to configure a report using 
the reportlab scripts

-- 
Edgard Alves Costa

mailto:edgardalvescosta@...

linuxuser:443056
tel com: 15 36150297
tel cel: 15 91085205

Attachment (smime.p7s): application/x-pkcs7-signature, 3276 bytes
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boa-constructor-users mailing list
Boa-constructor-users@...
https://lists.sourceforge.net/lists/listinfo/boa-constructor-users
Werner F. Bruhin | 19 Apr 2007 18:42
Picon
Favicon

Re: A visual interface to write reports with reportlab

Hi Edgard,

Edgard Costa wrote:
> Friends Boa-Constructor
> 
> Exist some gui, a visual interface, like boa to configure a report using 
> the reportlab scripts
Not that I know of, but are you aware of ReportManager?  I use it, it 
has a nice GUI, is pretty powerful, comes with lots of db connections 
options and there is a Python wrapper to run reports from you wxPython 
application.

http://reportman.sourceforge.net/
http://reportman.sourceforge.net/doc/index.html
http://tech.groups.yahoo.com/group/reportman/files/

Werner
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> 
> 
> ------------------------------------------------------------------------
> 
(Continue reading)

Tony | 21 Apr 2007 00:04

Re: A visual interface to write reports with reportlab

It looks like there has been no activity in that project for what, 5 years 
now?

>
> Message: 7
> Date: Thu, 19 Apr 2007 18:42:21 +0200
> From: "Werner F. Bruhin" <werner.bruhin@...>
> Subject: Re: [Boa Constr] A visual interface to write reports with
>         reportlab
> To: boa-constructor-users@...
> Message-ID: <f0867m$fo2$1 <at> sea.gmane.org>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi Edgard,
>
> Edgard Costa wrote:
> > Friends Boa-Constructor
> >
> > Exist some gui, a visual interface, like boa to configure a report using
> > the reportlab scripts
>
> Not that I know of, but are you aware of ReportManager?  I use it, it
> has a nice GUI, is pretty powerful, comes with lots of db connections
> options and there is a Python wrapper to run reports from you wxPython
> application.
>
> http://reportman.sourceforge.net/
> http://reportman.sourceforge.net/doc/index.html
> http://tech.groups.yahoo.com/group/reportman/files/
>
(Continue reading)

Werner F. Bruhin | 21 Apr 2007 09:50
Picon
Favicon

Re: A visual interface to write reports with reportlab

Tony wrote:
> It looks like there has been no activity in that project for what, 5 years 
> now?
For a moment you got me going, I wondered why Toni (author of RepMan) 
would think there has been no activity:)

http://sourceforge.net/project/stats/?group_id=51737&ugn=reportman

I never look at the sourceforge project home page as it seems that dates 
on there do not get updated.

Check the above link or check the download section, but even here you 
have to watch out, e.g. RepMan 2.6 has a 2006-06-04, however some of the 
sub-releases are much more recent.

Werner

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

Gmane