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: Blaine L. <bl...@te...> - 2001-11-29 15:27:42
|
Riaan hinted to me that some people may be working on multiple language support for Boa's IDE. I would hope my idea here may help in this task, as well as really helping me out! I would like to float an idea I had to implement selectable language support in Boa. Of course I will quickly duck and cover just in case I have stumbled into a mine field :). I would like to add a _init_text method, I imagine that in this method I would see: def _init_text(self): self.ExitText = ('Back to Main Screen', 'Spanish', 'French')[GlobalLang] def _init_ctrls(self, prnt): self._init_text() wxFrame.__init__(self, size = wxSize(640, 480), id = wxID_BOAFRAME, ***SNIP*** self.Exit = wxButton(label = self.ExitText, id = wxID_BOAFRAMEEXIT, parent = self, name = 'Exit', siz ***SNIP*** I would expect to next have to change the Inspector's text input methods. Currently they assume all input is text. Some sort of adjustment is necessary to implement this change. I don't know how most people would prefer it done. I can imagine a couple of ways: 1- Stop implying the "'s. The user can enter any variable or 'text' into the control and then would be responsible for creating his own _init_text method for any variables necessary. Easy to implement quickly, but very manual for the user. 2- A global preferences setting for the project. Either Boa behaves as it does now, or it forces every text field to have a global number of language entries. Probably easier, but coarse control. 3- A check box for each text field, that would allow simple text entry, or create the appropriate _init_text entry. This may be too much control for what is necessary. Also, I don't know how much overhead adding all of the text entries into the class's memory space. Perhaps it would be more efficient to embed the ('english','spanish')[GlobalLang] in the object's instantiation call. Example in case I wasn't clear: self.Exit = wxButton(label = ('english','spanish')[GlobalLang], id = wxID_BOAFRAMEEXIT... The great feature of the _init_text method is this: I only know 1 language, therefore with projects that require additional languages it would be nice to be able to create all of the screens, then have 1 concise area (per screen) for a linguist to go to and fill in the matrix of text entries. I'm sorry for not doing my own research on how to implement this functionality, but I have tried to follow Boa's code, and I just don't understand object oriented/wxPython code enough yet. Although, I will try some experiments if someone can at least point me to the correct methods. Thank you for reading this far. Blaine Lee Blaine Lee wrote: > I have been asked by my customer to provide the ability to switch all of the GUI to > Spanish and preferably the ability to swap back and forth. Currently I am using Boa > version 0.0.5... I know how to do this, but how do I do it easily? Is there > provision for this in the later versions? Are there plans? > > Thanks Riaan for a great tool > > Regards > Blaine Lee > > _______________________________________________ > Boa-constructor-users mailing list > Boa...@li... > https://lists.sourceforge.net/lists/listinfo/boa-constructor-users |
From: Patrick K. O'B. <po...@or...> - 2001-11-29 13:04:59
|
I honestly don't know. If you get it to work it would definitely be useful to know how you did so. --- Patrick K. O'Brien Orbtech.com - Your Source For Python Development Services > -----Original Message----- > From: boa...@li... > [mailto:boa...@li...]On Behalf Of > Blaine Lee > Sent: Wednesday, November 28, 2001 11:19 AM > To: boa > Subject: Re: [Boa Constr] Stuck in a 0.0.5 warp > > > Patrick, > > Is this the reason that when entering the frame designer, that it > would hang > with a partially painted designer screen? I had assumed it was a > parsing error > of my source code due to the significant difference in Boa's versions. > > I'll post the diff here if/when I get it running, if you feel its > appropriate. > > Thanks > Blaine > > > > _______________________________________________ > Boa-constructor-users mailing list > Boa...@li... > https://lists.sourceforge.net/lists/listinfo/boa-constructor-users |
From: Blaine L. <bl...@te...> - 2001-11-28 17:12:03
|
Patrick, Is this the reason that when entering the frame designer, that it would hang with a partially painted designer screen? I had assumed it was a parsing error of my source code due to the significant difference in Boa's versions. I'll post the diff here if/when I get it running, if you feel its appropriate. Thanks Blaine |
From: Patrick K. O'B. <po...@or...> - 2001-11-28 15:47:01
|
If you want to run 0.0.13, then you need to upgrade your version of wxPython to the current beta. Install wxPython-2.3.2b7-Py21-hybrid.exe, which you can find at http://sourceforge.net/project/showfiles.php?group_id=10718. After you have done that, you will likely get an error upon starting Boa, because one of the wxPython status bar functions changed during the beta process and Riaan has not updated Boa yet. I seem to recall that there were two spots that I needed to modify in the Boa code, which were easy to find as the error message gives you the module and line number. Simply remove the extra parameters from the function call and all should be well. If you need more help, feel free to contact me. Unfortunately, Riaan appears to be involved in a project that leaves him little time for Boa at the moment. --- Patrick K. O'Brien Orbtech.com - Your Source For Python Development Services > -----Original Message----- > From: boa...@li... > [mailto:boa...@li...]On Behalf Of > Blaine Lee > Sent: Wednesday, November 28, 2001 9:31 AM > To: boa > Subject: [Boa Constr] Stuck in a 0.0.5 warp > > > > I have been using version 0.0.5 for a while. Now I would like to get > current, but when I tried 0.0.13 wasn't able to open my source files. > Is there a path someone has already accomplished this migration? I was > hoping something like: Edit each file with 0.0.7, next 0.0.11, then > 0.0.13 should be ok. > > Currently my development system is NT4 > Python 2.1 > wxPython 2.2.5 > Boa 0.0.5 > > FYI: Installing wxPython 2.3.0 caused problems with Boa 0.0.5 > > Thanks > Blaine Lee > > > _______________________________________________ > Boa-constructor-users mailing list > Boa...@li... > https://lists.sourceforge.net/lists/listinfo/boa-constructor-users |
From: Blaine L. <bl...@te...> - 2001-11-28 15:24:08
|
I have been using version 0.0.5 for a while. Now I would like to get current, but when I tried 0.0.13 wasn't able to open my source files. Is there a path someone has already accomplished this migration? I was hoping something like: Edit each file with 0.0.7, next 0.0.11, then 0.0.13 should be ok. Currently my development system is NT4 Python 2.1 wxPython 2.2.5 Boa 0.0.5 FYI: Installing wxPython 2.3.0 caused problems with Boa 0.0.5 Thanks Blaine Lee |
From: Blaine L. <bl...@te...> - 2001-11-15 21:43:23
|
I have been asked by my customer to provide the ability to switch all of the GUI to Spanish and preferably the ability to swap back and forth. Currently I am using Boa version 0.0.5... I know how to do this, but how do I do it easily? Is there provision for this in the later versions? Are there plans? Thanks Riaan for a great tool Regards Blaine Lee |
From: Michael R. <vim...@ya...> - 2001-10-19 18:06:32
|
(Boa 0.0.13, wx2.3, win2k) Sorry for the large list of issues: I've been saving up trying to figure things out... I tried posting originally the the BOA "open discussion" forum, but apparently that's pretty dead. (1) I'm looking for instructions on using some of the container objects from BOA. I figured out how to create a notebook, add pages, and put controls on the pages, but I can't figure out how to do it with the splitter, sashes, etc - I can't seem to get the designer to show the actual split-areas for child containment. It's not clear to me what Boa really supports in this area - kindof have to feel your way around, I guess. (2) How do I add menus from the Designer? Says something about a data view, but I can't find one... (3) My biggest problem is how to create reusable GUI elements any way at all. The idea is that I want to get my app working using top-level frames containing all my panels for now, and then experiment with using multiple different layouts (splitters/sash, notebooks, etc) at some other point. I want to be able to play with the interal layout and event logic in the panels, without changing the client frame code that uses them, and continue to modify this and see the results in the fancy layouts. My first thought was to create a wxPanel with controls in it as a seperate entity and include it later, but the wxApp and wxFrame seem to be the only file-encapsulated objects. My next thought was just to use a wxFrame and turn the border off - but I guess a wxFrame is only-top level. Next I tried creating a dummy wxFrame file with the panel in it, and figured I'd just develop it there and cut&paste into where it should go as I need to. The problem here is that the ID's aren't re-created when I paste, (easy enough to change them all to "4242"...) and the paste "flattens" or "de-encapsulates" everything making all child controls of the panel child controls of the current frame (peer of the panel), and this doesn't maintain the event code, etc. What can I do? This brings up a point I still can't figure out - why does boa/wxPython even bother using/exposing control ID's at all?? This seems a useless feature that just creates clutter. This is Python, and we should be able to just use object references. Most of the time you have references to the objects you need, and if you don't Python has a plethora of ways to look things up: dictionaries, lists, etc. (Or you could enumerate children, etc.) If wxWin insists on these, wxPython could easily provide a obj->id mapping. Sorry if I'm missing something... (Minor Issues) - BOA seems really great in many ways - probably one of the best python solutions around, no contest for wx. An issue for for me is the "multiple top-level windows on the desktop" design - hard to manage/control with other apps, and to get the layout you want w/o messing with multiple (possible overlayed in z-order) windows. Is there an option for having a top-level cotainer window that would allow simpler app (de)activation and mangement of Boa sub-windows? - Would be nice if status bars were at the bottom in the designer. Also, why doesn't Boa add "self.SetStatusBar()"? - File stuff: The file open/save dialog seems to start up in the boa directly instead the last place I was. Multiple-selection works in the dialog, but Boa only opens one of them. An auto-save would be nice, rather than it complaining. Being able to run unsaved files would be nice for quick tests. Will there be a Boa "project" metaphor so I can load all the state I need to in order to work on someting quickly? I'm having some crashing bugs (mostly when deleting, either from the designer or the collections editor), but Boa at least doesn't seem to trash any permanent state (I guess one advantage of no project file), and I can always start my session back up. thanks, mike _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |
From: Blaine L. <bl...@te...> - 2001-10-18 23:18:41
|
I am using Boa 0.0.5 to develop code for an embedded Linux application. The problem I have is the screen colors change occasionally when I enter different Frames. Also, if a dialog is closed, the background it covered may change. Can someone point me where the problem is? I am hoping it is something like I have to declare background colors or some such thing... I have included the top of the frame declarations below. One other thing I am wondering about is that I have my frames nested i.e.: Fmain = BoaFrame( in Fmain's __init__ I have self.Fdiag = BoaFrame self.Foperator = BoaFrame etc... Is this the 'right' way to do things? Linux environment: Software: Debian 2.2 xfree86 3.3.6 wxPython 2.2.5 python 1.5.2 & 2.1.1 (happens under both) Hardware: processor / video NS Geode GXM w/5530 companion chip 640x480 I have also confirmed that colors change under VNC. FYI it is a virtual X server that acts as a frame buffer on the local machine and can be viewed on any connected machine with a viewer (therefore I think its not the xserver). Thank you Blaine Lee If its worth anything, here is the definition of one of the screens that frequently shows this problem: def _init_ctrls(self, prnt): wxFrame.__init__(self, size = wxSize(640, 480), id = wxID_BOAFRAME, title = 'Operator Screen', parent = prnt, name = 'BoaFrame', style = 0, pos = wxPoint(239, 306)) self._init_utils() self.SetBackgroundColour(wxColour(255, 255, 255)) self.SetFont(wxFont(10, wxMODERN, wxNORMAL, wxNORMAL, false, 'clean')) EVT_CLOSE(self, self.OnBoaframeClose) EVT_ACTIVATE(self, self.OnBoaframeActivate) self.Exit = wxButton(label = 'Back to Main Screen', id = wxID_BOAFRAMEEXIT, parent = self, name = 'Exit', size = wxSize(128, 59), style = 0, pos = wxPoint(8, 384)) EVT_BUTTON(self.Exit, wxID_BOAFRAMEEXIT, self.OnExitButton) self.Start = wxBitmapButton(bitmap = wxBitmap('start.bmp', wxBITMAP_TYPE_BMP), id = wxID_BOAFRAMESTART, validator = wxDefaultValidator, parent = self, name = 'Start', size = wxSize(72, 72), style = wxBU_AUTODRAW, pos = wxPoint(456, 368)) self.Start.SetBackgroundColour(wxColour(255, 255, 255)) EVT_BUTTON(self.Start, wxID_BOAFRAMESTART, self.OnStartButton) self.Stop = wxBitmapButton(bitmap = wxBitmap('stop.bmp', wxBITMAP_TYPE_BMP), id = wxID_BOAFRAMESTOP, validator = wxDefaultValidator, parent = self, name = 'Stop', size = wxSize(72, 72), style = wxBU_AUTODRAW, pos = wxPoint(544, 368)) EVT_BUTTON(self.Stop, wxID_BOAFRAMESTOP, self.OnStopButton) self.staticBitmap1 = wxStaticBitmap(bitmap = wxBitmap('logo.bmp', wxBITMAP_TYPE_BMP), id = wxID_BOAFRAMESTATICBITMAP1, parent = self, name = 'staticBitmap1', size = wxSize(160, 64), style = 0, pos = wxPoint(392, 30)) self.a = wxPanel(size = wxSize(264, 320), id = wxID_BOAFRAMEA, parent = self, name = 'a', style = wxTAB_TRAVERSAL, pos = wxPoint(16, 48)) |
From: <Qb...@t-...> - 2001-10-14 23:14:53
|
First of all: Hi everybody. I'm new to the list and traffic seems low so I'll introduce myself. Nevertheless I hope to find lots of Python junkies here :-) I wanna get going with Python and chose Boa as my GUI for starts. Here's my first Problem when I start it from the commandline: qbert@engine:~/Boa-0.0.5 > Boa.py : command not found : command not found I see a cross as mousecursor but nothing else. I klick, the speaker beeps Boa end with this; : command not found ./Boa.py: line 20: syntax error near unexpected token `trace_func(f' '/Boa.py: line 20: `def trace_func(frame, event, arg): qbert@engine:~/Boa-0.0.5 > I'm running the SuSE 7.2 Pro distro with KDE 2.2.1. Thanks for the help in advance. |
From: Jim M. <pu...@wi...> - 2001-10-01 21:44:46
|
Howdy! This note from Patrick O'Brien was a revelation to me; I'd previously given up on boa for lack of documentation and/or time to figure it out. Bearing that in mind, may I suggest the following patch to the website to make the documentation more easily accessible? It can be applied by saving it into a file (e.g. /tmp/boaweb.patch), cd'g to the top-level directory of the web content directory and typing: patch -up 1 < /tmp/boaweb.patch Now to go see if it was a lack of docs, or just general density on my part. ;] Thanks, Patrick! --j The patch: diff -ru boa.orig/Download.html boa.new/Download.html --- boa.orig/Download.html Mon Oct 1 14:17:06 2001 +++ boa.new/Download.html Mon Oct 1 14:28:52 2001 @@ -64,7 +64,7 @@ <p> Boa Constuctor 0.0.5 can be downloaded from SourceForge -<a href="http://sourceforge.net/project/showfiles.php?group_id=1909">here</a>.<br> +<a href="http://sourceforge.net/project/showfiles.php?group_id=1909">here</a>. The latest documentation for Boa Constructor can be had as either a <a href="Help/Docs.zip">zip file</a> or a <a href="Help/Docs.tar.gz">gzipped tarball</a>.<br> <p> Before this can work, you'll need to have successfully installed <a href="http://wxPython.org/download.php">wxPython 2.2.5</a> and diff -ru boa.orig/Help/index.html boa.new/Help/index.html --- boa.orig/Help/index.html Mon Oct 1 14:18:20 2001 +++ boa.new/Help/index.html Mon Oct 1 14:24:29 2001 @@ -59,6 +59,9 @@ <br>The following forms of help / participation are available: <ul> <li> +The latest application documentation in a <a href="Docs.zip">zip file</a> or a <a href="Docs.tar.gz">gzipped tarball</a>. + +<li> <a href="AppHelp">Application help</a></li> Patrick K. O'Brien wrote: > The docs are released separately and are not very easy to find. Here are > Riaan's instructions from a previous message: > > * New help system, completely replacing the old one. > You'll have to download the help data files from: > http://boa-constructor.sourceforge.net/Help/Docs.zip > or > http://boa-constructor.sourceforge.net/Help/Docs.tar.gz > and unzip into the Boa root directory. > The new help system uses the wxHTMLHelpController and contains help > for Boa, the Boa Guide, Python, wxPython and CVS. > Each section has contents and indexes. > * Customiseable preference storage. > If you have an environment variable HOME and your HOME dir has a > dir called .boa, all config/preference files that Boa maintains > will be copied here and used from here. This is mainly aimed at linux > users whose Boas can't update their preferences, but it's useful, > and it also works on windows. > > --- > Patrick K. O'Brien > Orbtech (http://www.orbtech.com) > "I am, therefore I think." > > -----Original Message----- > From: boa...@li... > [mailto:boa...@li...]On Behalf Of > Warnes, Gregory R > Sent: Wednesday, September 05, 2001 6:56 PM > To: 'boa...@li...' > Subject: [Boa Constr] Why aren't Docs in CVS? > > > Hi, > > I've just gotten started with Boa and I'm very impressed. I had been trying > to use v0.0.5, until I realized that this was way out of date and grabbed > the new 0.0.13 from CVS. When I did so, I noticed that the documentation > (Doc/*) was not in the current CVS version. Is there a particular reason > for this? > > -Greg > > > LEGAL NOTICE > Unless expressly stated otherwise, this message is confidential and may be > privileged. It is intended for the addressee(s) only. Access to this E-mail > by anyone else is unauthorized. If you are not an addressee, any disclosure > or copying of the contents of this E-mail or any action taken (or not taken) > in reliance on it is unauthorized and may be unlawful. If you are not an > addressee, please inform the sender immediately. > > _______________________________________________ > Boa-constructor-users mailing list > Boa...@li... > https://lists.sourceforge.net/lists/listinfo/boa-constructor-users > > > _______________________________________________ > Boa-constructor-users mailing list > Boa...@li... > https://lists.sourceforge.net/lists/listinfo/boa-constructor-users > > > -- Jim Meyer, Geek At Large pu...@wi... |
From: Danny K. <dan...@sy...> - 2001-09-24 09:18:13
|
Hi. I'm new to about everything, Python, Boa Constructor, OO, GUI, C, C++. = Well, just about everything. Running w2k, Python 2.1.1, wxPython 2.3 and = wxWindows 2.2.7. Trying out the tutorial but it won't. 1. When launching Boa I get D:\Program\Boa-0.0.5\ZopeLib\Client.py:108: = DeprecationWarning: the regex module is deprecated; please use the re module import sys, regex, socket, mimetools D:\Program\Python21\lib\regsub.py:15: DeprecationWarning: the regsub = module is d eprecated; please use re.sub() DeprecationWarning) 2. When opening and saving I get a Debug message saying = --\common\choiccmn.cpp(47): assert faild: invalid string in = wxChoice::SetStringSelection. 3. When I try "2.2 Using the Designer to set the Title" neither the = Title gets changed nor does the code gets altered. Anyone here knows what is going on? Thanks in advance. /Danny |
From: Patrick K. O'B. <po...@or...> - 2001-09-15 13:52:26
|
Hey! When do the rest of us get to play? This sounds like a great feature. --- Patrick K. O'Brien Orbtech (http://www.orbtech.com) "I am, therefore I think." -----Original Message----- From: boa...@li... [mailto:boa...@li...]On Behalf Of Riaan Booysen Sent: Saturday, September 15, 2001 6:35 AM To: mcf...@ho... Cc: 'Boa Constructor (E-mail)' Subject: Re: [Boa Constr] UML Topological sort, where to put it? Hi Mike, Very, very, cool! Huge improvement! <snip> |
From: Riaan B. <riaan@e.co.za> - 2001-09-15 11:33:42
|
Hi Mike, Very, very, cool! Huge improvement! I've fixed some bugs (not in your code!) that handles loading and saving of positions, please do a cvs update. "Mike C. Fletcher" wrote: > > Attached find a module implementing a topologically sorted UML view > subclassed from Views.OGLViews.UMLView The topological sorting makes the > initial view of the UML diagram considerably more user-friendly, as the > diagram is laid out such that superclasses are always above their > subclasses. I've also added layout logic such that the scrolled window is > sized to the diagram (it might be preferable to size to the maximum of the > diagram or physical window size). > > There are certainly ways you could improve on this formatting, but for me, > this is sufficient to make the view usable as an overview mechanism, so I > don't have any plans to improve the formatting further. Deep hierarchies a handled better than wide ones (look at Companions.py) No ideas from my side how to improve this tho. > > To see the module in action, modify Controllers.py line 170 to include > UMLView2.UMLView2 in the list of AdditionalViews as indicated by Riaan in > his previous message (yes, your instructions were helpful, thanks Riaan). I'll add them to the Docs. > > Enjoy yourselves, > Mike > Should I merge your changes into UMLView or do still want to change something? Thanks again for the contribution! -- Riaan Booysen ___________________________________________________ Boa Constructor - RAD GUI building IDE for wxPython http://boa-constructor.sourceforge.net |
From: Mike C. F. <mcf...@ho...> - 2001-09-14 08:18:42
|
Attached find a module implementing a topologically sorted UML view subclassed from Views.OGLViews.UMLView The topological sorting makes the initial view of the UML diagram considerably more user-friendly, as the diagram is laid out such that superclasses are always above their subclasses. I've also added layout logic such that the scrolled window is sized to the diagram (it might be preferable to size to the maximum of the diagram or physical window size). There are certainly ways you could improve on this formatting, but for me, this is sufficient to make the view usable as an overview mechanism, so I don't have any plans to improve the formatting further. To see the module in action, modify Controllers.py line 170 to include UMLView2.UMLView2 in the list of AdditionalViews as indicated by Riaan in his previous message (yes, your instructions were helpful, thanks Riaan). Enjoy yourselves, Mike -----Original Message----- From: boa...@li... [mailto:boa...@li...]On Behalf Of Riaan Booysen Sent: September 13, 2001 05:44 To: mcf...@ho... Cc: Boa Constructor (E-mail) Subject: Re: [Boa Constr] UML Topological sort, where to put it? Hi Mike, ... Thanks, hope this helps and more questions welcome! ... |
From: Riaan B. <riaan@e.co.za> - 2001-09-13 09:42:46
|
Hi Mike, "Mike C. Fletcher" wrote: > > I've just put together a very basic class topological sort with the idea of > making the UML view a little more readable on load. Basically it takes a > pointer to a list of class objects and generates a list of generations which > are sorted so that parent classes always show up above child classes. Sounds great! I'm very glad someone has taken up this challenge. > > There is obviously more that would eventually be useful (weighting members > of a generation so that they clump together with hereditarily similar > members being the most obvious first step. Before I start into that, > though, I'm wondering where to stand with my little lever. > > Basically, I'm wondering how to go about creating and registering a view so > that it will show up in the view menu of the editor. View loading seems to > be handled through a lot of abstract calls to other objects from the Editor > frame, I'm wondering if there's somewhere I can just type in the > class/module name and have the class show up. I'm not sure I understand your intention here. This does not sound like a new view to me. To me this sounds like an action, say 'Arrange' that should be added to the current UMLView. See OGLViews.UMLView.__init__. Currently 'Toggle Attributes' and 'Toggle Methods' are such actions, just extend this list. If you do want to add a new view to a model, the best advice (advice I follow myself) is to copy/paste from a similar view and work from there. To have the new view show up in the Views menu, it has to be added to the models associated controller class. There are two view lists attributes in the controller, DefaultViews and AdditionalViews. Usually the new view class would be added to AdditionalViews. > > Suggestions appreciated, > Mike > > _______________________________________________ > Boa-constructor-users mailing list > Boa...@li... > https://lists.sourceforge.net/lists/listinfo/boa-constructor-users Thanks, hope this helps and more questions welcome! -- Riaan Booysen ___________________________________________________ Boa Constructor - RAD GUI building IDE for wxPython http://boa-constructor.sourceforge.net |
From: Mike C. F. <mcf...@ho...> - 2001-09-13 05:14:05
|
I've just put together a very basic class topological sort with the idea of making the UML view a little more readable on load. Basically it takes a pointer to a list of class objects and generates a list of generations which are sorted so that parent classes always show up above child classes. There is obviously more that would eventually be useful (weighting members of a generation so that they clump together with hereditarily similar members being the most obvious first step. Before I start into that, though, I'm wondering where to stand with my little lever. Basically, I'm wondering how to go about creating and registering a view so that it will show up in the view menu of the editor. View loading seems to be handled through a lot of abstract calls to other objects from the Editor frame, I'm wondering if there's somewhere I can just type in the class/module name and have the class show up. Suggestions appreciated, Mike |
From: Riaan B. <riaan@e.co.za> - 2001-09-12 14:09:51
|
Hi Aleksandras, "Aleksandras G." wrote: > > Riaan Booysen > > > > Feature request: When doing a Search or Find with the help controller > > it would be great if the wxHtmlWindow could select all occurences > > of the search string and the have facility jump to the matches > > (like anchors) > > > > by "select all" you mean highlighting every matched fragment? > This is possible, but definitely some extra work needed (as there > is currently only one continuos selection-area supported). > Could it be sufficient to just have find-first/next/previous > functions? Yes, this is what I meant, but yes, it would be sufficient to do it one at a time. Skip the multi select idea, 'keep it simple' is always good advice. > > Aleks. Thanks again, -- Riaan Booysen ___________________________________________________ Boa Constructor - RAD GUI building IDE for wxPython http://boa-constructor.sourceforge.net |
From: Aleksandras G. <al...@so...> - 2001-09-12 13:50:19
|
Riaan Booysen > > Feature request: When doing a Search or Find with the help controller > it would be great if the wxHtmlWindow could select all occurences > of the search string and the have facility jump to the matches > (like anchors) > by "select all" you mean highlighting every matched fragment? This is possible, but definitely some extra work needed (as there is currently only one continuos selection-area supported). Could it be sufficient to just have find-first/next/previous functions? Aleks. |
From: Riaan B. <riaan@e.co.za> - 2001-09-12 13:33:19
|
Hi Aleksandras, "Aleksandras G." wrote: > > Hi, > > (crossposting to wx-dev, as it might well be relevant) > > Riaan Booysen wrote: > >> Would be really useful if boa allowed you to cut text from the help files > >> and then paste into my code. The new help documentation is first class but > >> frustrating that cut & paste seems to be disabled. > >>.... > >.. > > Copy/paste is not disabled, it has not been implemented (yet?) for > > wxHtmlWindow. As you can imagine it would be a non trivial task. > > > > Yes, there is none. The author of wxHtml (Vaclav Slavik) has designed it as > a viewer primarily, whereas cursor/selection more less would requires a > sophistication of an editor (eventhough intuitively it seams simple to add). > But the _early_ news is, that for the past few weeks (at my very limited spare time) > I've been implementing wxHtmlEditor component based on wxHtml. > An important part of this effort are the improvements made to original wxHtml > sources to support cursor movement and selections (with cut/paste) for the read-only > content. As for progress, among other things, a basic cursor movement and text selection > (without cut/paste) are implemented. > > So I'm letting you interested people know that possibly, the feature you are expecting > might land into wxWin-cvs within a month or so. Brilliant! I'm really looking forward to this! Boa thanks you! Feature request: When doing a Search or Find with the help controller it would be great if the wxHtmlWindow could select all occurences of the search string and the have facility jump to the matches (like anchors) > > Regards, > Aleks. > > _______________________________________________ > Boa-constructor-users mailing list > Boa...@li... > https://lists.sourceforge.net/lists/listinfo/boa-constructor-users -- Riaan Booysen ___________________________________________________ Boa Constructor - RAD GUI building IDE for wxPython http://boa-constructor.sourceforge.net |
From: Aleksandras G. <al...@so...> - 2001-09-12 12:12:57
|
Hi, (crossposting to wx-dev, as it might well be relevant) Riaan Booysen wrote: >> Would be really useful if boa allowed you to cut text from the help files >> and then paste into my code. The new help documentation is first class but >> frustrating that cut & paste seems to be disabled. >>.... >.. > Copy/paste is not disabled, it has not been implemented (yet?) for > wxHtmlWindow. As you can imagine it would be a non trivial task. > Yes, there is none. The author of wxHtml (Vaclav Slavik) has designed it as a viewer primarily, whereas cursor/selection more less would requires a sophistication of an editor (eventhough intuitively it seams simple to add). But the _early_ news is, that for the past few weeks (at my very limited spare time) I've been implementing wxHtmlEditor component based on wxHtml. An important part of this effort are the improvements made to original wxHtml sources to support cursor movement and selections (with cut/paste) for the read-only content. As for progress, among other things, a basic cursor movement and text selection (without cut/paste) are implemented. So I'm letting you interested people know that possibly, the feature you are expecting might land into wxWin-cvs within a month or so. Regards, Aleks. |
From: Riaan B. <riaan@e.co.za> - 2001-09-11 17:06:47
|
Hi Benno, Benno Dielmann wrote: > > Hi, > > > By the way, sometime boa "eats" the last line of a user module. > > > > Something similar is fixed in 0.0.13 I think... > > > > Yes and no... Previously, it used to eat the last character sometimes and now > it sometimes eats a whole line... I have not seen this one and would really like to fix it! Please post steps to reproduce this. > > ...seems like it's performing an undo when saving... It does, as a workaround to an wxSTC bug in 2.3.0 a space is added to the end of the document before refreshing and removed with an undo operation afterwards. This does not loose data. > > Besides these minor issues, Boa is already a very great tool! Good work! Thanks! -- Riaan Booysen ___________________________________________________ Boa Constructor - RAD GUI building IDE for wxPython http://boa-constructor.sourceforge.net |
From: Riaan B. <riaan@e.co.za> - 2001-09-11 17:00:46
|
Hi Finbarr, Finbarr O'Keeffe wrote: > > Would be really useful if boa allowed you to cut text from the help files > and then paste into my code. The new help documentation is first class but > frustrating that cut & paste seems to be disabled. Yes, I also really miss the capability to copy/paste from the help :( Copy/paste is not disabled, it has not been implemented (yet?) for wxHtmlWindow. As you can imagine it would be a non trivial task. I've considered adding a button to the toolbar in the help to copy the whole current page (as text converted from the html) to the clipboard. Maybe this would be better than nothing... > > Regards > Finbarr > > _______________________________________________ > Boa-constructor-users mailing list > Boa...@li... > https://lists.sourceforge.net/lists/listinfo/boa-constructor-users -- Riaan Booysen ___________________________________________________ Boa Constructor - RAD GUI building IDE for wxPython http://boa-constructor.sourceforge.net |
From: Benno D. <ma...@be...> - 2001-09-11 12:12:51
|
Hi, > > By the way, sometime boa "eats" the last line of a user module. > > Something similar is fixed in 0.0.13 I think... > Yes and no... Previously, it used to eat the last character sometimes and now it sometimes eats a whole line... ...seems like it's performing an undo when saving... Besides these minor issues, Boa is already a very great tool! Good work! |
From: Finbarr O'K. <fo...@mc...> - 2001-09-11 10:18:39
|
Would be really useful if boa allowed you to cut text from the help files and then paste into my code. The new help documentation is first class but frustrating that cut & paste seems to be disabled. Regards Finbarr |
From: Riaan B. <riaan@e.co.za> - 2001-09-10 18:03:27
|
Hi Antoni, Antoni Aloy wrote: > > Hi! > > I have a big problem with v. 0.13 under W98. Python.exe causes an execption > and boa dies. I have had to revert to v 0.12 that works. I just saw that COM is not blocked by default anymore. This may be it. In prefs.rc.py, change it to the following: blockCOM = true > > Any ideas? If it is not the above, run Boa with the -T command line option. This creates a log file (called Boa.trace) of every function that is entered and exited. Please do not mail me the whole log file, only the last line. > > By the way, sometime boa "eats" the last line of a user module. Something similar is fixed in 0.0.13 I think... > > Regards, > > Antoni Aloy > > _______________________________________________ > Boa-constructor-users mailing list > Boa...@li... > https://lists.sourceforge.net/lists/listinfo/boa-constructor-users Thanks, -- Riaan Booysen ___________________________________________________ Boa Constructor - RAD GUI building IDE for wxPython http://boa-constructor.sourceforge.net |