boa-constructor-users Mailing List for Boa Constructor - wxPython GUI Builder (Page 30)
Status: Beta
Brought to you by:
riaan
You can subscribe to this list here.
2000 |
Jan
|
Feb
(1) |
Mar
(18) |
Apr
(4) |
May
(17) |
Jun
(14) |
Jul
(18) |
Aug
(3) |
Sep
(30) |
Oct
(16) |
Nov
(11) |
Dec
(9) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(19) |
Feb
(10) |
Mar
(4) |
Apr
(6) |
May
(27) |
Jun
(37) |
Jul
(44) |
Aug
(44) |
Sep
(49) |
Oct
(4) |
Nov
(6) |
Dec
(12) |
2002 |
Jan
(27) |
Feb
(22) |
Mar
(48) |
Apr
(21) |
May
(20) |
Jun
(6) |
Jul
(33) |
Aug
(34) |
Sep
(9) |
Oct
(41) |
Nov
(14) |
Dec
(35) |
2003 |
Jan
(75) |
Feb
(75) |
Mar
(59) |
Apr
(22) |
May
(18) |
Jun
(36) |
Jul
(50) |
Aug
(106) |
Sep
(71) |
Oct
(63) |
Nov
(81) |
Dec
(58) |
2004 |
Jan
(48) |
Feb
(42) |
Mar
(57) |
Apr
(64) |
May
(81) |
Jun
(30) |
Jul
(15) |
Aug
(39) |
Sep
(56) |
Oct
(61) |
Nov
(27) |
Dec
(20) |
2005 |
Jan
(74) |
Feb
(62) |
Mar
(237) |
Apr
(83) |
May
(138) |
Jun
(132) |
Jul
(61) |
Aug
(51) |
Sep
(17) |
Oct
(22) |
Nov
(59) |
Dec
(32) |
2006 |
Jan
(7) |
Feb
(7) |
Mar
(24) |
Apr
(15) |
May
(19) |
Jun
(46) |
Jul
(26) |
Aug
(51) |
Sep
(35) |
Oct
(90) |
Nov
(27) |
Dec
(23) |
2007 |
Jan
(22) |
Feb
(17) |
Mar
(14) |
Apr
(28) |
May
(38) |
Jun
(44) |
Jul
(34) |
Aug
(40) |
Sep
(29) |
Oct
(44) |
Nov
(16) |
Dec
(15) |
2008 |
Jan
(12) |
Feb
(37) |
Mar
(48) |
Apr
(35) |
May
(37) |
Jun
(32) |
Jul
(30) |
Aug
(28) |
Sep
(33) |
Oct
(19) |
Nov
(44) |
Dec
(45) |
2009 |
Jan
(30) |
Feb
(16) |
Mar
(48) |
Apr
(56) |
May
(100) |
Jun
(4) |
Jul
(1) |
Aug
|
Sep
|
Oct
(7) |
Nov
|
Dec
(3) |
2010 |
Jan
(8) |
Feb
(3) |
Mar
(4) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(6) |
Nov
(22) |
Dec
|
2011 |
Jan
|
Feb
(4) |
Mar
|
Apr
|
May
(1) |
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(2) |
Dec
(1) |
2012 |
Jan
|
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2013 |
Jan
(5) |
Feb
(1) |
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Duane K. <dka...@im...> - 2006-11-03 15:28:48
|
Hi All, Does anyone know how/if Boa can remember the on-screen position of windows when closed, for use when starting again? I have looked through the documentation, but might have missed this. Thanks, Duane NOTICE: These communications may contain privileged or other = confidential information for the sole use of the designated recipients. = If you have received it in error, please advise the sender by reply = email and immediately delete the message and any attachments without = reviewing, copying or disclosing the contents. |
From: Riaan B. <riaan@e.co.za> - 2006-11-03 11:51:25
|
Hi Olivier, Sorry I didn't pick this up, I never use wx.StaticBoxSizer. Ok, I've tracked down the problem, but don't know how to fix it yet. The issue is that while working with sizers in the Designer, Boa recreates all the sizers often, but the behaviour of StaticBoxSizers seems to have changed between 2.6 and 2.7. Under 2.6 when a StaticBoxSizer is deleted, it left the StaticBox alone, but under 2.7 when the sizer is deleted, it also deletes the StaticBox, which is very nasty. I'll be looking at how to handle this, but I'm not very optimistic :( Cheers, Riaan. Olivier Thiery wrote: > Hi, > > I'm sorry I have another bug with StaticBoxes and StaticBoxSizers. > > When I try to edit the attached source in the designer I first get an > error about the StaticBitmap relative path (scrsht_1.png). This is not > my point here, and anyway this has never been a real problem to me. > > The interesting part begins when I try to drop a StaticBox to my Dialog. > Once I release the mouse button, I get an error (log.txt). > > The only thing I can do then is to drop a StaticBoxSizer, but then I get > PyDeadObject errors each time I try to click on the dialog. > > In the end I can only cancel the design session. > > I hope this will fix the new sizers features. > > Olivier > > > ------------------------------------------------------------------------ > > #Boa:Dialog:TransfertLotDialog > > import wx > import wx.lib.buttons > import data.CustomTreeCtrl as ctc > from data.CustomTreeCtrl import CustomTreeCtrl > > def create(parent): > return TransfertLotDialog(parent) > > [wxID_TRANSFERTLOTDIALOG, wxID_TRANSFERTLOTDIALOGGENBTNEWLOT, > wxID_TRANSFERTLOTDIALOGSTBXNOUVEAULOT, wxID_TRANSFERTLOTDIALOGTREELOTS, > wxID_TRANSFERTLOTDIALOGTXTNOMLOT, > ] = [wx.NewId() for _init_ctrls in range(5)] > > class TransfertLotDialog(wx.Dialog): > _custom_classes = {'wx.TreeCtrl':['CustomTreeCtrl']} > def _init_coll_Main_Items(self, parent): > # generated method, don't edit > > parent.AddWindow(self.treeLots, 1, border=5, flag=wx.ALL | wx.EXPAND) > parent.AddSizer(self.sb_lot, 0, border=5, flag=wx.ALL | wx.EXPAND) > > def _init_coll_sb_lot_Items(self, parent): > # generated method, don't edit > > parent.AddWindow(self.txtNomLot, 1, border=0, flag=0) > parent.AddWindow(self.genBtNewLot, 0, border=5, > flag=wx.ALIGN_CENTER_VERTICAL | wx.LEFT) > > def _init_sizers(self): > # generated method, don't edit > self.Main = wx.BoxSizer(orient=wx.VERTICAL) > > self.sb_lot = wx.StaticBoxSizer(box=self.stbxNouveauLot, > orient=wx.HORIZONTAL) > > self._init_coll_Main_Items(self.Main) > self._init_coll_sb_lot_Items(self.sb_lot) > > self.SetSizer(self.Main) > > def _init_ctrls(self, prnt): > # generated method, don't edit > wx.Dialog.__init__(self, id=wxID_TRANSFERTLOTDIALOG, > name=u'TransfertLotDialog', parent=prnt, pos=wx.Point(587, 355), > size=wx.Size(318, 368), style=wx.DEFAULT_DIALOG_STYLE, > title=u'Transfert de PMC') > self.SetClientSize(wx.Size(310, 334)) > > self.treeLots = wx.TreeCtrl(id=wxID_TRANSFERTLOTDIALOGTREELOTS, > name=u'treeLots', parent=self, pos=wx.Point(5, 5), > size=wx.Size(300, 271)) > > self.stbxNouveauLot = wx.StaticBox(id=wxID_TRANSFERTLOTDIALOGSTBXNOUVEAULOT, > label=u'Nouveau Lot', name=u'stbxNouveauLot', parent=self, > pos=wx.Point(5, 286), size=wx.Size(300, 43), style=0) > > self.txtNomLot = wx.TextCtrl(id=wxID_TRANSFERTLOTDIALOGTXTNOMLOT, > name=u'txtNomLot', parent=self, pos=wx.Point(10, 303), > size=wx.Size(262, 21), style=0, value=u'') > > self.genBtNewLot = wx.lib.buttons.GenBitmapButton(id=wxID_TRANSFERTLOTDIALOGGENBTNEWLOT, > bitmap=wx.Bitmap(u'img/16/edit_add.png', > wx.BITMAP_TYPE_PNG), name=u'genBtNewLot', parent=self, > pos=wx.Point(277, 305), size=wx.Size(23, 16), style=0) > self.genBtNewLot.Bind(wx.EVT_BUTTON, self.OnGenBtNewLotButton, > id=wxID_TRANSFERTLOTDIALOGGENBTNEWLOT) > > self._init_sizers() > > def __init__(self, parent): > #, ctstyle=ctc.TR_AUTO_CHECK_CHILD | ctc.TR_HIDE_ROOT | ctc.TR_HAS_BUTTONS > self._init_ctrls(parent) > self.init_data() > > def init_data(self): > ds = wxData.getDataSet(wxData.getQuery('pmc.commission', 'pmc.select.lots')) > ds.setParam('id_modalite',self.id) > ds.read() > cur_ref_id = None > cur_root = None > root = self.treeKeys.AddRoot('Lots disponibles') > while ds.hasMore(): > r = ds.nextRow() > if r['id_referentiel'] != cur_ref_id: > if cur_root != None: > self.treeKeys.Expand(cur_root) > cur_ref_id = r['id_referentiel'] > cur_root = self.treeKeys.AppendItem(root, r['libelle_referentiel'], 1, image=0) > self.__roots.append(cur_root) > self.treeKeys.SetItemImage(cur_root, 1, wx.TreeItemIcon_Expanded) > item = self.treeKeys.AppendItem(cur_root, r['libelle_modalite'], 1, image=2) > self.data[item] = r['id_modalite_referentiel'] > if cur_root != None: > self.treeKeys.Expand(cur_root) > > def OnGenBtNewLotButton(self, event): > event.Skip() > > > ------------------------------------------------------------------------ > > > ------------------------------------------------------------------------ > > 11:03:44: wx._core.PyDeadObjectError: The C++ part of the StaticBox object has been deleted, attribute access no longer allowed.Traceback (most recent call last): > 11:03:44: wx._core.PyDeadObjectError: The C++ part of the StaticBox object has been deleted, attribute access no longer allowed. File "C:\Python24\Lib\site-packages\boa-constructor\Views\Designer.py", line 1585, in OnControlSelect > 11:03:44: dsgn.selectControlByPos(ctrl, pos, event.ShiftDown()) > 11:03:44: File "C:\Python24\Lib\site-packages\boa-constructor\Views\Designer.py", line 1002, in selectControlByPos > 11:03:44: ci = collEditView.companion.appendItem( > 11:03:44: File "C:\Python24\Lib\site-packages\boa-constructor\Companions\SizerCompanions.py", line 194, in appendItem > 11:03:44: self.recreateSizers() > 11:03:44: File "C:\Python24\Lib\site-packages\boa-constructor\Companions\SizerCompanions.py", line 323, in recreateSizers > 11:03:44: self.designer.recreateSizers() > 11:03:44: File "C:\Python24\Lib\site-packages\boa-constructor\Views\SizersView.py", line 71, in recreateSizers > 11:03:44: self.objects[sizerName][0].recreateSizer() > 11:03:44: File "C:\Python24\Lib\site-packages\boa-constructor\Companions\SizerCompanions.py", line 87, in recreateSizer > 11:03:44: self.control = self.designTimeObject(args) > 11:03:44: File "C:\Python24\Lib\site-packages\boa-constructor\Companions\SizerCompanions.py", line 507, in designTimeObject > 11:03:44: self.control = self.objClass(**args) > 11:03:44: File "C:\Python24\lib\site-packages\wx-2.7.1-msw-unicode\wx\_core.py", line 12245, in __init__ > 11:03:44: _core_.StaticBoxSizer_swiginit(self,_core_.new_StaticBoxSizer(*args, **kwargs)) > 11:03:44: TypeError: in method 'new_StaticBoxSizer', expected argument 1 of type 'wxStaticBox *' > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > ------------------------------------------------------------------------ > > _______________________________________________ > Boa-constructor-users mailing list > Boa...@li... > https://lists.sourceforge.net/lists/listinfo/boa-constructor-users |
From: Riaan B. <riaan@e.co.za> - 2006-11-03 11:51:19
|
Hi Tim, Tim Black wrote: > I've been wondering what the menu option "Code Transformation" does; > could anyone give an explanation for how it works? Thanks! A Code Transformation can generate some code for you depending on the context of where the caret is. Currenly two transformations are supported. If your caret is on a method definition and you do a code transform, the inherited parent call is added. If your caret is on a method call and it's not defined in your class, the method is added at the bottom of the class. Cheers, Riaan. |
From: Olivier T. <oli...@gm...> - 2006-11-03 11:11:38
|
MTE6MDM6NDQ6ICAgICB3eC5fY29yZS5QeURlYWRPYmplY3RFcnJvcjogVGhlIEMrKyBwYXJ0IG9m IHRoZSBTdGF0aWNCb3ggb2JqZWN0IGhhcyBiZWVuIGRlbGV0ZWQsIGF0dHJpYnV0ZSBhY2Nlc3Mg bm8gbG9uZ2VyIGFsbG93ZWQuVHJhY2ViYWNrIChtb3N0IHJlY2VudCBjYWxsIGxhc3QpOg0KMTE6 MDM6NDQ6ICAgICB3eC5fY29yZS5QeURlYWRPYmplY3RFcnJvcjogVGhlIEMrKyBwYXJ0IG9mIHRo ZSBTdGF0aWNCb3ggb2JqZWN0IGhhcyBiZWVuIGRlbGV0ZWQsIGF0dHJpYnV0ZSBhY2Nlc3Mgbm8g bG9uZ2VyIGFsbG93ZWQuICBGaWxlICJDOlxQeXRob24yNFxMaWJcc2l0ZS1wYWNrYWdlc1xib2Et Y29uc3RydWN0b3JcVmlld3NcRGVzaWduZXIucHkiLCBsaW5lIDE1ODUsIGluIE9uQ29udHJvbFNl bGVjdA0KMTE6MDM6NDQ6ICAgICBkc2duLnNlbGVjdENvbnRyb2xCeVBvcyhjdHJsLCBwb3MsIGV2 ZW50LlNoaWZ0RG93bigpKSAgICAgICAgICAgICAgICAgICAgICAgDQoxMTowMzo0NDogICAgICAg RmlsZSAiQzpcUHl0aG9uMjRcTGliXHNpdGUtcGFja2FnZXNcYm9hLWNvbnN0cnVjdG9yXFZpZXdz XERlc2lnbmVyLnB5IiwgbGluZSAxMDAyLCBpbiBzZWxlY3RDb250cm9sQnlQb3MNCjExOjAzOjQ0 OiAgICAgY2kgPSBjb2xsRWRpdFZpZXcuY29tcGFuaW9uLmFwcGVuZEl0ZW0oICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgIA0KMTE6MDM6NDQ6ICAgICAgIEZpbGUgIkM6XFB5dGhv bjI0XExpYlxzaXRlLXBhY2thZ2VzXGJvYS1jb25zdHJ1Y3RvclxDb21wYW5pb25zXFNpemVyQ29t cGFuaW9ucy5weSIsIGxpbmUgMTk0LCBpbiBhcHBlbmRJdGVtDQoxMTowMzo0NDogICAgIHNlbGYu cmVjcmVhdGVTaXplcnMoKSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICANCjExOjAzOjQ0OiAgICAgICBGaWxlICJDOlxQeXRob24yNFxMaWJcc2l0 ZS1wYWNrYWdlc1xib2EtY29uc3RydWN0b3JcQ29tcGFuaW9uc1xTaXplckNvbXBhbmlvbnMucHki LCBsaW5lIDMyMywgaW4gcmVjcmVhdGVTaXplcnMNCjExOjAzOjQ0OiAgICAgc2VsZi5kZXNpZ25l ci5yZWNyZWF0ZVNpemVycygpICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgIA0KMTE6MDM6NDQ6ICAgICAgIEZpbGUgIkM6XFB5dGhvbjI0XExpYlxzaXRlLXBhY2th Z2VzXGJvYS1jb25zdHJ1Y3RvclxWaWV3c1xTaXplcnNWaWV3LnB5IiwgbGluZSA3MSwgaW4gcmVj cmVhdGVTaXplcnMNCjExOjAzOjQ0OiAgICAgc2VsZi5vYmplY3RzW3NpemVyTmFtZV1bMF0ucmVj cmVhdGVTaXplcigpICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIA0KMTE6MDM6NDQ6 ICAgICAgIEZpbGUgIkM6XFB5dGhvbjI0XExpYlxzaXRlLXBhY2thZ2VzXGJvYS1jb25zdHJ1Y3Rv clxDb21wYW5pb25zXFNpemVyQ29tcGFuaW9ucy5weSIsIGxpbmUgODcsIGluIHJlY3JlYXRlU2l6 ZXINCjExOjAzOjQ0OiAgICAgc2VsZi5jb250cm9sID0gc2VsZi5kZXNpZ25UaW1lT2JqZWN0KGFy Z3MpICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIA0KMTE6MDM6NDQ6ICAgICAgIEZp bGUgIkM6XFB5dGhvbjI0XExpYlxzaXRlLXBhY2thZ2VzXGJvYS1jb25zdHJ1Y3RvclxDb21wYW5p b25zXFNpemVyQ29tcGFuaW9ucy5weSIsIGxpbmUgNTA3LCBpbiBkZXNpZ25UaW1lT2JqZWN0DQox MTowMzo0NDogICAgIHNlbGYuY29udHJvbCA9IHNlbGYub2JqQ2xhc3MoKiphcmdzKSAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICANCjExOjAzOjQ0OiAgICAgICBGaWxlICJD OlxQeXRob24yNFxsaWJcc2l0ZS1wYWNrYWdlc1x3eC0yLjcuMS1tc3ctdW5pY29kZVx3eFxfY29y ZS5weSIsIGxpbmUgMTIyNDUsIGluIF9faW5pdF9fDQoxMTowMzo0NDogICAgIF9jb3JlXy5TdGF0 aWNCb3hTaXplcl9zd2lnaW5pdChzZWxmLF9jb3JlXy5uZXdfU3RhdGljQm94U2l6ZXIoKmFyZ3Ms ICoqa3dhcmdzKSkNCjExOjAzOjQ0OiAgICAgVHlwZUVycm9yOiBpbiBtZXRob2QgJ25ld19TdGF0 aWNCb3hTaXplcicsIGV4cGVjdGVkIGFyZ3VtZW50IDEgb2YgdHlwZSAnd3hTdGF0aWNCb3ggKicN Cg== |
From: Olivier T. <oli...@gm...> - 2006-11-03 10:42:34
|
Of course this all happens with wxPython 2.7.1.2 and boa 0.5.2 from cvs (checked yesterday after the last fixes from Riaan). Olivier 2006/11/3, Olivier Thiery <oli...@gm...>: > > Hi, > > I'm sorry I have another bug with StaticBoxes and StaticBoxSizers. > > When I try to edit the attached source in the designer I first get an > error about the StaticBitmap relative path (scrsht_1.png). This is not my > point here, and anyway this has never been a real problem to me. > > The interesting part begins when I try to drop a StaticBox to my Dialog. > Once I release the mouse button, I get an error (log.txt). > > The only thing I can do then is to drop a StaticBoxSizer, but then I get > PyDeadObject errors each time I try to click on the dialog. > > In the end I can only cancel the design session. > > I hope this will fix the new sizers features. > > Olivier > > |
From: Tim B. <ti...@al...> - 2006-10-31 22:53:31
|
I've been wondering what the menu option "Code Transformation" does; could anyone give an explanation for how it works? Thanks! Tim Black |
From: Oleg D. <thi...@td...> - 2006-10-31 17:19:57
|
Hello, Riaan Booysen said the following on 31.10.2006 17:33: > CVS has been updated with various fixes and one new feature, > Code Templates. Tarball here: http://mihd.net/jkh6in -- Oleg |
From: Zsolt G. K. <zso...@4d...> - 2006-10-31 16:34:18
|
Thanks to all, I downloaded and started it! Beh, it looks very serious..:) Zsolt Tim Black wrote: > Zsolt G. Kiss wrote: >> Which is btw the public CVS account from which I can download Boa? > According to http://sourceforge.net/cvs/?group_id=1909, use the > following CVS commands after you've installed CVS on your machine (I > use TortoiseCVS): > > cvs > -d:pserver:ano...@bo...:/cvsroot/boa-constructor > login > > cvs -z3 > -d:pserver:ano...@bo...:/cvsroot/boa-constructor > co -P /modulename > > /Running those commands in a directory gives you a new copy of Boa. > To update your copy of Boa, just run a "cvs update" operation. On my > computer, I've translated that operation into the attached DOS batch > file which I've set up on my system to run as a scheduled task. > > Hope that helps, > > Tim Black > ------------------------------------------------------------------------ > > @ECHO OFF > > cd C:\Python25\Lib\site-packages\boa > c: > echo Updating Boa via CVS... > > "C:\Program Files\TortoiseCVS\cvs.exe" "-q" "update" "-d" "-P" "." > > echo All done! > > pause > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ------------------------------------------------------------------------ > > _______________________________________________ > Boa-constructor-users mailing list > Boa...@li... > https://lists.sourceforge.net/lists/listinfo/boa-constructor-users > |
From: Tim B. <ti...@al...> - 2006-10-31 16:06:59
|
@ECHO OFF cd C:\Python25\Lib\site-packages\boa c: echo Updating Boa via CVS... "C:\Program Files\TortoiseCVS\cvs.exe" "-q" "update" "-d" "-P" "." echo All done! pause |
From: Werner F. B. <wer...@fr...> - 2006-10-31 15:52:00
|
Hi Zsolt, Here are the instructions for getting Boa from CVS. I use TortoiseCVS (www.tortoisecvs.org), which nicely integrates with the Windows explorer (filemanager) - Go to the folder where you want Boa to be, right click without selecting any file/folder. - Select CVS Checkout - Protocol = Password server - Server = boa-constructor.cvs.sourceforge.net - Repository Folder = /cvsroot/boa-constructor - User Name = anonymous - Module = boa See you Werner Zsolt G. Kiss wrote: > > Which is btw the public CVS account from which I can download Boa? > > thanks, > Zsolt > > Werner F. Bruhin wrote: > >>Hi Zsolt, >> >>Zsolt G. Kiss wrote: >> >> >>>Thank you! Unfortunately, now I get "'module' object has no attribute >>>'NotebookSizer'" >>> >>> >>You probably have a version issue, I use the following: >># Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit (Intel)] >># wxPython 2.6.3.3, Boa Constructor 0.5.2 >> >>Boa 0.5.2 is the latest from CVS and works as far as I see with wxPython >>2.6 either on Python 2.4.x or 2.5. >> >>Werner >> >> >> >>>Zsolt >>> >>>Oleg Deribas wrote: >>> >>> >>> >>>>Hello, >>>> >>>>Zsolt G. Kiss said the following on 31.10.2006 12:49: >>>> >>>> >>>> >>>> >>>> >>>>>I work in IT but have not used Python yet. Today I just installed it >>>>>together with the BOAConstructor (and wxPython, of course. On Windows) >>>>>Now: HOW CAN I START this smart IDE? No icon, bin folder, exe file... >>>>>Hundreds of .py and .pyc in the LIB. And NO ONE WORD ABOUT THIS IN THE >>>>>DOCS!!!? >>>>> >>>>> >>>>> >>>>> >>>>I use desktop link to file >>>>C:\Python24\Lib\site-packages\boa-constructor\Boa.pyw >>>>with keyboard shortcut Ctrl-Alt-B ;-) >>>> >>>> >>>> >>>> >>>> >>>------------------------------------------------------------------------ >>> >>>------------------------------------------------------------------------- >>>Using Tomcat but need to do more? Need to support web services, security? >>>Get stuff done quickly with pre-integrated technology to make your job easier >>>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>> >>> >>>------------------------------------------------------------------------ >>> >>>_______________________________________________ >>>Boa-constructor-users mailing list >>>Boa...@li... >>>https://lists.sourceforge.net/lists/listinfo/boa-constructor-users >>> >>> >> >> >>------------------------------------------------------------------------- >>Using Tomcat but need to do more? Need to support web services, security? >>Get stuff done quickly with pre-integrated technology to make your job easier >>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>_______________________________________________ >>Boa-constructor-users mailing list >>Boa...@li... >>https://lists.sourceforge.net/lists/listinfo/boa-constructor-users >> >> > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > ------------------------------------------------------------------------ > > _______________________________________________ > Boa-constructor-users mailing list > Boa...@li... > https://lists.sourceforge.net/lists/listinfo/boa-constructor-users |
From: Werner F. B. <wer...@fr...> - 2006-10-31 15:45:12
|
Hi Mario, Mario Lacunza wrote: > Hi, > > I receipt an "Segmentation fault" in poEdit, when I try to save the > new /Locate/Es/boa.po file. And I couldnt work with the translation. That sounds like a poEdit issue/problem. What version are you using? I still use 1.3.2 but I think something newer came out just recently. Werner > > I install the Ubuntu version.... I was report this bug. > > Anybody could help me with this issue?? > > Thanks! > > Mi configuracion/My config: > > Ubuntu Edgy Eft 6.10 > Linux Kernel 2.6.17-10-386 > Gnome 2.16.1 > Python 2.4.4 > wxPython 2.7.1.3 Unicode > Boa Constructor cvs 0.5.2 > |
From: Riaan B. <riaan@e.co.za> - 2006-10-31 15:44:54
|
Hi Mario, Mario Lacunza wrote: > Hi, > > I receipt an "Segmentation fault" in poEdit, when I try to save the > new /Locate/Es/boa.po file. And I couldnt work with the translation. > > I install the Ubuntu version.... I was report this bug. > > Anybody could help me with this issue?? You could maybe try to set the encoding under: Catalog->Settings->Charset. If this doesn't help, remember that you can edit the boa.po file in any text editor that can open it. To generate the boa.mo file, Python/Tools/i18n/msgfmt.py can be used. Cheers, Riaan. |
From: Zsolt G. K. <zso...@4d...> - 2006-10-31 15:40:14
|
Which is btw the public CVS account from which I can download Boa? thanks, Zsolt Werner F. Bruhin wrote: > Hi Zsolt, > > Zsolt G. Kiss wrote: > >> Thank you! Unfortunately, now I get "'module' object has no attribute >> 'NotebookSizer'" >> > You probably have a version issue, I use the following: > # Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit (Intel)] > # wxPython 2.6.3.3, Boa Constructor 0.5.2 > > Boa 0.5.2 is the latest from CVS and works as far as I see with wxPython > 2.6 either on Python 2.4.x or 2.5. > > Werner > > >> Zsolt >> >> Oleg Deribas wrote: >> >> >>> Hello, >>> >>> Zsolt G. Kiss said the following on 31.10.2006 12:49: >>> >>> >>> >>> >>>> I work in IT but have not used Python yet. Today I just installed it >>>> together with the BOAConstructor (and wxPython, of course. On Windows) >>>> Now: HOW CAN I START this smart IDE? No icon, bin folder, exe file... >>>> Hundreds of .py and .pyc in the LIB. And NO ONE WORD ABOUT THIS IN THE >>>> DOCS!!!? >>>> >>>> >>>> >>> I use desktop link to file >>> C:\Python24\Lib\site-packages\boa-constructor\Boa.pyw >>> with keyboard shortcut Ctrl-Alt-B ;-) >>> >>> >>> >>> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Boa-constructor-users mailing list >> Boa...@li... >> https://lists.sourceforge.net/lists/listinfo/boa-constructor-users >> > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Boa-constructor-users mailing list > Boa...@li... > https://lists.sourceforge.net/lists/listinfo/boa-constructor-users > |
From: Werner F. B. <wer...@fr...> - 2006-10-31 15:38:14
|
Hi Zsolt, Zsolt G. Kiss wrote: > Hi all, > > I have: > Python: 2.5 > wxPython: 2.7.1 > Boa: 0.4.4 > > So maybe I should upgrade Boa? (The SourceForge.net Website is currently > down for maintenance.) You have to use Boa 0.5.2 with wxPython 2.7.x. > That's my luck for today:) You should also get wxPython 2.7.3 and you can get 0.5.2 from here: Uploaded here: http://mihd.net/qw3ekz Oleg put it there on 17.10, so it is a little out of date, but that should get you going until you can get it from CVS. Werner > > cheers, > Zsolt > > Werner F. Bruhin wrote: > >>Hi Zsolt, >> >>Zsolt G. Kiss wrote: >> >> >>>Thank you! Unfortunately, now I get "'module' object has no attribute >>>'NotebookSizer'" >>> >>> >>You probably have a version issue, I use the following: >># Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit (Intel)] >># wxPython 2.6.3.3, Boa Constructor 0.5.2 >> >>Boa 0.5.2 is the latest from CVS and works as far as I see with wxPython >>2.6 either on Python 2.4.x or 2.5. >> >>Werner >> >> >> >>>Zsolt >>> >>>Oleg Deribas wrote: >>> >>> >>> >>>>Hello, >>>> >>>>Zsolt G. Kiss said the following on 31.10.2006 12:49: >>>> >>>> >>>> >>>> >>>> >>>>>I work in IT but have not used Python yet. Today I just installed it >>>>>together with the BOAConstructor (and wxPython, of course. On Windows) >>>>>Now: HOW CAN I START this smart IDE? No icon, bin folder, exe file... >>>>>Hundreds of .py and .pyc in the LIB. And NO ONE WORD ABOUT THIS IN THE >>>>>DOCS!!!? >>>>> >>>>> >>>>> >>>>> >>>>I use desktop link to file >>>>C:\Python24\Lib\site-packages\boa-constructor\Boa.pyw >>>>with keyboard shortcut Ctrl-Alt-B ;-) >>>> >>>> >>>> >>>> >>>> > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > ------------------------------------------------------------------------ > > _______________________________________________ > Boa-constructor-users mailing list > Boa...@li... > https://lists.sourceforge.net/lists/listinfo/boa-constructor-users |
From: Mario L. <mla...@gm...> - 2006-10-31 15:27:04
|
Hi, I receipt an "Segmentation fault" in poEdit, when I try to save the new /Locate/Es/boa.po file. And I couldnt work with the translation. I install the Ubuntu version.... I was report this bug. Anybody could help me with this issue?? Thanks! Mi configuracion/My config: Ubuntu Edgy Eft 6.10 Linux Kernel 2.6.17-10-386 Gnome 2.16.1 Python 2.4.4 wxPython 2.7.1.3 Unicode Boa Constructor cvs 0.5.2 -- Saludos / Best regards Mario Lacunza Vásquez Desarrollador de Software - Webmaster Desarrollador 2 Estrellas VS2005 Website : http://mlacunzav[DOT]cogia[DOT]net Email : mlacunza[AT]gmail.com Email : mario_lacunza[AT]yahoo.es Blog : http://mlacunza[DOT]blogspot.com Lima - Peru |
From: Zsolt G. K. <zso...@4d...> - 2006-10-31 15:21:37
|
Hi all, I have: Python: 2.5 wxPython: 2.7.1 Boa: 0.4.4 So maybe I should upgrade Boa? (The SourceForge.net Website is currently down for maintenance.) That's my luck for today:) cheers, Zsolt Werner F. Bruhin wrote: > Hi Zsolt, > > Zsolt G. Kiss wrote: > >> Thank you! Unfortunately, now I get "'module' object has no attribute >> 'NotebookSizer'" >> > You probably have a version issue, I use the following: > # Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit (Intel)] > # wxPython 2.6.3.3, Boa Constructor 0.5.2 > > Boa 0.5.2 is the latest from CVS and works as far as I see with wxPython > 2.6 either on Python 2.4.x or 2.5. > > Werner > > >> Zsolt >> >> Oleg Deribas wrote: >> >> >>> Hello, >>> >>> Zsolt G. Kiss said the following on 31.10.2006 12:49: >>> >>> >>> >>> >>>> I work in IT but have not used Python yet. Today I just installed it >>>> together with the BOAConstructor (and wxPython, of course. On Windows) >>>> Now: HOW CAN I START this smart IDE? No icon, bin folder, exe file... >>>> Hundreds of .py and .pyc in the LIB. And NO ONE WORD ABOUT THIS IN THE >>>> DOCS!!!? >>>> >>>> >>>> >>> I use desktop link to file >>> C:\Python24\Lib\site-packages\boa-constructor\Boa.pyw >>> with keyboard shortcut Ctrl-Alt-B ;-) >>> >>> >>> >>> |
From: Riaan B. <riaan@e.co.za> - 2006-10-31 15:14:00
|
Hi, CVS has been updated with various fixes and one new feature, Code Templates. It is a simple implementation of Code Templates (or Code Snippets from the Visual Studio world). A Code Template is a small idiomatic snippet of code that can be selected from a popup list and inserted at the current caret position. The plugin is at Plug-ins/CodeTemplates.plug-in.py and the code template definitions are under Plug-ins/CodeTemplates/*.cfg The action is available from Source Views under Edit->Code Templates and currently bound to Alt-T. Later a Code Template Manager may be available under Tools->Code Template Manager. I would appreciate if people could suggest a few more python and wxpython idioms. The Dialogs page is no longer available on the Palette as this feature replaces that functionality. Cheers, Riaan. |
From: Riaan B. <riaan@e.co.za> - 2006-10-31 15:13:44
|
Oleg Deribas wrote: > with keyboard shortcut Ctrl-Alt-B ;-) :) Cheers, Riaan. |
From: Riaan B. <riaan@e.co.za> - 2006-10-31 15:13:23
|
Hi, J. D. Leach wrote: > Now, the interesting part is that I have discovered that if I su in > console then load Boa, it starts just fine. Maybe a permissions problem. Yes, looks like a permissions problem or something like that. It's definitely not a Boa problem. Once the Boa code can load the wxPython library it should work for the versions you have. Cheers, Riaan. |
From: Riaan B. <riaan@e.co.za> - 2006-10-31 15:13:15
|
Hi Olivier, Fixed in CVS. I'm glad this issue got sorted out before the release. Cheers, Riaan. Olivier Thiery wrote: > Hi, > > I updated my wxpython and boa install two days ago from wxpython 2.6.3.3 > <http://2.6.3.3> / boa 0.4.4 to wxpython 2.7.1.2 <http://2.7.1.2> / boa > 0.5.2 (from cvs). > > I get a few errors with the designer now, especially with StaticBoxSizers. > > The source I've attached comes from one of my projects. It opens well in > boa 0.4.4 but raises an error in boa 0.5.2 designer (I've also attached > the trace I get then). > > Olivier > > > ------------------------------------------------------------------------ > > 17:28:47: wx._core.PyDeadObjectError: The C++ part of the StaticBox object has been deleted, attribute access no longer allowed.Traceback (most recent call last): > 17:28:47: wx._core.PyDeadObjectError: The C++ part of the StaticBox object has been deleted, attribute access no longer allowed. File "C:\Python24\Lib\site-packages\boa-constructor\Models\wxPythonControllers.py", line 78, in OnDesigner > 17:28:47: self.showDesigner() > 17:28:47: File "C:\Python24\Lib\site-packages\boa-constructor\Models\wxPythonControllers.py", line 157, in showDesigner > 17:28:47: sizersView.initialize() > 17:28:47: File "C:\Python24\Lib\site-packages\boa-constructor\Views\DataView.py", line 74, in initialize > 17:28:47: self.initObjectsAndCompanions(objCol.creators, objCol, deps, depLinks) > 17:28:47: File "C:\Python24\Lib\site-packages\boa-constructor\Views\SizersView.py", line 118, in initObjectsAndCompanions > 17:28:47: DataView.initObjectsAndCompanions(self, creators, objColl, dependents, depLinks) > 17:28:47: File "C:\Python24\Lib\site-packages\boa-constructor\Views\DataView.py", line 77, in initObjectsAndCompanions > 17:28:47: InspectableObjectView.initObjectsAndCompanions(self, creators, objColl, dependents, depLinks) > 17:28:47: File "C:\Python24\Lib\site-packages\boa-constructor\Views\InspectableViews.py", line 127, in initObjectsAndCompanions > 17:28:47: self.initObjCreator(constr) > 17:28:47: File "C:\Python24\Lib\site-packages\boa-constructor\Views\InspectableViews.py", line 155, in initObjCreator > 17:28:47: constrPrs.comp_name, constrPrs.params) > 17:28:47: File "C:\Python24\Lib\site-packages\boa-constructor\Views\DataView.py", line 129, in loadControl > 17:28:47: CtrlCompanion.handledConstrParams, evalDct = self.model.specialAttrs) > 17:28:47: File "C:\Python24\Lib\site-packages\boa-constructor\Views\InspectableViews.py", line 63, in setupArgs > 17:28:47: evalDct) > 17:28:47: File "C:\Python24\Lib\site-packages\boa-constructor\PaletteMapping.py", line 161, in evalCtrl > 17:28:47: raise DesignTimeExpressionError, clsName+': '+str(err) > 17:28:47: PaletteMapping.DesignTimeExpressionError: AttributeError: _your_frame_attrs_instance has no attribute 'staticBox1' > > > ------------------------------------------------------------------------ > > #Boa:FramePanel:HistoPanel > > import wx > > import wxData > > [wxID_HISTOPANEL, wxID_HISTOPANELLVWHISTO, wxID_HISTOPANELSTATICBOX1, > wxID_HISTOPANELSTATICBOX2, wxID_HISTOPANELSTATICTEXT1, > wxID_HISTOPANELSTATICTEXT2, wxID_HISTOPANELSTATICTEXT3, > wxID_HISTOPANELSTATICTEXT4, wxID_HISTOPANELTBDATEVALEUR, > wxID_HISTOPANELTBELEMENT, wxID_HISTOPANELTBPROPRIETE, > wxID_HISTOPANELTBVALEUR, wxID_HISTOPANELTBVALEURACTUELLE, > ] = [wx.NewId() for _init_ctrls in range(13)] > > class HistoPanel(wx.Panel): > def _init_coll_histoBox_Items(self, parent): > # generated method, don't edit > > parent.AddWindow(self.lvwHisto, 1, border=5, flag=wx.EXPAND | wx.ALL) > parent.AddWindow(self.tbValeur, 0, border=5, > flag=wx.RIGHT | wx.LEFT | wx.BOTTOM | wx.EXPAND) > > def _init_coll_eltBox_Items(self, parent): > # generated method, don't edit > > parent.AddWindow(self.staticText1, 0, border=5, > flag=wx.ALIGN_CENTER_VERTICAL | wx.RIGHT) > parent.AddWindow(self.tbElement, 1, border=0, flag=0) > > def _init_coll_identBox_Items(self, parent): > # generated method, don't edit > > parent.AddSizer(self.eltBox, 0, border=5, flag=wx.ALL | wx.EXPAND) > parent.AddSizer(self.pteBox, 0, border=5, > flag=wx.RIGHT | wx.LEFT | wx.EXPAND) > parent.AddSizer(self.valBox, 0, border=5, flag=wx.ALL | wx.EXPAND) > > def _init_coll_pteBox_Items(self, parent): > # generated method, don't edit > > parent.AddWindow(self.staticText2, 0, border=5, > flag=wx.ALIGN_CENTER_VERTICAL | wx.RIGHT) > parent.AddWindow(self.tbPropriete, 1, border=0, flag=0) > > def _init_coll_mainBox_Items(self, parent): > # generated method, don't edit > > parent.AddSizer(self.identBox, 0, border=5, flag=wx.EXPAND | wx.BOTTOM) > parent.AddSizer(self.histoBox, 1, border=0, flag=wx.EXPAND) > > def _init_coll_valBox_Items(self, parent): > # generated method, don't edit > > parent.AddWindow(self.staticText3, 0, border=0, > flag=wx.ALIGN_CENTER_VERTICAL) > parent.AddWindow(self.tbValeurActuelle, 1, border=5, > flag=wx.RIGHT | wx.LEFT) > parent.AddWindow(self.staticText4, 0, border=0, > flag=wx.ALIGN_CENTER_VERTICAL) > parent.AddWindow(self.tbDateValeur, 0, border=5, flag=wx.LEFT) > > def _init_coll_lvwHisto_Columns(self, parent): > # generated method, don't edit > > parent.InsertColumn(col=0, format=wx.LIST_FORMAT_LEFT, heading=u'Date', > width=-1) > parent.InsertColumn(col=1, format=wx.LIST_FORMAT_LEFT, > heading=u'Valeur', width=-1) > > def _init_sizers(self): > # generated method, don't edit > self.eltBox = wx.BoxSizer(orient=wx.HORIZONTAL) > > self.pteBox = wx.BoxSizer(orient=wx.HORIZONTAL) > > self.identBox = wx.StaticBoxSizer(box=self.staticBox1, > orient=wx.VERTICAL) > > self.histoBox = wx.StaticBoxSizer(box=self.staticBox2, > orient=wx.VERTICAL) > > self.mainBox = wx.BoxSizer(orient=wx.VERTICAL) > > self.valBox = wx.BoxSizer(orient=wx.HORIZONTAL) > > self._init_coll_eltBox_Items(self.eltBox) > self._init_coll_pteBox_Items(self.pteBox) > self._init_coll_identBox_Items(self.identBox) > self._init_coll_histoBox_Items(self.histoBox) > self._init_coll_mainBox_Items(self.mainBox) > self._init_coll_valBox_Items(self.valBox) > > self.SetSizer(self.mainBox) > > def _init_ctrls(self, prnt): > # generated method, don't edit > wx.Panel.__init__(self, id=wxID_HISTOPANEL, name=u'HistoPanel', > parent=prnt, pos=wx.Point(478, 291), size=wx.Size(416, 459), > style=wx.TAB_TRAVERSAL) > self.SetClientSize(wx.Size(408, 432)) > > self.staticBox1 = wx.StaticBox(id=wxID_HISTOPANELSTATICBOX1, > label=u'Identification', name='staticBox1', parent=self, > pos=wx.Point(0, 0), size=wx.Size(408, 105), style=0) > > self.staticText1 = wx.StaticText(id=wxID_HISTOPANELSTATICTEXT1, > label=u'El\xe9ment', name='staticText1', parent=self, > pos=wx.Point(10, 26), size=wx.Size(70, 13), style=wx.ALIGN_RIGHT) > > self.staticText2 = wx.StaticText(id=wxID_HISTOPANELSTATICTEXT2, > label=u'Propri\xe9t\xe9', name='staticText2', parent=self, > pos=wx.Point(10, 52), size=wx.Size(70, 13), style=wx.ALIGN_RIGHT) > > self.tbElement = wx.TextCtrl(id=wxID_HISTOPANELTBELEMENT, > name=u'tbElement', parent=self, pos=wx.Point(85, 22), > size=wx.Size(313, 21), style=wx.TE_READONLY, value=u'') > > self.tbPropriete = wx.TextCtrl(id=wxID_HISTOPANELTBPROPRIETE, > name=u'tbPropriete', parent=self, pos=wx.Point(85, 48), > size=wx.Size(313, 21), style=wx.TE_READONLY, value=u'') > > self.staticBox2 = wx.StaticBox(id=wxID_HISTOPANELSTATICBOX2, > label=u'Historique', name='staticBox2', parent=self, > pos=wx.Point(0, 110), size=wx.Size(408, 322), style=0) > > self.lvwHisto = wx.ListCtrl(id=wxID_HISTOPANELLVWHISTO, > name=u'lvwHisto', parent=self, pos=wx.Point(10, 132), > size=wx.Size(388, 215), style=wx.LC_SINGLE_SEL | wx.LC_REPORT) > self._init_coll_lvwHisto_Columns(self.lvwHisto) > self.lvwHisto.Bind(wx.EVT_LIST_ITEM_SELECTED, > self.OnLvwHistoListItemSelected, id=wxID_HISTOPANELLVWHISTO) > self.lvwHisto.Bind(wx.EVT_LIST_ITEM_DESELECTED, > self.OnLvwHistoListItemDeselected, id=wxID_HISTOPANELLVWHISTO) > > self.tbValeur = wx.TextCtrl(id=wxID_HISTOPANELTBVALEUR, > name=u'tbValeur', parent=self, pos=wx.Point(10, 352), > size=wx.Size(388, 70), > style=wx.TE_MULTILINE | wx.TE_LINEWRAP | wx.TE_READONLY, > value=u'') > > self.staticText3 = wx.StaticText(id=wxID_HISTOPANELSTATICTEXT3, > label=u'Valeur actuelle', name='staticText3', parent=self, > pos=wx.Point(10, 78), size=wx.Size(70, 13), style=wx.ALIGN_RIGHT) > > self.tbValeurActuelle = wx.TextCtrl(id=wxID_HISTOPANELTBVALEURACTUELLE, > name=u'tbValeurActuelle', parent=self, pos=wx.Point(85, 74), > size=wx.Size(185, 21), style=wx.TE_READONLY, value=u'') > > self.tbDateValeur = wx.TextCtrl(id=wxID_HISTOPANELTBDATEVALEUR, > name=u'tbDateValeur', parent=self, pos=wx.Point(316, 74), > size=wx.Size(82, 21), style=wx.TE_READONLY, value=u'') > > self.staticText4 = wx.StaticText(id=wxID_HISTOPANELSTATICTEXT4, > label=u'date', name='staticText4', parent=self, pos=wx.Point(275, > 78), size=wx.Size(36, 13), style=wx.ALIGN_RIGHT) > > self._init_sizers() > > def __init__(self, parent, id, pos, size, style, name): > self._init_ctrls(parent) > > def setProperty(self, pty, title): > self.tbElement.SetValue(title) > self.tbPropriete.SetValue(pty['libelle_propriete']) > self.tbValeurActuelle.SetValue(pty['valeur_text']) > if pty['date_donnee'] != None: > self.tbDateValeur.SetValue(pty['date_donnee'].Format('%d/%m/%Y')) > en = False > for value in pty.history: > en = True > item = self.lvwHisto.InsertStringItem(wx.NewId(), value['date_donnee'].Format('%d/%m/%Y')) > self.lvwHisto.SetStringItem(item, 1, value['valeur_text']) > self.lvwHisto.Enable(en) > fitColumns(self.lvwHisto) > > def OnLvwHistoListItemSelected(self, event): > self.tbValeur.SetValue(self.lvwHisto.GetItem(event.GetIndex(), 1).GetText()) > > def OnLvwHistoListItemDeselected(self, event): > self.tbValeur.SetValue('') > > def fitColumns(lvw): > """ > Adapte la taille des colonnes d'un ListCtrl \xe0 leur contenu > > @param lvw: le ListCtrl dont on veut adapter la taille des colonnes > """ > for i in range(lvw.GetColumnCount()): > col = lvw.GetColumn(i) > lvw.SetColumnWidth(i, lvw.GetTextExtent(col.GetText())[0]+15) > for j in range(lvw.GetItemCount()): > item = lvw.GetItem(j, i) > if item.GetImage() > -1: > img_offset = lvw.GetImageList(wx.IMAGE_LIST_NORMAL).GetSize(0)[0] > else: > img_offset = 0 > l = lvw.GetTextExtent(item.GetText())[0]+15+img_offset > if l > lvw.GetColumnWidth(i): > lvw.SetColumnWidth(i, l) > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > ------------------------------------------------------------------------ > > _______________________________________________ > Boa-constructor-users mailing list > Boa...@li... > https://lists.sourceforge.net/lists/listinfo/boa-constructor-users |
From: Riaan B. <riaan@e.co.za> - 2006-10-31 15:12:50
|
Hi Igor, Your plug-in looks very nice and useful, please send me a copy :) I don't think it should be included with the boa constructor distribution as it relies both on external libraries matplotlib and I your wx.lib.igorlib. Do you have somewhere you can host the library and the Boa plug-in? Thanks, Riaan. khromushin wrote: > I wrote a matplotlib Boa constructor plug-in. It is very easy to add it into > a wxframe, sizers etc in Boa constructor. > If you are interested in the plugin, pls. send e-mail to kh...@in.... > > Igor Khromushin |
From: Riaan B. <riaan@e.co.za> - 2006-10-31 15:12:29
|
Hi Mario, Mario Lacunza wrote: > Hi, > > There are a SVN repositorie for Boa? Whats the address? please... No, there is no svn available for Boa at the moment. As a source forge project you can choose between either CVS or SVN, but not both. I plan to stay with CVS until there is a good reason to switch. Cheers, Riaan. |
From: Riaan B. <riaan@e.co.za> - 2006-10-31 15:12:10
|
Hi Duane, Duane Kaufman wrote: > Hi, > > I would like to add syntax highlighting, etc, for Fortran to Boa. Has > anyone done anything like this, and is there a document I could work > from to do this? There are two complete examples for you to work from: Plug-ins/PascalSupport.plug-in.py Plug-ins/JavaSupport.plug-in.py Find replace on these examples should get you most of the way there as they contain all the needed hooks to define a new language for the IDE. Cheers, Riaan. |
From: Werner F. B. <wer...@fr...> - 2006-10-31 14:54:50
|
Hi Zsolt, Zsolt G. Kiss wrote: > > Thank you! Unfortunately, now I get "'module' object has no attribute > 'NotebookSizer'" You probably have a version issue, I use the following: # Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit (Intel)] # wxPython 2.6.3.3, Boa Constructor 0.5.2 Boa 0.5.2 is the latest from CVS and works as far as I see with wxPython 2.6 either on Python 2.4.x or 2.5. Werner > > Zsolt > > Oleg Deribas wrote: > >>Hello, >> >>Zsolt G. Kiss said the following on 31.10.2006 12:49: >> >> >> >>>I work in IT but have not used Python yet. Today I just installed it >>>together with the BOAConstructor (and wxPython, of course. On Windows) >>>Now: HOW CAN I START this smart IDE? No icon, bin folder, exe file... >>>Hundreds of .py and .pyc in the LIB. And NO ONE WORD ABOUT THIS IN THE >>>DOCS!!!? >>> >>> >> >>I use desktop link to file >>C:\Python24\Lib\site-packages\boa-constructor\Boa.pyw >>with keyboard shortcut Ctrl-Alt-B ;-) >> >> >> > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > ------------------------------------------------------------------------ > > _______________________________________________ > Boa-constructor-users mailing list > Boa...@li... > https://lists.sourceforge.net/lists/listinfo/boa-constructor-users |
From: Uwe G. <mai...@on...> - 2006-10-31 14:23:09
|
Zsolt G. Kiss wrote: > > Thank you! Unfortunately, now I get "'module' object has no attribute > 'NotebookSizer'" > > Zsolt > Please report which versions you use. python, wxpython, boa. Uwe |