From: Kevin A. <ka...@us...> - 2004-05-09 04:12:06
|
Update of /cvsroot/pythoncard/PythonCard/tools/resourceEditor/modules In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17729/resourceEditor/modules Modified Files: propertyEditor.py Log Message: added ticks and labels attributes for slider Index: propertyEditor.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/tools/resourceEditor/modules/propertyEditor.py,v retrieving revision 1.45 retrieving revision 1.46 diff -C2 -d -r1.45 -r1.46 *** propertyEditor.py 24 Apr 2004 06:49:47 -0000 1.45 --- propertyEditor.py 9 May 2004 04:11:57 -0000 1.46 *************** *** 124,130 **** def on_wUpdate_mouseClick(self, event): # make these attributes of self, since they are duplicated below in displayProperty ! checkItems = ['enabled', 'visible', 'editable', 'checked', 'default', 'rules'] popItems = ['layout', 'border', 'style', 'alignment', 'stringSelection'] ! cantmodify = ['id', 'name', 'alignment', 'layout', 'style', 'border', 'min', 'max', 'columns', 'rules'] wName, wClass = self.components.wComponentList.stringSelection.split(" : ") --- 124,131 ---- def on_wUpdate_mouseClick(self, event): # make these attributes of self, since they are duplicated below in displayProperty ! checkItems = ['enabled', 'visible', 'editable', 'checked', 'default', 'rules', 'labels', 'ticks'] popItems = ['layout', 'border', 'style', 'alignment', 'stringSelection'] ! cantmodify = ['id', 'name', 'alignment', 'layout', 'style', 'border', \ ! 'min', 'max', 'columns', 'rules', 'labels', 'ticks'] wName, wClass = self.components.wComponentList.stringSelection.split(" : ") *************** *** 282,286 **** def displayProperty(self, wName, wClass, propName): ! checkItems = ['enabled', 'visible', 'editable', 'checked', 'default', 'rules'] popItems = ['layout', 'border', 'style', 'alignment', 'stringSelection'] --- 283,287 ---- def displayProperty(self, wName, wClass, propName): ! checkItems = ['enabled', 'visible', 'editable', 'checked', 'default', 'rules', 'labels', 'ticks'] popItems = ['layout', 'border', 'style', 'alignment', 'stringSelection'] |