You can subscribe to this list here.
| 2004 |
Jan
|
Feb
|
Mar
|
Apr
(45) |
May
(185) |
Jun
|
Jul
(36) |
Aug
(205) |
Sep
(98) |
Oct
(107) |
Nov
(6) |
Dec
(3) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2005 |
Jan
(1) |
Feb
(2) |
Mar
(19) |
Apr
(26) |
May
(18) |
Jun
|
Jul
(12) |
Aug
(16) |
Sep
(22) |
Oct
(7) |
Nov
(11) |
Dec
(74) |
| 2006 |
Jan
(14) |
Feb
(1) |
Mar
(3) |
Apr
(3) |
May
(14) |
Jun
(5) |
Jul
(20) |
Aug
(10) |
Sep
(1) |
Oct
|
Nov
(4) |
Dec
(1) |
| 2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(3) |
Jul
(14) |
Aug
|
Sep
|
Oct
(6) |
Nov
(1) |
Dec
|
|
From: Kevin A. <ka...@us...> - 2004-08-16 20:34:22
|
Update of /cvsroot/pythoncard/PythonCard/samples/companies In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27177/samples/companies Modified Files: companies.rsrc.py Log Message: moved all components up 30 pixels Index: companies.rsrc.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/companies/companies.rsrc.py,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** companies.rsrc.py 16 Aug 2004 19:56:29 -0000 1.4 --- companies.rsrc.py 16 Aug 2004 20:34:11 -0000 1.5 *************** *** 5,9 **** 'name':'bgBody', 'title':'Companies', ! 'size':(439, 388), 'statusBar':1, --- 5,9 ---- 'name':'bgBody', 'title':'Companies', ! 'size':(438, 375), 'statusBar':1, *************** *** 139,143 **** {'type':'TextField', 'name':'Company', ! 'position':(110, 40), 'size':(306, 23), 'editable':False, --- 139,143 ---- {'type':'TextField', 'name':'Company', ! 'position':(110, 10), 'size':(306, 23), 'editable':False, *************** *** 146,150 **** {'type':'TextArea', 'name':'Address', ! 'position':(110, 70), 'size':(306, 61), 'editable':False, --- 146,150 ---- {'type':'TextArea', 'name':'Address', ! 'position':(110, 40), 'size':(306, 61), 'editable':False, *************** *** 153,157 **** {'type':'TextField', 'name':'Phone', ! 'position':(110, 140), 'size':(169, -1), 'editable':False, --- 153,157 ---- {'type':'TextField', 'name':'Phone', ! 'position':(110, 110), 'size':(169, -1), 'editable':False, *************** *** 160,164 **** {'type':'TextField', 'name':'Web', ! 'position':(110, 170), 'size':(307, -1), 'editable':False, --- 160,164 ---- {'type':'TextField', 'name':'Web', ! 'position':(110, 140), 'size':(307, -1), 'editable':False, *************** *** 168,172 **** {'type':'TextField', 'name':'Profile', ! 'position':(110, 200), 'size':(307, -1), 'editable':False, --- 168,172 ---- {'type':'TextField', 'name':'Profile', ! 'position':(110, 170), 'size':(307, -1), 'editable':False, *************** *** 176,180 **** {'type':'TextField', 'name':'Symbol', ! 'position':(110, 235), 'size':(73, -1), 'editable':False, --- 176,180 ---- {'type':'TextField', 'name':'Symbol', ! 'position':(110, 205), 'size':(73, -1), 'editable':False, *************** *** 184,188 **** {'type':'TextField', 'name':'Exchange', ! 'position':(275, 235), 'size':(73, -1), 'editable':False, --- 184,188 ---- {'type':'TextField', 'name':'Exchange', ! 'position':(275, 205), 'size':(73, -1), 'editable':False, *************** *** 191,195 **** {'type':'TextField', 'name':'NumberOfEmployees', ! 'position':(110, 265), 'size':(73, -1), 'editable':False, --- 191,195 ---- {'type':'TextField', 'name':'NumberOfEmployees', ! 'position':(110, 235), 'size':(73, -1), 'editable':False, *************** *** 198,202 **** {'type':'StaticText', 'name':'ExchangeLabel', ! 'position':(195, 240), 'size':(68, -1), 'alignment':'right', --- 198,202 ---- {'type':'StaticText', 'name':'ExchangeLabel', ! 'position':(195, 210), 'size':(68, -1), 'alignment':'right', *************** *** 206,210 **** {'type':'StaticText', 'name':'SymbolLabel', ! 'position':(5, 240), 'size':(100, -1), 'alignment':'right', --- 206,210 ---- {'type':'StaticText', 'name':'SymbolLabel', ! 'position':(5, 210), 'size':(100, -1), 'alignment':'right', *************** *** 214,218 **** {'type':'StaticText', 'name':'EmployeesLabel', ! 'position':(5, 270), 'size':(100, -1), 'alignment':'right', --- 214,218 ---- {'type':'StaticText', 'name':'EmployeesLabel', ! 'position':(5, 240), 'size':(100, -1), 'alignment':'right', *************** *** 222,226 **** {'type':'StaticText', 'name':'CompanyLabel', ! 'position':(5, 45), 'size':(100, -1), 'alignment':'right', --- 222,226 ---- {'type':'StaticText', 'name':'CompanyLabel', ! 'position':(5, 15), 'size':(100, -1), 'alignment':'right', *************** *** 230,234 **** {'type':'StaticText', 'name':'StreetLabel', ! 'position':(5, 80), 'size':(100, -1), 'alignment':'right', --- 230,234 ---- {'type':'StaticText', 'name':'StreetLabel', ! 'position':(5, 50), 'size':(100, -1), 'alignment':'right', *************** *** 238,242 **** {'type':'StaticText', 'name':'TelephoneLabel', ! 'position':(5, 145), 'size':(100, -1), 'alignment':'right', --- 238,242 ---- {'type':'StaticText', 'name':'TelephoneLabel', ! 'position':(5, 115), 'size':(100, -1), 'alignment':'right', *************** *** 246,250 **** {'type':'StaticText', 'name':'EmailLabel', ! 'position':(5, 205), 'size':(100, -1), 'alignment':'right', --- 246,250 ---- {'type':'StaticText', 'name':'EmailLabel', ! 'position':(5, 175), 'size':(100, -1), 'alignment':'right', *************** *** 254,258 **** {'type':'StaticText', 'name':'WebLabel', ! 'position':(5, 175), 'size':(100, -1), 'alignment':'right', --- 254,258 ---- {'type':'StaticText', 'name':'WebLabel', ! 'position':(5, 145), 'size':(100, -1), 'alignment':'right', *************** *** 262,266 **** {'type':'Button', 'name':'Prev', ! 'position':(61, 312), 'command':'goPrev', 'label':'Previous', --- 262,266 ---- {'type':'Button', 'name':'Prev', ! 'position':(61, 282), 'command':'goPrev', 'label':'Previous', *************** *** 269,273 **** {'type':'Button', 'name':'Next', ! 'position':(152, 312), 'command':'goNext', 'label':'Next', --- 269,273 ---- {'type':'Button', 'name':'Next', ! 'position':(152, 282), 'command':'goNext', 'label':'Next', *************** *** 276,280 **** {'type':'Button', 'name':'Find', ! 'position':(266, 312), 'command':'findRecord', 'label':'Find...', --- 276,280 ---- {'type':'Button', 'name':'Find', ! 'position':(266, 282), 'command':'findRecord', 'label':'Find...', |
|
From: Kevin A. <ka...@us...> - 2004-08-16 20:26:21
|
Update of /cvsroot/pythoncard/PythonCard/tools/resourceEditor In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25770/tools/resourceEditor Modified Files: resourceEditor.py Log Message: workarounds for StaticBox best size and mouse offsets Index: resourceEditor.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/tools/resourceEditor/resourceEditor.py,v retrieving revision 1.207 retrieving revision 1.208 diff -C2 -d -r1.207 -r1.208 *** resourceEditor.py 16 Aug 2004 13:17:25 -0000 1.207 --- resourceEditor.py 16 Aug 2004 20:26:12 -0000 1.208 *************** *** 480,483 **** --- 480,490 ---- elif ['PasswordField', 'TextField', 'TextArea'].count(t): self.startGlobalOffset = [self.startGlobalOffset[0] + 3, self.startGlobalOffset[1] + 3] + elif ['StaticBox'].count(t): + # KEA 2004-08-16 + # sigh, another complete behavior hack + if target.label: + self.startGlobalOffset = [self.startGlobalOffset[0] + 4, self.startGlobalOffset[1] + 18] + else: + self.startGlobalOffset = [self.startGlobalOffset[0] + 4, self.startGlobalOffset[1] + 3] #print "globalPosition", globalPosition #print "self.startGlobalPosition", self.startGlobalPosition |
|
From: Kevin A. <ka...@us...> - 2004-08-16 20:26:21
|
Update of /cvsroot/pythoncard/PythonCard/tools/resourceEditor/modules In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25770/tools/resourceEditor/modules Modified Files: resourceOutput.py Log Message: workarounds for StaticBox best size and mouse offsets Index: resourceOutput.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/tools/resourceEditor/modules/resourceOutput.py,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -d -r1.28 -r1.29 *** resourceOutput.py 11 Aug 2004 01:58:03 -0000 1.28 --- resourceOutput.py 16 Aug 2004 20:26:13 -0000 1.29 *************** *** 50,54 **** if aWidget.__class__.__name__ in imgWidgets: width, height = aWidget._size ! elif aWidget.__class__.__name__ not in ['BitmapCanvas', 'HtmlWindow', 'IEHtmlWindow', 'Gauge']: bestWidth, bestHeight = aWidget.GetBestSize() if bestWidth == width: --- 50,54 ---- if aWidget.__class__.__name__ in imgWidgets: width, height = aWidget._size ! elif aWidget.__class__.__name__ not in ['BitmapCanvas', 'HtmlWindow', 'IEHtmlWindow', 'Gauge', 'StaticBox']: bestWidth, bestHeight = aWidget.GetBestSize() if bestWidth == width: |
|
From: Kevin A. <ka...@us...> - 2004-08-16 20:11:49
|
Update of /cvsroot/pythoncard/PythonCard/samples/flatfileDatabase In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23379 Modified Files: flatfileDatabase.rsrc.py Log Message: Mac layout tweaks Index: flatfileDatabase.rsrc.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/flatfileDatabase/flatfileDatabase.rsrc.py,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** flatfileDatabase.rsrc.py 10 May 2004 05:02:14 -0000 1.7 --- flatfileDatabase.rsrc.py 16 Aug 2004 20:11:39 -0000 1.8 *************** *** 5,9 **** 'name':'bgBody', 'title':'Addresses', ! 'size':(416, 504), 'menubar': {'type':'MenuBar', --- 5,9 ---- 'name':'bgBody', 'title':'Addresses', ! 'size':(416, 548), 'menubar': {'type':'MenuBar', *************** *** 143,153 **** {'type':'StaticBox', 'name':'StaticBox1', ! 'position':(283, 118), ! 'size':(119, 150), }, {'type':'TextField', 'name':'Name', ! 'position':(100, 17), 'size':(241, 24), }, --- 143,153 ---- {'type':'StaticBox', 'name':'StaticBox1', ! 'position':(285, 120), ! 'size':(120, 150), }, {'type':'TextField', 'name':'Name', ! 'position':(100, 15), 'size':(241, 24), }, *************** *** 155,159 **** {'type':'TextField', 'name':'Company', ! 'position':(100, 39), 'size':(241, 23), }, --- 155,159 ---- {'type':'TextField', 'name':'Company', ! 'position':(100, 45), 'size':(241, 23), }, *************** *** 161,165 **** {'type':'TextField', 'name':'Street', ! 'position':(100, 72), 'size':(241, 23), }, --- 161,165 ---- {'type':'TextField', 'name':'Street', ! 'position':(100, 75), 'size':(241, 23), }, *************** *** 167,171 **** {'type':'TextField', 'name':'City', ! 'position':(100, 94), 'size':(171, 23), }, --- 167,171 ---- {'type':'TextField', 'name':'City', ! 'position':(100, 105), 'size':(171, 23), }, *************** *** 173,177 **** {'type':'TextField', 'name':'State', ! 'position':(100, 116), 'size':(39, 23), }, --- 173,177 ---- {'type':'TextField', 'name':'State', ! 'position':(100, 135), 'size':(39, 23), }, *************** *** 179,183 **** {'type':'TextField', 'name':'Zip', ! 'position':(100, 138), 'size':(85, 23), }, --- 179,183 ---- {'type':'TextField', 'name':'Zip', ! 'position':(100, 165), 'size':(85, 23), }, *************** *** 185,189 **** {'type':'TextField', 'name':'Phone1', ! 'position':(100, 176), 'size':(169, -1), }, --- 185,189 ---- {'type':'TextField', 'name':'Phone1', ! 'position':(100, 195), 'size':(169, -1), }, *************** *** 191,195 **** {'type':'TextField', 'name':'Phone2', ! 'position':(100, 198), 'size':(169, -1), }, --- 191,195 ---- {'type':'TextField', 'name':'Phone2', ! 'position':(100, 225), 'size':(169, -1), }, *************** *** 197,201 **** {'type':'TextField', 'name':'Phone3', ! 'position':(100, 220), 'size':(169, -1), }, --- 197,201 ---- {'type':'TextField', 'name':'Phone3', ! 'position':(100, 255), 'size':(169, -1), }, *************** *** 203,207 **** {'type':'TextField', 'name':'Phone4', ! 'position':(100, 242), 'size':(169, -1), }, --- 203,207 ---- {'type':'TextField', 'name':'Phone4', ! 'position':(100, 285), 'size':(169, -1), }, *************** *** 209,213 **** {'type':'TextField', 'name':'Email', ! 'position':(100, 274), 'size':(300, -1), }, --- 209,213 ---- {'type':'TextField', 'name':'Email', ! 'position':(100, 315), 'size':(300, -1), }, *************** *** 215,219 **** {'type':'TextField', 'name':'Web', ! 'position':(100, 298), 'size':(300, -1), }, --- 215,219 ---- {'type':'TextField', 'name':'Web', ! 'position':(100, 345), 'size':(300, -1), }, *************** *** 221,225 **** {'type':'TextArea', 'name':'Notes', ! 'position':(100, 322), 'size':(300, 135), }, --- 221,225 ---- {'type':'TextArea', 'name':'Notes', ! 'position':(100, 375), 'size':(300, 135), }, *************** *** 227,232 **** {'type':'StaticText', 'name':'NameLabel', ! 'position':(7, 24), ! 'size':(68, 16), 'alignment':'right', 'text':'Name', --- 227,232 ---- {'type':'StaticText', 'name':'NameLabel', ! 'position':(5, 20), ! 'size':(68, -1), 'alignment':'right', 'text':'Name', *************** *** 235,240 **** {'type':'StaticText', 'name':'CompanyLabel', ! 'position':(7, 46), ! 'size':(68, 16), 'alignment':'right', 'text':'Company', --- 235,240 ---- {'type':'StaticText', 'name':'CompanyLabel', ! 'position':(5, 50), ! 'size':(68, -1), 'alignment':'right', 'text':'Company', *************** *** 243,248 **** {'type':'StaticText', 'name':'StreetLabel', ! 'position':(8, 79), ! 'size':(68, 16), 'alignment':'right', 'text':'Street', --- 243,248 ---- {'type':'StaticText', 'name':'StreetLabel', ! 'position':(5, 85), ! 'size':(68, -1), 'alignment':'right', 'text':'Street', *************** *** 251,256 **** {'type':'StaticText', 'name':'CityLabel', ! 'position':(8, 101), ! 'size':(68, 16), 'alignment':'right', 'text':'City', --- 251,256 ---- {'type':'StaticText', 'name':'CityLabel', ! 'position':(5, 110), ! 'size':(68, -1), 'alignment':'right', 'text':'City', *************** *** 259,264 **** {'type':'StaticText', 'name':'StateLabel', ! 'position':(8, 123), ! 'size':(68, 16), 'alignment':'right', 'text':'State', --- 259,264 ---- {'type':'StaticText', 'name':'StateLabel', ! 'position':(5, 140), ! 'size':(68, -1), 'alignment':'right', 'text':'State', *************** *** 267,272 **** {'type':'StaticText', 'name':'ZipCodeLabel', ! 'position':(8, 145), ! 'size':(68, 16), 'alignment':'right', 'text':'Zip Code', --- 267,272 ---- {'type':'StaticText', 'name':'ZipCodeLabel', ! 'position':(5, 170), ! 'size':(68, -1), 'alignment':'right', 'text':'Zip Code', *************** *** 275,280 **** {'type':'StaticText', 'name':'TelephoneLabel', ! 'position':(7, 180), ! 'size':(68, 16), 'alignment':'right', 'text':'Telephone', --- 275,280 ---- {'type':'StaticText', 'name':'TelephoneLabel', ! 'position':(5, 200), ! 'size':(68, -1), 'alignment':'right', 'text':'Telephone', *************** *** 283,288 **** {'type':'StaticText', 'name':'EmailLabel', ! 'position':(7, 278), ! 'size':(68, 16), 'alignment':'right', 'text':'Email', --- 283,288 ---- {'type':'StaticText', 'name':'EmailLabel', ! 'position':(5, 320), ! 'size':(68, -1), 'alignment':'right', 'text':'Email', *************** *** 291,296 **** {'type':'StaticText', 'name':'WebLabel', ! 'position':(7, 302), ! 'size':(68, 16), 'alignment':'right', 'text':'Web', --- 291,296 ---- {'type':'StaticText', 'name':'WebLabel', ! 'position':(5, 350), ! 'size':(68, -1), 'alignment':'right', 'text':'Web', *************** *** 299,304 **** {'type':'StaticText', 'name':'NotesLabel', ! 'position':(7, 325), ! 'size':(68, 16), 'alignment':'right', 'text':'Notes', --- 299,304 ---- {'type':'StaticText', 'name':'NotesLabel', ! 'position':(5, 380), ! 'size':(68, -1), 'alignment':'right', 'text':'Notes', *************** *** 352,356 **** 'size':(30, 19), 'text':'1', ! 'visible':0, }, --- 352,356 ---- 'size':(30, 19), 'text':'1', ! 'visible':False, }, *************** *** 360,364 **** 'size':(73, 19), 'text':'last word', ! 'visible':0, }, --- 360,364 ---- 'size':(73, 19), 'text':'last word', ! 'visible':False, }, *************** *** 367,371 **** 'position':(100, 0), 'size':(241, 24), ! 'visible':0, }, --- 367,371 ---- 'position':(100, 0), 'size':(241, 24), ! 'visible':False, }, |
|
From: Kevin A. <ka...@us...> - 2004-08-16 19:56:39
|
Update of /cvsroot/pythoncard/PythonCard/samples/companies In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20464 Modified Files: companies.rsrc.py Log Message: Mac layout tweaks Index: companies.rsrc.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/companies/companies.rsrc.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** companies.rsrc.py 10 May 2004 05:02:04 -0000 1.3 --- companies.rsrc.py 16 Aug 2004 19:56:29 -0000 1.4 *************** *** 5,9 **** 'name':'bgBody', 'title':'Companies', ! 'size':(418, 412), 'statusBar':1, --- 5,9 ---- 'name':'bgBody', 'title':'Companies', ! 'size':(439, 388), 'statusBar':1, *************** *** 139,166 **** {'type':'TextField', 'name':'Company', ! 'position':(100, 39), 'size':(306, 23), ! 'editable':0, }, {'type':'TextArea', 'name':'Address', ! 'position':(100, 72), 'size':(306, 61), ! 'editable':0, }, {'type':'TextField', 'name':'Phone', ! 'position':(100, 143), 'size':(169, -1), ! 'editable':0, }, {'type':'TextField', 'name':'Web', ! 'position':(100, 173), 'size':(307, -1), ! 'editable':0, 'foregroundColor':(0, 0, 255), }, --- 139,166 ---- {'type':'TextField', 'name':'Company', ! 'position':(110, 40), 'size':(306, 23), ! 'editable':False, }, {'type':'TextArea', 'name':'Address', ! 'position':(110, 70), 'size':(306, 61), ! 'editable':False, }, {'type':'TextField', 'name':'Phone', ! 'position':(110, 140), 'size':(169, -1), ! 'editable':False, }, {'type':'TextField', 'name':'Web', ! 'position':(110, 170), 'size':(307, -1), ! 'editable':False, 'foregroundColor':(0, 0, 255), }, *************** *** 168,174 **** {'type':'TextField', 'name':'Profile', ! 'position':(100, 204), 'size':(307, -1), ! 'editable':0, 'foregroundColor':(0, 0, 255), }, --- 168,174 ---- {'type':'TextField', 'name':'Profile', ! 'position':(110, 200), 'size':(307, -1), ! 'editable':False, 'foregroundColor':(0, 0, 255), }, *************** *** 176,182 **** {'type':'TextField', 'name':'Symbol', ! 'position':(100, 236), 'size':(73, -1), ! 'editable':0, 'foregroundColor':(0, 0, 255), }, --- 176,182 ---- {'type':'TextField', 'name':'Symbol', ! 'position':(110, 235), 'size':(73, -1), ! 'editable':False, 'foregroundColor':(0, 0, 255), }, *************** *** 184,203 **** {'type':'TextField', 'name':'Exchange', ! 'position':(265, 237), 'size':(73, -1), ! 'editable':0, }, {'type':'TextField', 'name':'NumberOfEmployees', ! 'position':(100, 266), 'size':(73, -1), ! 'editable':0, }, {'type':'StaticText', 'name':'ExchangeLabel', ! 'position':(174, 241), ! 'size':(68, 16), 'alignment':'right', 'text':'Exchange', --- 184,203 ---- {'type':'TextField', 'name':'Exchange', ! 'position':(275, 235), 'size':(73, -1), ! 'editable':False, }, {'type':'TextField', 'name':'NumberOfEmployees', ! 'position':(110, 265), 'size':(73, -1), ! 'editable':False, }, {'type':'StaticText', 'name':'ExchangeLabel', ! 'position':(195, 240), ! 'size':(68, -1), 'alignment':'right', 'text':'Exchange', *************** *** 206,211 **** {'type':'StaticText', 'name':'SymbolLabel', ! 'position':(12, 240), ! 'size':(68, 16), 'alignment':'right', 'text':'Stock Symbol', --- 206,211 ---- {'type':'StaticText', 'name':'SymbolLabel', ! 'position':(5, 240), ! 'size':(100, -1), 'alignment':'right', 'text':'Stock Symbol', *************** *** 214,219 **** {'type':'StaticText', 'name':'EmployeesLabel', ! 'position':(7, 270), ! 'size':(-1, 16), 'alignment':'right', 'text':'# of Employees', --- 214,219 ---- {'type':'StaticText', 'name':'EmployeesLabel', ! 'position':(5, 270), ! 'size':(100, -1), 'alignment':'right', 'text':'# of Employees', *************** *** 222,227 **** {'type':'StaticText', 'name':'CompanyLabel', ! 'position':(7, 46), ! 'size':(68, 16), 'alignment':'right', 'text':'Company', --- 222,227 ---- {'type':'StaticText', 'name':'CompanyLabel', ! 'position':(5, 45), ! 'size':(100, -1), 'alignment':'right', 'text':'Company', *************** *** 230,235 **** {'type':'StaticText', 'name':'StreetLabel', ! 'position':(8, 79), ! 'size':(68, 16), 'alignment':'right', 'text':'Address', --- 230,235 ---- {'type':'StaticText', 'name':'StreetLabel', ! 'position':(5, 80), ! 'size':(100, -1), 'alignment':'right', 'text':'Address', *************** *** 238,243 **** {'type':'StaticText', 'name':'TelephoneLabel', ! 'position':(10, 145), ! 'size':(68, 16), 'alignment':'right', 'text':'Telephone', --- 238,243 ---- {'type':'StaticText', 'name':'TelephoneLabel', ! 'position':(5, 145), ! 'size':(100, -1), 'alignment':'right', 'text':'Telephone', *************** *** 246,251 **** {'type':'StaticText', 'name':'EmailLabel', ! 'position':(11, 206), ! 'size':(68, 16), 'alignment':'right', 'text':'Profile', --- 246,251 ---- {'type':'StaticText', 'name':'EmailLabel', ! 'position':(5, 205), ! 'size':(100, -1), 'alignment':'right', 'text':'Profile', *************** *** 254,259 **** {'type':'StaticText', 'name':'WebLabel', ! 'position':(10, 176), ! 'size':(68, 16), 'alignment':'right', 'text':'Web', --- 254,259 ---- {'type':'StaticText', 'name':'WebLabel', ! 'position':(5, 175), ! 'size':(100, -1), 'alignment':'right', 'text':'Web', |
|
From: Kevin A. <ka...@us...> - 2004-08-16 16:39:44
|
Update of /cvsroot/pythoncard/PythonCard/tools/resourceEditor/modules In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12337/tools/resourceEditor/modules Modified Files: newComponentDialog.py newComponentDialog.rsrc.py Log Message: minor layout tweaks & code cleanup because I can't leave well enough alone Index: newComponentDialog.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/tools/resourceEditor/modules/newComponentDialog.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** newComponentDialog.py 16 Aug 2004 13:17:27 -0000 1.2 --- newComponentDialog.py 16 Aug 2004 16:39:34 -0000 1.3 *************** *** 18,38 **** else: add = "Copy" ! self.components.fldName.text = original['name']+add if "label" in attributes: ! self.components.lblLabelOrText.text = "Label" ! self.components.lblLabelOrText.visible = True if "label" in original.keys(): ! self.components.fldLabelOrText.text = original['label']+add else: ! self.components.fldLabelOrText.text = original['name']+add ! self.components.fldLabelOrText.visible = True elif "text" in attributes: ! self.components.lblLabelOrText.text = "Text" ! self.components.lblLabelOrText.visible = True if "text" in original.keys(): ! self.components.fldLabelOrText.text = original['text']+add else: ! self.components.fldLabelOrText.text = original['name']+add ! self.components.fldLabelOrText.visible = True else: self.components.lblLabelOrText.visible = False --- 18,34 ---- else: add = "Copy" ! self.components.fldName.text = original['name'] + add if "label" in attributes: ! self.components.lblLabelOrText.text = "Label:" if "label" in original.keys(): ! self.components.fldLabelOrText.text = original['label'] + add else: ! self.components.fldLabelOrText.text = original['name'] + add elif "text" in attributes: ! self.components.lblLabelOrText.text = "Text:" if "text" in original.keys(): ! self.components.fldLabelOrText.text = original['text'] + add else: ! self.components.fldLabelOrText.text = original['name'] + add else: self.components.lblLabelOrText.visible = False *************** *** 40,49 **** self.components.fldLabelOrText.enabled = False ! if offsets: ! self.components.chkHorizontal.visible = True ! self.components.chkVertical.visible = True ! else: ! self.components.chkHorizontal.visible = False ! self.components.chkVertical.visible = False def newComponentDialog(aBg, original, attributes, offsets, title): --- 36,41 ---- self.components.fldLabelOrText.enabled = False ! self.components.chkHorizontal.visible = offsets ! self.components.chkVertical.visible = offsets def newComponentDialog(aBg, original, attributes, offsets, title): Index: newComponentDialog.rsrc.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/tools/resourceEditor/modules/newComponentDialog.rsrc.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** newComponentDialog.rsrc.py 14 Aug 2004 07:46:20 -0000 1.2 --- newComponentDialog.rsrc.py 16 Aug 2004 16:39:34 -0000 1.3 *************** *** 7,18 **** {'type':'TextField', 'name':'fldName', ! 'position':(49, 9), ! 'size':(180, -1), }, {'type':'TextField', 'name':'fldLabelOrText', ! 'position':(50, 40), ! 'size':(180, -1), }, --- 7,18 ---- {'type':'TextField', 'name':'fldName', ! 'position':(60, 9), ! 'size':(230, -1), }, {'type':'TextField', 'name':'fldLabelOrText', ! 'position':(60, 40), ! 'size':(230, -1), }, *************** *** 20,24 **** 'name':'chkHorizontal', 'position':(10, 80), - 'size':(114, -1), 'label':'Offest Horizontally', }, --- 20,23 ---- *************** *** 26,31 **** {'type':'CheckBox', 'name':'chkVertical', ! 'position':(150, 80), ! 'size':(94, -1), 'label':'Offest Vertically', }, --- 25,29 ---- {'type':'CheckBox', 'name':'chkVertical', ! 'position':(170, 80), 'label':'Offest Vertically', }, *************** *** 48,63 **** {'type':'StaticText', 'name':'lblLabelOrText', ! 'position':(10, 40), ! 'size':(25, -1), 'alignment':'right', ! 'text':'Label', }, {'type':'StaticText', 'name':'lblName', ! 'position':(10, 10), ! 'size':(35, -1), 'alignment':'right', ! 'text':'Name ', }, --- 46,61 ---- {'type':'StaticText', 'name':'lblLabelOrText', ! 'position':(5, 40), ! 'size':(50, -1), 'alignment':'right', ! 'text':'Label:', }, {'type':'StaticText', 'name':'lblName', ! 'position':(5, 10), ! 'size':(50, -1), 'alignment':'right', ! 'text':'Name:', }, |
|
From: Alex T. <ale...@us...> - 2004-08-16 13:17:37
|
Update of /cvsroot/pythoncard/PythonCard/tools/resourceEditor/modules In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4407/tools/resourceEditor/modules Modified Files: newComponentDialog.py Log Message: Add a function wrapper for newCOmponentDialog, and use it from resourceEditor Use attributespec to identify whether label or text attributes apply to each component type. Index: newComponentDialog.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/tools/resourceEditor/modules/newComponentDialog.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** newComponentDialog.py 12 Aug 2004 23:55:49 -0000 1.1 --- newComponentDialog.py 16 Aug 2004 13:17:27 -0000 1.2 *************** *** 8,12 **** class NewComponentDialog(model.CustomDialog): ! def __init__(self, aBg, original, offsets, title): model.CustomDialog.__init__(self, aBg) --- 8,12 ---- class NewComponentDialog(model.CustomDialog): ! def __init__(self, aBg, original, attributes, offsets, title): model.CustomDialog.__init__(self, aBg) *************** *** 19,31 **** add = "Copy" self.components.fldName.text = original['name']+add ! if "label" in original.keys(): self.components.lblLabelOrText.text = "Label" self.components.lblLabelOrText.visible = True ! self.components.fldLabelOrText.text = original['label']+add self.components.fldLabelOrText.visible = True ! elif "text" in original.keys(): self.components.lblLabelOrText.text = "Text" self.components.lblLabelOrText.visible = True ! self.components.fldLabelOrText.text = original['text']+add self.components.fldLabelOrText.visible = True else: --- 19,37 ---- add = "Copy" self.components.fldName.text = original['name']+add ! if "label" in attributes: self.components.lblLabelOrText.text = "Label" self.components.lblLabelOrText.visible = True ! if "label" in original.keys(): ! self.components.fldLabelOrText.text = original['label']+add ! else: ! self.components.fldLabelOrText.text = original['name']+add self.components.fldLabelOrText.visible = True ! elif "text" in attributes: self.components.lblLabelOrText.text = "Text" self.components.lblLabelOrText.visible = True ! if "text" in original.keys(): ! self.components.fldLabelOrText.text = original['text']+add ! else: ! self.components.fldLabelOrText.text = original['name']+add self.components.fldLabelOrText.visible = True else: *************** *** 41,42 **** --- 47,59 ---- self.components.chkVertical.visible = False + def newComponentDialog(aBg, original, attributes, offsets, title): + dlg = NewComponentDialog(aBg, original, attributes, offsets, title) + result = dlg.showModal() + if result.accepted: + result.name = dlg.components.fldName.text + result.labelortext = dlg.components.fldLabelOrText.text + result.horizontal = dlg.components.chkHorizontal.checked + result.vertical = dlg.components.chkVertical.checked + dlg.destroy() + return result + |
|
From: Alex T. <ale...@us...> - 2004-08-16 13:17:36
|
Update of /cvsroot/pythoncard/PythonCard/tools/resourceEditor In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4407/tools/resourceEditor Modified Files: resourceEditor.py Log Message: Add a function wrapper for newCOmponentDialog, and use it from resourceEditor Use attributespec to identify whether label or text attributes apply to each component type. Index: resourceEditor.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/tools/resourceEditor/resourceEditor.py,v retrieving revision 1.206 retrieving revision 1.207 diff -C2 -d -r1.206 -r1.207 *** resourceEditor.py 15 Aug 2004 17:34:59 -0000 1.206 --- resourceEditor.py 16 Aug 2004 13:17:25 -0000 1.207 *************** *** 21,25 **** from modules import stackInfoDialog from modules import menuDialog ! from modules.newComponentDialog import NewComponentDialog from modules import stringDialog from modules.dialogInfoDialog import DialogInfoDialog --- 21,25 ---- from modules import stackInfoDialog from modules import menuDialog ! from modules.newComponentDialog import newComponentDialog from modules import stringDialog from modules.dialogInfoDialog import DialogInfoDialog *************** *** 1024,1038 **** def create_component(self, desc, offsets, promptString, errString): ! dlg = NewComponentDialog(self, desc, offsets, promptString) ! result = dlg.showModal() if result.accepted: ! name = dlg.components.fldName.text if name in self.components: dialog.alertDialog(self, name + " already exists", 'Error: Unable to '+errString+' widget') return ! if 'label' in desc.keys(): ! desc['label'] = dlg.components.fldLabelOrText.text ! elif 'text' in desc.keys(): ! desc['text'] = dlg.components.fldLabelOrText.text desc['name'] = name --- 1024,1039 ---- def create_component(self, desc, offsets, promptString, errString): ! optionalAttributes = registry.Registry.getInstance().components[desc['type']]._spec._optionalAttributes.keys() ! ! result = newComponentDialog(self, desc, optionalAttributes, offsets, promptString) if result.accepted: ! name = result.name if name in self.components: dialog.alertDialog(self, name + " already exists", 'Error: Unable to '+errString+' widget') return ! if 'label' in optionalAttributes: ! desc['label'] = result.labelortext ! elif 'text' in optionalAttributes: ! desc['text'] = result.labelortext desc['name'] = name *************** *** 1043,1052 **** dx, dy = self.components[name].size #rint x, y, dx, dy ! if dlg.components.chkHorizontal.checked: x += dx+30 ! if dlg.components.chkVertical.checked: y += dy+30 else: ! if dlg.components.chkVertical.checked: y += dy+30 else: --- 1044,1053 ---- dx, dy = self.components[name].size #rint x, y, dx, dy ! if result.horizontal: x += dx+30 ! if result.vertical: y += dy+30 else: ! if result.vertical: y += dy+30 else: |
|
From: Kevin A. <ka...@us...> - 2004-08-16 03:20:23
|
Update of /cvsroot/pythoncard/PythonCard/tools/codeEditor In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17277 Modified Files: .cvsignore restEditor.py restEditor.rsrc.py snippet.py Log Message: added exception code to restify, render and return on render menu items Index: snippet.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/tools/codeEditor/snippet.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** snippet.py 26 Jul 2004 15:51:14 -0000 1.1 --- snippet.py 16 Aug 2004 03:20:12 -0000 1.2 *************** *** 1,4 **** --- 1,5 ---- from docutils import core from docutils.writers.html4css1 import Writer,HTMLTranslator + from docutils.utils import SystemMessage class NoHeaderHTMLTranslator(HTMLTranslator): *************** *** 14,18 **** def restify(string): ! return core.publish_string(string,writer=_w) if __name__ == '__main__': --- 15,25 ---- def restify(string): ! # return core.publish_string(string,writer=_w) ! try: ! result = core.publish_string(string,writer=_w, settings_overrides={'traceback': True}) ! except SystemMessage, e: ! result = None ! print "barf" ! return result if __name__ == '__main__': Index: .cvsignore =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/tools/codeEditor/.cvsignore,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** .cvsignore 17 Apr 2004 07:21:14 -0000 1.3 --- .cvsignore 16 Aug 2004 03:20:12 -0000 1.4 *************** *** 6,7 **** --- 6,9 ---- user.config.txt .DS_Store + build + dist Index: restEditor.rsrc.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/tools/codeEditor/restEditor.rsrc.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** restEditor.rsrc.py 26 Jul 2004 16:04:11 -0000 1.2 --- restEditor.rsrc.py 16 Aug 2004 03:20:12 -0000 1.3 *************** *** 41,68 **** 'label':'-', }, ! {'type':'MenuItem', ! 'name':'menuFileCheckSyntax', ! 'label':'&Check Syntax (Module)\tAlt+F5', ! 'command':'checkSyntax', ! }, ! {'type':'MenuItem', ! 'name':'menuFileRun', ! 'label':'&Run\tCtrl+R', ! 'command':'fileRun', ! }, ! {'type':'MenuItem', ! 'name':'menuFileRunWithInterpreter', ! 'label':'Run with &interpreter\tCtrl+Shift+R', ! 'command':'fileRunWithInterpreter', ! }, ! {'type':'MenuItem', ! 'name':'menuFileRunOptions', ! 'label':'Run Options...', ! 'command':'fileRunOptions', ! }, ! {'type':'MenuItem', ! 'name':'fileSep2', ! 'label':'-', ! }, {'type':'MenuItem', 'name':'menuFilePageSetup', --- 41,68 ---- 'label':'-', }, ! ## {'type':'MenuItem', ! ## 'name':'menuFileCheckSyntax', ! ## 'label':'&Check Syntax (Module)\tAlt+F5', ! ## 'command':'checkSyntax', ! ## }, ! ## {'type':'MenuItem', ! ## 'name':'menuFileRun', ! ## 'label':'&Run\tCtrl+R', ! ## 'command':'fileRun', ! ## }, ! ## {'type':'MenuItem', ! ## 'name':'menuFileRunWithInterpreter', ! ## 'label':'Run with &interpreter\tCtrl+Shift+R', ! ## 'command':'fileRunWithInterpreter', ! ## }, ! ## {'type':'MenuItem', ! ## 'name':'menuFileRunOptions', ! ## 'label':'Run Options...', ! ## 'command':'fileRunOptions', ! ## }, ! ## {'type':'MenuItem', ! ## 'name':'fileSep2', ! ## 'label':'-', ! ## }, {'type':'MenuItem', 'name':'menuFilePageSetup', *************** *** 269,272 **** --- 269,287 ---- 'checkable':1, }, + {'type':'MenuItem', + 'name':'formatSep1', + 'label':'-', + }, + {'type':'MenuItem', + 'name':'menuFormatRender', + 'label':'Render Page\tCtrl+R', + 'command':'previewPost', + }, + {'type':'MenuItem', + 'name':'menuFormatRenderOnReturn', + 'label':'Render on Return', + 'checkable':1, + 'checked':1, + }, ] }, Index: restEditor.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/tools/codeEditor/restEditor.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** restEditor.py 14 Aug 2004 03:41:04 -0000 1.3 --- restEditor.py 16 Aug 2004 03:20:12 -0000 1.4 *************** *** 20,23 **** --- 20,24 ---- def on_initialize(self, event): super(RestEditor, self).on_initialize(event) + self.renderOnReturn = self.menuBar.getChecked('menuFormatRenderOnReturn') self.previewWindow = model.childWindow(self, HtmlPreview) #self.previewWindow.position = (425, -1) *************** *** 36,40 **** html = '<html><head></head><body>' + txt + '</body></html>' else: ! html = '<html><head></head><body>' + restify(txt) + '</body></html>' # do make sure stylesheets and relative image references can be found # might need to chdir here --- 37,49 ---- html = '<html><head></head><body>' + txt + '</body></html>' else: ! # KEA 2004-08-15 ! # snippet.restify is returning None when there is a reST error ! # what's a better way to provide feedback to the user without barfing ! # all over the output? ! rest = restify(txt) ! if rest: ! html = '<html><head></head><body>' + rest + '</body></html>' ! else: ! html = self.previewWindow.components.html.text # do make sure stylesheets and relative image references can be found # might need to chdir here *************** *** 45,50 **** def on_document_keyDown(self, event): ! if event.keyCode == 13: ! # since we won't be calling Skip, insert a newline manually self.components.document.CmdKeyExecute(stc.STC_CMD_NEWLINE) self.on_previewPost_command(None) --- 54,59 ---- def on_document_keyDown(self, event): ! if event.keyCode == 13 and self.renderOnReturn: ! # since we won't be calling skip, insert a newline manually self.components.document.CmdKeyExecute(stc.STC_CMD_NEWLINE) self.on_previewPost_command(None) *************** *** 52,55 **** --- 61,67 ---- event.skip() + def on_menuFormatRenderOnReturn_select(self, event): + self.renderOnReturn = self.menuBar.getChecked('menuFormatRenderOnReturn') + if __name__ == '__main__': |
|
From: Kevin A. <ka...@us...> - 2004-08-16 01:57:34
|
Update of /cvsroot/pythoncard/PythonCard In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5186 Modified Files: README.txt about.py Log Message: updated requirements to Python 2.3 and wxPython 2.5.2 Index: about.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/about.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** about.py 22 Apr 2004 19:49:31 -0000 1.2 --- about.py 16 Aug 2004 01:57:23 -0000 1.3 *************** *** 44,48 **** http://lists.sourceforge.net/lists/listinfo/pythoncard-users ! PythonCard requires Python 2.3 or later and wxPython 2.5.1.1 or later. """ dialog.scrolledMessageDialog(parent, txt, aboutTitle) --- 44,48 ---- http://lists.sourceforge.net/lists/listinfo/pythoncard-users ! PythonCard requires Python 2.3 or later and wxPython 2.5.2.7 or later. """ dialog.scrolledMessageDialog(parent, txt, aboutTitle) Index: README.txt =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/README.txt,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** README.txt 8 Apr 2004 21:07:35 -0000 1.8 --- README.txt 16 Aug 2004 01:57:23 -0000 1.9 *************** *** 21,25 **** http://lists.sourceforge.net/lists/listinfo/pythoncard-users ! PythonCard requires Python 2.2.1 or later and wxPython 2.4.x or later. wxPython is available at http://www.wxpython.org/ License --- 21,25 ---- http://lists.sourceforge.net/lists/listinfo/pythoncard-users ! PythonCard requires Python 2.3 or later and wxPython 2.5.2.x or later. wxPython is available at http://www.wxpython.org/ License |
|
From: Kevin A. <ka...@us...> - 2004-08-15 18:06:58
|
Update of /cvsroot/pythoncard/PythonCard/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29345/docs Modified Files: migration_guide.txt Log Message: added more dialog migration info Index: migration_guide.txt =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/migration_guide.txt,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** migration_guide.txt 15 Aug 2004 17:34:55 -0000 1.2 --- migration_guide.txt 15 Aug 2004 18:06:49 -0000 1.3 *************** *** 91,95 **** The order of the message and title args for any dialogs that take both has been reversed from previous versions of PythonCard. The message arg comes before title now. For example, ! dialog.singleChoiceDialog(self, "message", "title", ['one', 'two', 'three']) Calendar Component --- 91,97 ---- The order of the message and title args for any dialogs that take both has been reversed from previous versions of PythonCard. The message arg comes before title now. For example, ! dialog.singleChoiceDialog(self, "message", "title", ['one', 'two', 'three']) ! ! Any optional style args now use wx constants rather the old dialog module aliases. For example, you'll need to use wx.TE_PASSWORD or wx.TE_MULTILINE for the textEntryDialog if you want one of those styles. Calendar Component |
|
From: Kevin A. <ka...@us...> - 2004-08-15 17:55:46
|
Update of /cvsroot/pythoncard/PythonCard/samples/textRouter In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27879/samples/textRouter Modified Files: bloggeraccount.py manilaaccount.py textRouter.py Log Message: more dialog related fixes Index: textRouter.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/textRouter/textRouter.py,v retrieving revision 1.82 retrieving revision 1.83 diff -C2 -d -r1.82 -r1.83 *** textRouter.py 15 Aug 2004 17:34:58 -0000 1.82 --- textRouter.py 15 Aug 2004 17:55:36 -0000 1.83 *************** *** 270,274 **** """Saves the text to a file chosen by dialog box.""" result = dialog.fileDialog(self, 'Save As...', self.generalPrefs["defaultDirectory"],\ ! "text.txt", "*", dialog.FILE_SAVE) if result.accepted: --- 270,274 ---- """Saves the text to a file chosen by dialog box.""" result = dialog.fileDialog(self, 'Save As...', self.generalPrefs["defaultDirectory"],\ ! "text.txt", "*", wx.SAVE) if result.accepted: *************** *** 299,303 **** """Saves the config file in to a specified (by dialog) file""" result = dialog.fileDialog(self, 'Save As...', self.generalPrefs["defaultDirectory"],\ ! self.configFile, "conf", dialog.FILE_SAVE) if result.accepted: path = result.paths[0] --- 299,303 ---- """Saves the config file in to a specified (by dialog) file""" result = dialog.fileDialog(self, 'Save As...', self.generalPrefs["defaultDirectory"],\ ! self.configFile, "conf", wx.SAVE) if result.accepted: path = result.paths[0] Index: manilaaccount.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/textRouter/manilaaccount.py,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** manilaaccount.py 15 Aug 2004 17:34:58 -0000 1.22 --- manilaaccount.py 15 Aug 2004 17:55:36 -0000 1.23 *************** *** 2,6 **** import xmlrpclib #from socket import gaierror ! import time --- 2,6 ---- import xmlrpclib #from socket import gaierror ! import wx import time *************** *** 59,63 **** 'Please enter your Manila password (It will not be saved to the config): ', "Password entry...", ! '', dialog.TEXT_PASSWORD) if not result.accepted: self.setErrorMessage("You must enter a password to continue.") --- 59,63 ---- 'Please enter your Manila password (It will not be saved to the config): ', "Password entry...", ! '', wx.TE_PASSWORD) if not result.accepted: self.setErrorMessage("You must enter a password to continue.") Index: bloggeraccount.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/textRouter/bloggeraccount.py,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** bloggeraccount.py 15 Aug 2004 17:34:58 -0000 1.18 --- bloggeraccount.py 15 Aug 2004 17:55:36 -0000 1.19 *************** *** 1,5 **** from PythonCard import dialog import xmlrpclib ! from trTransport import trURLlibTransport --- 1,5 ---- from PythonCard import dialog import xmlrpclib ! import wx from trTransport import trURLlibTransport *************** *** 57,61 **** 'Please enter your Blogger password (It will not be saved to the config): ', "Password entry...", ! '', dialog.TEXT_PASSWORD) if not result.accepted: self.setErrorMessage("You must enter a password to continue.") --- 57,61 ---- 'Please enter your Blogger password (It will not be saved to the config): ', "Password entry...", ! '', wx.TE_PASSWORD) if not result.accepted: self.setErrorMessage("You must enter a password to continue.") |
|
From: Kevin A. <ka...@us...> - 2004-08-15 17:55:46
|
Update of /cvsroot/pythoncard/PythonCard/samples/dialogs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27879/samples/dialogs Modified Files: dialogs.py Log Message: more dialog related fixes Index: dialogs.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/dialogs/dialogs.py,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** dialogs.py 15 Aug 2004 17:34:56 -0000 1.23 --- dialogs.py 15 Aug 2004 17:55:36 -0000 1.24 *************** *** 68,85 **** """ ! You can pass in a specific icon (default is ICON_INFORMATION) ! as well as the buttons (default is BUTTON_OK | BUTTON_CANCEL) ! ICON_EXCLAMATION # Shows an exclamation mark icon. ! ICON_HAND # Shows an error icon. ! ICON_ERROR # Shows an error icon - the same as wxICON_HAND. ! ICON_QUESTION # Shows a question mark icon. ! ICON_INFORMATION # Shows an information (i) icon. ! OK # Show an OK button. ! CANCEL # Show a Cancel button. ! YES_NO # Show Yes and No buttons. ! YES_DEFAULT # Used with wxYES_NO, makes Yes button the default - which is the default behaviour. ! NO_DEFAULT # Used with wxYES_NO, makes No button the default. """ def on_buttonMessage_mouseClick(self, event): --- 68,85 ---- """ ! You can pass in a specific icon (default is wx.ICON_INFORMATION) ! as well as the buttons (default is wx.OK | wx.CANCEL) ! wx.ICON_EXCLAMATION # Shows an exclamation mark icon. ! wx.ICON_HAND # Shows an error icon. ! wx.ICON_ERROR # Shows an error icon - the same as wxICON_HAND. ! wx.ICON_QUESTION # Shows a question mark icon. ! wx.ICON_INFORMATION # Shows an information (i) icon. ! wx.OK # Show an OK button. ! wx.CANCEL # Show a Cancel button. ! wx.YES_NO # Show Yes and No buttons. ! wx.YES_DEFAULT # Used with wx.YES_NO, makes Yes button the default - which is the default behaviour. ! wx.NO_DEFAULT # Used with wx.YES_NO, makes No button the default. """ def on_buttonMessage_mouseClick(self, event): *************** *** 94,98 **** # you can pass in an additional aStyle parameter ! # of TEXT_PASSWORD or TEXT_MULTILINE def on_buttonTextEntry_mouseClick(self, event): result = dialog.textEntryDialog(self, --- 94,98 ---- # you can pass in an additional aStyle parameter ! # of wx.TE_PASSWORD or wx.TE_MULTILINE def on_buttonTextEntry_mouseClick(self, event): result = dialog.textEntryDialog(self, *************** *** 104,108 **** 'What is your favorite language?', 'A window title', ! 'Python', wx.TEXT_MULTILINE) """ self.components.fldResults.text = "textEntryDialog result:\naccepted: %s\nreturnedString: %s\ntext: %s" % (result.accepted, result.returnedString, result.text) --- 104,108 ---- 'What is your favorite language?', 'A window title', ! 'Python', wx.TE_MULTILINE) """ self.components.fldResults.text = "textEntryDialog result:\naccepted: %s\nreturnedString: %s\ntext: %s" % (result.accepted, result.returnedString, result.text) |
|
From: Kevin A. <ka...@us...> - 2004-08-15 17:55:45
|
Update of /cvsroot/pythoncard/PythonCard/docs/html/dialogs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27879/docs/html/dialogs Modified Files: multiplechoicedialog.html singlechoicedialog.html textentrydialog.html Log Message: more dialog related fixes Index: textentrydialog.html =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/html/dialogs/textentrydialog.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** textentrydialog.html 3 Aug 2002 18:25:28 -0000 1.1 --- textentrydialog.html 15 Aug 2004 17:55:35 -0000 1.2 *************** *** 38,41 **** --- 38,48 ---- </td> </tr> + <tr> + <td valign="top">message<br> + </td> + <td valign="top">quoted string to be displayed inside the Text Entry + Dialog to prompt the user's reply<br> + </td> + </tr> <tr> <td valign="top">title<br> *************** *** 46,56 **** </tr> <tr> - <td valign="top">prompt<br> - </td> - <td valign="top">quoted string to be displayed inside the Text Entry - Dialog to prompt the user's reply<br> - </td> - </tr> - <tr> <td valign="top">default<br> </td> --- 53,56 ---- *************** *** 65,71 **** <td valign="top">The optional fifth argument to the constructor for this dialog can contain one of two constants that affect the display of the ! text field. If this argument is TEXT_PASSWORD, asterisks or bullets replace the default text (if any) as well as the user's typing in the field. If this ! argument is TEXT_MULTILINE, the field expands to accommodate multiple lines of entry data.<br> </td> --- 65,71 ---- <td valign="top">The optional fifth argument to the constructor for this dialog can contain one of two constants that affect the display of the ! text field. If this argument is wx.TE_PASSWORD, asterisks or bullets replace the default text (if any) as well as the user's typing in the field. If this ! argument is wx.TE_MULTILINE, the field expands to accommodate multiple lines of entry data.<br> </td> *************** *** 83,90 **** dialog.textEntryDialog(self, <br> - 'A window title', <br> - 'What is your favorite language?',<br> 'Python')</code><br> --- 83,90 ---- dialog.textEntryDialog(self, <br> 'What is your favorite language?',<br> + 'A window title', <br> + 'Python')</code><br> Index: singlechoicedialog.html =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/html/dialogs/singlechoicedialog.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** singlechoicedialog.html 3 Aug 2002 18:25:28 -0000 1.1 --- singlechoicedialog.html 15 Aug 2004 17:55:35 -0000 1.2 *************** *** 39,48 **** </tr> <tr> - <td valign="top">title<br> - </td> - <td valign="top">quoted string displayed in title bar of dialog<br> - </td> - </tr> - <tr> <td valign="top">message<br> </td> --- 39,42 ---- *************** *** 51,54 **** --- 45,54 ---- </td> </tr> + <tr> + <td valign="top">title<br> + </td> + <td valign="top">quoted string displayed in title bar of dialog<br> + </td> + </tr> <tr> <td valign="top">options<br> *************** *** 66,70 **** </b>Above dialog was created with this line of code:<br> <br> ! <code> result = dialog.singleChoiceDialog(self, "title", "message", ['one', 'two', 'three'])<br> </code> <br> --- 66,70 ---- </b>Above dialog was created with this line of code:<br> <br> ! <code> result = dialog.singleChoiceDialog(self, "message", "title", ['one', 'two', 'three'])<br> </code> <br> Index: multiplechoicedialog.html =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/html/dialogs/multiplechoicedialog.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** multiplechoicedialog.html 3 Aug 2002 18:25:28 -0000 1.1 --- multiplechoicedialog.html 15 Aug 2004 17:55:35 -0000 1.2 *************** *** 38,52 **** </tr> <tr> ! <td valign="top">title<br> </td> ! <td valign="top">string to be displayed in the title bar of the ! dialog<br> </td> </tr> <tr> ! <td valign="top">message<br> </td> ! <td valign="top">string to be displayed inside the dialog as ! a prompt for the user<br> </td> </tr> --- 38,52 ---- </tr> <tr> ! <td valign="top">message<br> </td> ! <td valign="top">string to be displayed inside the dialog as ! a prompt for the user<br> </td> </tr> <tr> ! <td valign="top">title<br> </td> ! <td valign="top">string to be displayed in the title bar of the ! dialog<br> </td> </tr> *************** *** 66,70 **** </b>Above dialog was created with this line of code:<br> <br> ! <code>result = dialog.multipleChoiceDialog(self, "title", "message", ['one', 'two', 'three'])</code><br> --- 66,70 ---- </b>Above dialog was created with this line of code:<br> <br> ! <code>result = dialog.multipleChoiceDialog(self, "message", "title", ['one', 'two', 'three'])</code><br> *************** *** 93,97 **** <td valign="top">selection<br> </td> ! <td valign="top">list of strings containing the optoins chosen by the user. <br> </td> --- 93,97 ---- <td valign="top">selection<br> </td> ! <td valign="top">list of strings containing the options chosen by the user. <br> </td> |
|
From: Kevin A. <ka...@us...> - 2004-08-15 17:55:44
|
Update of /cvsroot/pythoncard/PythonCard/samples/fpop In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27879/samples/fpop Modified Files: fpop.py Log Message: more dialog related fixes Index: fpop.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/fpop/fpop.py,v retrieving revision 1.46 retrieving revision 1.47 diff -C2 -d -r1.46 -r1.47 *** fpop.py 15 Aug 2004 17:34:56 -0000 1.46 --- fpop.py 15 Aug 2004 17:55:36 -0000 1.47 *************** *** 336,340 **** if self.POPpwd == '': result = dialog.textEntryDialog(self, 'Enter your password:', 'Password', ! '', wx.TEXT_PASSWORD) if result.accepted and result.text != '': self.POPpwd = result.text --- 336,340 ---- if self.POPpwd == '': result = dialog.textEntryDialog(self, 'Enter your password:', 'Password', ! '', wx.TE_PASSWORD) if result.accepted and result.text != '': self.POPpwd = result.text |
|
From: Kevin A. <ka...@us...> - 2004-08-15 17:55:44
|
Update of /cvsroot/pythoncard/PythonCard In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27879 Modified Files: dialog.py Log Message: more dialog related fixes Index: dialog.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/dialog.py,v retrieving revision 1.36 retrieving revision 1.37 diff -C2 -d -r1.36 -r1.37 *** dialog.py 15 Aug 2004 17:34:55 -0000 1.36 --- dialog.py 15 Aug 2004 17:55:35 -0000 1.37 *************** *** 59,62 **** --- 59,66 ---- return result + # KEA 2004-08-15 + # should we have a passwordEntryDialog and multilineEntryDialog + # for convenience rather than requiring the use of + # wx.TE_PASSWORD or wx.TE_MULTILINE styles? textEntryDialog = dialogs.textEntryDialog messageDialog = dialogs.messageDialog |
|
From: Kevin A. <ka...@us...> - 2004-08-15 17:35:36
|
Update of /cvsroot/pythoncard/PythonCard/samples/pictureViewer In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24441/samples/pictureViewer Modified Files: pictureViewer.py Log Message: reversed message and title args for multipleChoiceDialog, singleChoiceDialog, textEntryDialog added singleChoiceDialog workaround for 2.5.2.7 added Alex to LICENSE.txt Index: pictureViewer.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/pictureViewer/pictureViewer.py,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** pictureViewer.py 12 Aug 2004 19:18:56 -0000 1.23 --- pictureViewer.py 15 Aug 2004 17:34:57 -0000 1.24 *************** *** 141,145 **** def on_menuImageScaleSize_select(self, event): ! result = dialog.textEntryDialog(self, "Scale image", "Scale by percent:", "") if result.accepted: try: --- 141,145 ---- def on_menuImageScaleSize_select(self, event): ! result = dialog.textEntryDialog(self, "Scale by percent:", "Scale image", "") if result.accepted: try: |
|
From: Kevin A. <ka...@us...> - 2004-08-15 17:35:36
|
Update of /cvsroot/pythoncard/PythonCard/samples/life In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24441/samples/life Modified Files: life.py Log Message: reversed message and title args for multipleChoiceDialog, singleChoiceDialog, textEntryDialog added singleChoiceDialog workaround for 2.5.2.7 added Alex to LICENSE.txt Index: life.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/life/life.py,v retrieving revision 1.40 retrieving revision 1.41 diff -C2 -d -r1.40 -r1.41 *** life.py 14 Aug 2004 07:57:39 -0000 1.40 --- life.py 15 Aug 2004 17:34:56 -0000 1.41 *************** *** 383,387 **** if automata == 'menuAutomataLife': ! result = dialog.textEntryDialog(self, 'Number of steps', 'Steps (-1 means continuous):', '-1') if result.accepted: steps = int(result.text) --- 383,387 ---- if automata == 'menuAutomataLife': ! result = dialog.textEntryDialog(self, 'Steps (-1 means continuous):', 'Number of steps', '-1') if result.accepted: steps = int(result.text) |
|
From: Kevin A. <ka...@us...> - 2004-08-15 17:35:36
|
Update of /cvsroot/pythoncard/PythonCard/samples/fpop In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24441/samples/fpop Modified Files: fpop.py Log Message: reversed message and title args for multipleChoiceDialog, singleChoiceDialog, textEntryDialog added singleChoiceDialog workaround for 2.5.2.7 added Alex to LICENSE.txt Index: fpop.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/fpop/fpop.py,v retrieving revision 1.45 retrieving revision 1.46 diff -C2 -d -r1.45 -r1.46 *** fpop.py 12 Aug 2004 19:18:52 -0000 1.45 --- fpop.py 15 Aug 2004 17:34:56 -0000 1.46 *************** *** 335,339 **** # while the program is running if self.POPpwd == '': ! result = dialog.textEntryDialog(self, 'Password', 'Enter your password:', '', wx.TEXT_PASSWORD) if result.accepted and result.text != '': --- 335,339 ---- # while the program is running if self.POPpwd == '': ! result = dialog.textEntryDialog(self, 'Enter your password:', 'Password', '', wx.TEXT_PASSWORD) if result.accepted and result.text != '': |
|
From: Kevin A. <ka...@us...> - 2004-08-15 17:35:36
|
Update of /cvsroot/pythoncard/PythonCard/samples/moderator In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24441/samples/moderator Modified Files: moderator.py Log Message: reversed message and title args for multipleChoiceDialog, singleChoiceDialog, textEntryDialog added singleChoiceDialog workaround for 2.5.2.7 added Alex to LICENSE.txt Index: moderator.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/moderator/moderator.py,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** moderator.py 12 Aug 2004 19:18:54 -0000 1.6 --- moderator.py 15 Aug 2004 17:34:56 -0000 1.7 *************** *** 88,92 **** def on_btnAddSpeaker_mouseClick(self, event): ! result = dialog.textEntryDialog(self, 'Add Speaker', 'Speaker:', 'First Last') if result.accepted: text = result.text --- 88,92 ---- def on_btnAddSpeaker_mouseClick(self, event): ! result = dialog.textEntryDialog(self, 'Speaker:', 'Add Speaker', 'First Last') if result.accepted: text = result.text |
|
From: Kevin A. <ka...@us...> - 2004-08-15 17:35:35
|
Update of /cvsroot/pythoncard/PythonCard/samples/dialogs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24441/samples/dialogs Modified Files: dialogs.py Log Message: reversed message and title args for multipleChoiceDialog, singleChoiceDialog, textEntryDialog added singleChoiceDialog workaround for 2.5.2.7 added Alex to LICENSE.txt Index: dialogs.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/dialogs/dialogs.py,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** dialogs.py 12 Aug 2004 19:18:50 -0000 1.22 --- dialogs.py 15 Aug 2004 17:34:56 -0000 1.23 *************** *** 23,31 **** def on_buttonMultipleChoice_mouseClick(self, event): ! result = dialog.multipleChoiceDialog(self, "title", "message", ['one', 'two', 'three']) self.components.fldResults.text = "multipleChoiceDialog result:\naccepted: %s\nSelection: %s" % (result.accepted, result.selection) def on_buttonSingleChoice_mouseClick(self, event): ! result = dialog.singleChoiceDialog(self, "title", "message", ['one', 'two', 'three']) self.components.fldResults.text = "singleChoiceDialog result:\naccepted: %s\nSelection: %s" % (result.accepted, result.selection) --- 23,31 ---- def on_buttonMultipleChoice_mouseClick(self, event): ! result = dialog.multipleChoiceDialog(self, "message", "title", ['one', 'two', 'three']) self.components.fldResults.text = "multipleChoiceDialog result:\naccepted: %s\nSelection: %s" % (result.accepted, result.selection) def on_buttonSingleChoice_mouseClick(self, event): ! result = dialog.singleChoiceDialog(self, "message", "title", ['one', 'two', 'three']) self.components.fldResults.text = "singleChoiceDialog result:\naccepted: %s\nSelection: %s" % (result.accepted, result.selection) *************** *** 97,107 **** def on_buttonTextEntry_mouseClick(self, event): result = dialog.textEntryDialog(self, - 'A window title', 'What is your favorite language?', 'Python') """ result = dialog.textEntryDialog(self, - 'A window title', 'What is your favorite language?', 'Python', wx.TEXT_MULTILINE) """ --- 97,107 ---- def on_buttonTextEntry_mouseClick(self, event): result = dialog.textEntryDialog(self, 'What is your favorite language?', + 'A window title', 'Python') """ result = dialog.textEntryDialog(self, 'What is your favorite language?', + 'A window title', 'Python', wx.TEXT_MULTILINE) """ |
|
From: Kevin A. <ka...@us...> - 2004-08-15 17:35:34
|
Update of /cvsroot/pythoncard/PythonCard/docs/html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24441/docs/html Modified Files: PythonCard.css Log Message: reversed message and title args for multipleChoiceDialog, singleChoiceDialog, textEntryDialog added singleChoiceDialog workaround for 2.5.2.7 added Alex to LICENSE.txt Index: PythonCard.css =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/html/PythonCard.css,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** PythonCard.css 26 Jul 2004 15:35:31 -0000 1.3 --- PythonCard.css 15 Aug 2004 17:34:55 -0000 1.4 *************** *** 120,124 **** #content { float: right; ! width: 76%; } --- 120,124 ---- #content { float: right; ! width: 78%; } |
|
From: Kevin A. <ka...@us...> - 2004-08-15 17:35:34
|
Update of /cvsroot/pythoncard/PythonCard/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24441/docs Modified Files: migration_guide.txt Log Message: reversed message and title args for multipleChoiceDialog, singleChoiceDialog, textEntryDialog added singleChoiceDialog workaround for 2.5.2.7 added Alex to LICENSE.txt Index: migration_guide.txt =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/migration_guide.txt,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** migration_guide.txt 14 Aug 2004 18:53:04 -0000 1.1 --- migration_guide.txt 15 Aug 2004 17:34:55 -0000 1.2 *************** *** 89,92 **** --- 89,95 ---- The dialog module is now a thin wrapper around the wx.lib.dialogs module. The biggest change to your code is that the result of dialogs is now a DialogResults class instead of a dictionary. See the dialogs sample for examples of usage, but in general if you had something like result['accepted'] it will now be result.accepted. + The order of the message and title args for any dialogs that take both has been reversed from previous versions of PythonCard. The message arg comes before title now. For example, + + dialog.singleChoiceDialog(self, "message", "title", ['one', 'two', 'three']) Calendar Component |
|
From: Kevin A. <ka...@us...> - 2004-08-15 17:35:34
|
Update of /cvsroot/pythoncard/PythonCard In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24441 Modified Files: LICENSE.txt dialog.py flatfileDatabase.py Log Message: reversed message and title args for multipleChoiceDialog, singleChoiceDialog, textEntryDialog added singleChoiceDialog workaround for 2.5.2.7 added Alex to LICENSE.txt Index: flatfileDatabase.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/flatfileDatabase.py,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** flatfileDatabase.py 12 Aug 2004 19:40:39 -0000 1.24 --- flatfileDatabase.py 15 Aug 2004 17:34:55 -0000 1.25 *************** *** 577,581 **** def sortRecords(self, name=None): ! result = dialog.singleChoiceDialog(self.view, "Sort", "Sort cards by field:", self.sortableFields) if result.accepted: self.sortByFieldName(result.selection) --- 577,581 ---- def sortRecords(self, name=None): ! result = dialog.singleChoiceDialog(self.view, "Sort cards by field:", "Sort", self.sortableFields) if result.accepted: self.sortByFieldName(result.selection) *************** *** 805,809 **** def on_goToRecord_command(self, event): ! result = dialog.textEntryDialog(self, 'Go to Card', 'Go to card number:', '') # this version doesn't alert the user if the line number is out-of-range # it just fails quietly --- 805,809 ---- def on_goToRecord_command(self, event): ! result = dialog.textEntryDialog(self, 'Go to card number:', 'Go to Card', '') # this version doesn't alert the user if the line number is out-of-range # it just fails quietly Index: LICENSE.txt =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/LICENSE.txt,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** LICENSE.txt 12 May 2004 23:23:11 -0000 1.3 --- LICENSE.txt 15 Aug 2004 17:34:55 -0000 1.4 *************** *** 46,47 **** --- 46,48 ---- Stephen Waterbury - twistedEchoClient sample Ward Cunningham - lsystem sample + Alex Tweedly - resourceEditor additions Index: dialog.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/dialog.py,v retrieving revision 1.35 retrieving revision 1.36 diff -C2 -d -r1.35 -r1.36 *** dialog.py 14 Aug 2004 15:37:10 -0000 1.35 --- dialog.py 15 Aug 2004 17:34:55 -0000 1.36 *************** *** 67,71 **** saveFileDialog = dialogs.saveFileDialog directoryDialog = dialogs.directoryDialog ! singleChoiceDialog = dialogs.singleChoiceDialog multipleChoiceDialog = dialogs.multipleChoiceDialog --- 67,78 ---- saveFileDialog = dialogs.saveFileDialog directoryDialog = dialogs.directoryDialog ! ! #singleChoiceDialog = dialogs.singleChoiceDialog ! # KEA 2004-08-15 ! # another workaround for 2.5.2.7 ! def singleChoiceDialog(parent=None, message='', title='', lst=[], ! style=wx.OK | wx.CANCEL | wx.CENTRE): ! return dialogs.singleChoiceDialog(parent, message, title, lst, style | wx.DEFAULT_DIALOG_STYLE) ! multipleChoiceDialog = dialogs.multipleChoiceDialog |
|
From: Kevin A. <ka...@us...> - 2004-08-15 17:35:09
|
Update of /cvsroot/pythoncard/PythonCard/tools/resourceEditor In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24441/tools/resourceEditor Modified Files: resourceEditor.py Log Message: reversed message and title args for multipleChoiceDialog, singleChoiceDialog, textEntryDialog added singleChoiceDialog workaround for 2.5.2.7 added Alex to LICENSE.txt Index: resourceEditor.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/tools/resourceEditor/resourceEditor.py,v retrieving revision 1.205 retrieving revision 1.206 diff -C2 -d -r1.205 -r1.206 *** resourceEditor.py 12 Aug 2004 23:55:48 -0000 1.205 --- resourceEditor.py 15 Aug 2004 17:34:59 -0000 1.206 *************** *** 831,835 **** #print t[0], t[2], t[1] listX.append(t[0]) ! result = dialog.singleChoiceDialog(self, "Templates", "Choose a resource template", listX) if result.accepted: name = result.selection --- 831,835 ---- #print t[0], t[2], t[1] listX.append(t[0]) ! result = dialog.singleChoiceDialog(self, "Choose a resource template", "Templates", listX) if result.accepted: name = result.selection *************** *** 1379,1384 **** def on_optionGridSize_command(self, event): result = dialog.textEntryDialog(self, - 'Grid Size', 'Enter the preferred grid size (e.g. 5):', str(self.xGridSize)) if result.accepted: --- 1379,1384 ---- def on_optionGridSize_command(self, event): result = dialog.textEntryDialog(self, 'Enter the preferred grid size (e.g. 5):', + 'Grid Size', str(self.xGridSize)) if result.accepted: |