示例#1
0
    def init_edit_widget(self):

        """
		desc:
			Initializes the widget.
		"""

        qtplugin.init_edit_widget(self, False)
        self.canvas = sketchpad_canvas(self)
        self.sketchpad_widget = sketchpad_widget(self)
        self.add_widget(self.sketchpad_widget)
        self.auto_add_widget(self.sketchpad_widget.ui.edit_duration, u"duration")
        self.first_refresh = True
示例#2
0
    def init_edit_widget(self):
        """
		desc:
			Initializes the widget.
		"""

        qtplugin.init_edit_widget(self, False)
        self.canvas = sketchpad_canvas(self)
        self.sketchpad_widget = sketchpad_widget(self)
        self.add_widget(self.sketchpad_widget)
        self.auto_add_widget(self.sketchpad_widget.ui.edit_duration,
                             u'duration')
        self.first_refresh = True
示例#3
0
    def init_edit_widget(self):
        """
		desc:
			Initializes the widget.
		"""

        qtplugin.init_edit_widget(self, False)
        self.canvas = sketchpad_canvas(self)
        self.sketchpad_widget = sketchpad_widget(self)
        self.add_widget(self.sketchpad_widget)
        self.auto_add_widget(self.sketchpad_widget.ui.edit_duration,
                             u'duration')
        self.auto_add_widget(self.sketchpad_widget.ui.checkbox_reset_variables,
                             u'reset_variables')
示例#4
0
	def init_edit_widget(self):

		"""
		desc:
			Initializes the widget.
		"""

		qtplugin.init_edit_widget(self, False)
		self.canvas = sketchpad_canvas(self)
		self.sketchpad_widget = sketchpad_widget(self)
		self.add_widget(self.sketchpad_widget)
		self.auto_add_widget(self.sketchpad_widget.ui.edit_duration,
			u'duration')
		self.auto_add_widget(self.sketchpad_widget.ui.checkbox_reset_variables,
			u'reset_variables')
示例#5
0
	def init_edit_widget(self):

		"""
		desc:
			Initializes the widget.
		"""

		qtplugin.init_edit_widget(self, False)
		self.canvas = sketchpad_canvas(self)
		self.sketchpad_widget = sketchpad_widget(self)
		self.add_widget(self.sketchpad_widget)
		self.auto_add_widget(self.sketchpad_widget.ui.edit_duration,
			u'duration')
		self.sketchpad_widget.ui.edit_duration.setValidator(
			duration_validator(self))
		self.first_refresh = True
		self._lock = False