daboide Commit
Revision 589
Date: 2006-06-07 07:27:22 -0700 (Wed, 07 Jun 2006)
Author: ed
Changed:
U trunk/ClassDesignerControlMixin.py
Log:
Exposed the Min and Max properties of dSlider in the Prop Sheet. Tracker #0169.
Diff:
Modified: trunk/ClassDesignerControlMixin.py
===================================================================
--- trunk/ClassDesignerControlMixin.py 2006-06-06 20:46:34 UTC (rev 588)
+++ trunk/ClassDesignerControlMixin.py 2006-06-07 14:27:22 UTC (rev 589)
@@ -347,6 +347,7 @@
"VerticalAlignment" : {"type" : list,
"readonly" : False,
"values" : ["Automatic", "Top",
"Middle", "Bottom"]},
"Editable": {"type" : bool, "readonly" : False},
+ "Expand": {"type" : bool, "readonly" : False},
"Searchable": {"type" : bool, "readonly" :
False},
"Sortable": {"type" : bool, "readonly" : False}}
dataProps = {"DataSource" : {"type" : str, "readonly" : False},
@@ -407,6 +408,8 @@
"values" : ["Left", "Right", "Center"]},
"Sizer_VAlign": {"type" : list, "readonly" :
False,
"values" : ["Top", "Bottom", "Middle"]}}
+ sliderProps = {"Max": {"type" : int, "readonly" : False},
+ "Min": {"type" : int, "readonly" : False}}
gridSizerProps = {"Sizer_RowExpand" : {"type" : bool,
"readonly" : False},
"Sizer_ColExpand" : {"type" : bool, "readonly"
: False},
"Sizer_RowSpan" : {"type" : int, "readonly" :
False},
@@ -520,6 +523,7 @@
ret.update(panelProps)
ret.update(colorProps)
elif isinstance(self, dabo.ui.dSlider):
+ ret.update(sliderProps)
ret.update(colorProps)
ret.update(fontProps)
elif isinstance(self, dabo.ui.dSpinner):
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev