예제 #1
0
 def setup_widgets(self):
     format_str = get_price_format_str()
     self.discount_perc.set_data_format(format_str)
     self.update_widget_status()
예제 #2
0
 def setup_widgets(self):
     format_str = get_price_format_str()
     self.discount_perc.set_data_format(format_str)
     self.update_widget_status()
예제 #3
0
 def set_widget_formats(self):
     widgets = (self.markup, self.max_discount)
     for widget in widgets:
         widget.set_data_format(get_price_format_str())
예제 #4
0
 def set_widget_formats(self):
     widgets = (self.markup, self.max_discount)
     for widget in widgets:
         widget.set_data_format(get_price_format_str())