Ejemplo n.º 1
0
    def __init__(self, widget, parent):
        QPyDesignerTaskMenuExtension.__init__(self, parent)

        self.widget = widget
        self.editStateAction = QtWidgets.QAction(self.tr("Set Options..."),
                                                 self)
        self.editStateAction.triggered.connect(self.updateLocation)
Ejemplo n.º 2
0
  def __init__(self, widget, parent):

      QPyDesignerTaskMenuExtension.__init__(self, parent)

      self.widget = widget
      self.editStateAction = QAction(
          self.tr("Edit code..."), self)
Ejemplo n.º 3
0
	def __init__(self, widget, parent):

		QPyDesignerTaskMenuExtension.__init__(self, parent)

		self.widget = widget
		self.editStateAction = QAction(self.tr("Edit template..."), self)
		self.editStateAction.triggered.connect(self.action)
Ejemplo n.º 4
0
  def __init__(self, widget, parent):

      QPyDesignerTaskMenuExtension.__init__(self, parent)

      self.widget = widget
      self.editStateAction = QtWidgets.QAction(
          self.tr("Set Options..."), self)
      self.editStateAction.triggered.connect(self.updateLocation)