Ed Leafe wrote:
On Dec 2, 2008, at 5:59 PM, johnf wrote:
Sure! But a follow up question. How does one use a cdxml file as
class to be
used in a hand coded form. For example:
It's not that hard:
from dabo.lib.DesignerXmlConverter import DesignerXmlConverter
conv =
Ed Leafe wrote:
BTW, the Class Designer supports non-sizer layouts, too. In fact, the
code for the marquee selection of objects is from PythonCard that
Kevin Altis told me about way back when I did the first attempt at
creating the tool.
That's great news.
How do you access
Alex Tweedly wrote:
Ed Leafe wrote:
BTW, the Class Designer supports non-sizer layouts, too. In fact, the
code for the marquee selection of objects is from PythonCard that
Kevin Altis told me about way back when I did the first attempt at
creating the tool.
That's great news.
On Dec 2, 2008, at 11:19 PM, Paul McNett wrote:
Of course I'm just spouting without having an implementation, and
I'm sure there are
(surmountable) problems with my ideas. ;)
Well, like I said before: I agree with the ideas, having tried to
work that way myself. The seemingly
On Dec 3, 2008, at 7:33 AM, Alex Tweedly wrote:
How do you access the non-sizer mode ?
Create a new form, but uncheck the 'Use Sizers' box.
The default of using sizers was a conscious decision intended to
discourage absolute layouts and promote cross-platform thinking.
--
Ed Leafe wrote:
On Dec 2, 2008, at 11:19 PM, Paul McNett wrote:
Of course I'm just spouting without having an implementation, and
I'm sure there are
(surmountable) problems with my ideas. ;)
Well, like I said before: I agree with the ideas, having tried to
work that way myself.
Ed Leafe wrote:
On Dec 3, 2008, at 7:33 AM, Alex Tweedly wrote:
How do you access the non-sizer mode ?
Create a new form, but uncheck the 'Use Sizers' box.
The default of using sizers was a conscious decision intended to
discourage absolute layouts and promote
On Dec 3, 2008, at 8:21 AM, Paul McNett wrote:
At the risk of becoming an unwelcome complete pain in the ass :)
A little late for that, docha think? :-P
I'd like to suggest an idea based on Qt Designer for the following
workflow for form/class design
I think you know my
Ed Leafe wrote:
On Dec 3, 2008, at 8:21 AM, Paul McNett wrote:
I'd like to suggest an idea based on Qt Designer for the following
workflow for form/class design
I think you know my response: feel free to implement this and I'd be
happy to look at it. You might want to start with
On Dec 3, 2008, at 8:21 AM, Paul McNett wrote:
This gives the lowest barrier to entry, allows for really quick
design prototypes,
yet still encourages sizers.
Actually, I'm of the opinion that this discourages the use of sizers,
since for most people it requires turning their
On Dec 3, 2008, at 8:32 AM, Paul McNett wrote:
Perhaps I should make very small proofs-of-concept that we can
discuss. Now, how do I
fork myself? ;)
In comes a high hanging curveball...
;-)
-- Ed Leafe
___
Post Messages
Ed Leafe wrote:
On Dec 3, 2008, at 8:21 AM, Paul McNett wrote:
This gives the lowest barrier to entry, allows for really quick
design prototypes,
yet still encourages sizers.
Actually, I'm of the opinion that this discourages the use of sizers,
since for most people it
Dear Dabo
Platform: GTK
Python Version: 2.5.2 on linux2
Dabo Version: Version 0.8.4; Revision 4740
UI Version: 2.8.9.1 on wxGTK (gtk2)
I am using SQLite database and created a simple customer database.
There is only one Table called Customer that has three fields: ID type
Integer, valid
A reply from another newby! Hopefully I am not steering you incorrectly! You
need to add the bizObj to your form - the best guide is the document 'The
Step-By-Step Guide to Dabo Programming' at
http://docs.google.com/View?docid=dg79jzmg_3x78zkp , on pages 13 14.
Hope this helps
Am 2008-12-03 um 04:35 schrieb Ed Leafe:
OK, I've just committed a change to the code that handles
DroppedFileHandler and DroppedTextHandler for grids. Grab the latest
SVN trunk and let me know how it works for you.
That works now, thank you very much!
Greetlings from Lake Constance!
On Dec 3, 2008, at 2:40 PM, Bob Sysero llc Dev wrote:
In the ui folder I created my myCalc.cdxml using the class designer
and create a panel with two vertical sizers. The top sizer I selected
Add controls from data environment and found the FIRST PROBLEM.
When
it asked for where my
On Dec 3, 2008, at 3:07 PM, Henning Hraban Ramm wrote:
That works now, thank you very much!
Cool! Thanks for bringing this to our attention.
-- Ed Leafe
___
Post Messages to: Dabo-users@leafe.com
Subscription Maintenance:
Ed Leafe wrote:
On Dec 3, 2008, at 2:40 PM, Bob Sysero llc Dev wrote:
database../db/myCalcDB.sqlite/database
That's an unfortunate but known issue. Paths are relative from the
folder you were in when running the CxnEditor, as Dabo doesn't have a
true project manager yet. Glad
Success! Adding the line :-
(biz, glob.glob(biz/*)),
to the data files did the job. I will now try to work out how to convert
that to an includes directive (unfortunately I have no examples, so I'll
have to go digging).
As an aside. For development purposes I like the dabo folder
Roger Lovelock wrote:
Success! Adding the line :-
(biz, glob.glob(biz/*)),
to the data files did the job. I will now try to work out how to convert
that to an includes directive (unfortunately I have no examples, so I'll
have to go digging).
As an aside. For development purposes I
On Dec 3, 2008, at 4:38 PM, Bob Sysero llc Dev wrote:
The steps are very similar but when you select Add BizObject you are
asked where do you want to save the BizObject in a folder under the
name
CustomerBizobj.py which I saved in my biz folder. In my CD in the
Editor
for DesForm
Here's the recipe for something I tried (I'll include the cdxml at the
end, but it probably won't help).
Start up Class Designer.
Create Vertical Sizer with 3 slots
Insert a Button in middle slot
In top slot, add a new spacer (size = 10)
edit sizer setting for this spacer, set
Uwe Grauer wrote:
Alex Tweedly wrote:
That's great news.
How do you access the non-sizer mode ? When I start ClassDesigner, the
default (blank) Form already has
If you use the menu option New Class/Form you can specify if you want
to use sizers.
Thanks (and to Ed also for
On Dec 3, 2008, at 5:17 PM, alex wrote:
Save it to a file
Open the file
[ now it looks wrong - the spacers have shrunk to very small - their
slot's proportion has reverted to 0, and the 'expand' has also been
lost ]
Am I maybe setting the 'proportion' in the wrong place ? But if so,
On Wednesday 03 December 2008 03:17:01 pm alex wrote:
Here's the recipe for something I tried (I'll include the cdxml at the
end, but it probably won't help).
Start up Class Designer.
Create Vertical Sizer with 3 slots
Insert a Button in middle slot
In top slot, add a new spacer (size =
On Dec 3, 2008, at 5:29 PM, johnf wrote:
Works the same on Linux. But I think it would have to do with the
fact that
you set the spacer to 10. Which means take 10 pix's for space.
Try not
setting the top sizer as a spacer. It should as expected. It does
on my
Linux box.
Paul McNett wrote:
At the risk of becoming an unwelcome complete pain in the ass :) I'd
like to suggest
an idea based on Qt Designer for the following workflow for form/class design:
1) The appdev adds controls, etc.
2) Position and size controls to the level of accuracy the appdev
On Wednesday 03 December 2008 04:47:40 pm Bob Sysero llc Dev wrote:
Ed Leafe wrote:
On Dec 3, 2008, at 4:38 PM, Bob Sysero llc Dev wrote
Perhaps you have an old version of dApp.py? Since you have the newer
IDE code, I'm assuming that you are running using the SVN code. We
recently
johnf wrote:
On Wednesday 03 December 2008 04:47:40 pm Bob Sysero llc Dev wrote:
Ed Leafe wrote:
On Dec 3, 2008, at 4:38 PM, Bob Sysero llc Dev wrote
Perhaps you have an old version of dApp.py? Since you have the newer
IDE code, I'm assuming that you are running using the SVN
Ed Leafe wrote:
On Dec 3, 2008, at 8:26 PM, Bob Sysero llc Dev wrote:
My question is why do you have to be in the top project folder to
access the biz, db, ui .. folders?
Because when the app starts up, it will be running from the main.py
in the project directory, and
On Dec 3, 2008, at 8:45 PM, Bob Sysero llc Dev wrote:
Thank you Ed I am slowly understanding.
That's great. Keep the questions coming!
-- Ed Leafe
___
Post Messages to: Dabo-users@leafe.com
Subscription Maintenance:
On Dec 3, 2008, at 5:28 PM, Ed Leafe wrote:
Am I maybe setting the 'proportion' in the wrong place ? But if so,
why
does it appear to work until it has been saved / re-read ?
I've done a lot of work recently tweaking the defaults for various
items in the Class Designer. Since we only
Attempting to add data using add control from data I the following error:
Traceback (most recent call last):
File /home/johnf/downloads/dabo/dabo/ui/uiwx/dControlMixin.py, line 27, in
_onWxHit
self.raiseEvent(dEvents.Hit, evt, *args, **kwargs)
File
On Wednesday 03 December 2008 08:35:16 pm johnf wrote:
Attempting to add data using add control from data I the following error:
Traceback (most recent call last):
File /home/johnf/downloads/dabo/dabo/ui/uiwx/dControlMixin.py, line 27,
in _onWxHit
self.raiseEvent(dEvents.Hit, evt,
I could not delete a grid column from the ClassDesigner. I do get a standard
out statement but no traceback:
NO ON CONTEXT 'controlMix' object has no attribute 'ControllingSizer'
--
John Fabiani
___
Post Messages to: Dabo-users@leafe.com
35 matches
Mail list logo