Exemplo n.º 1
0
class NodeLinkEditor(QtModule.QWidget):
    #
    # __init__
    #
    def __init__(self, parent):
        #
        QtModule.QWidget.__init__(self)

        self.buildGui()

    #
    # buildGui
    #
    def buildGui(self):
        # build the gui created with QtDesigner
        self.ui = Ui_NodeLinkEditor()
        self.ui.setupUi(self)

    #
    # connectSignals
    #
    def connectSignals(self):
        # QtCore.QObject.
        pass
        """
		self.connect ( self.ui.name_lineEdit, QtCore.SIGNAL( 'editingFinished()' ), self.onEditNodeStrAttrName )
		self.connect ( self.ui.label_lineEdit, QtCore.SIGNAL( 'editingFinished()' ), self.onEditNodeStrAttrLabel )
		self.connect ( self.ui.master_lineEdit, QtCore.SIGNAL( 'editingFinished()' ), self.onEditNodeStrAttrMaster )
		self.connect ( self.ui.author_lineEdit, QtCore.SIGNAL( 'editingFinished()' ), self.onEditNodeStrAttrAuthor )
		self.connect ( self.ui.icon_lineEdit, QtCore.SIGNAL( 'editingFinished()' ), self.onEditNodeStrAttrIcon )
		self.connect ( self.ui.type_comboBox, QtCore.SIGNAL( 'activated(int)' ), self.onEditNodeType )
		self.connect ( self.ui.help_plainTextEdit, QtCore.SIGNAL( 'textChanged()' ), self.onEditNodeTxtAttr )
		"""

    #
    # disconnectSignals
    #
    def disconnectSignals(self):
        #
        pass
        """
Exemplo n.º 2
0
class NodeLinkEditor ( QtModule.QWidget ) :
	#
	# __init__
	#
	def __init__ ( self, parent ) :
		#
		QtModule.QWidget.__init__ ( self )

		self.buildGui ()
	#
	# buildGui
	#
	def buildGui ( self ) :
		# build the gui created with QtDesigner
		self.ui = Ui_NodeLinkEditor ()
		self.ui.setupUi ( self )
	#
	# connectSignals
	#
	def connectSignals ( self ) :
		# QtCore.QObject.
		pass
		"""
		self.connect ( self.ui.name_lineEdit, QtCore.SIGNAL( 'editingFinished()' ), self.onEditNodeStrAttrName )
		self.connect ( self.ui.label_lineEdit, QtCore.SIGNAL( 'editingFinished()' ), self.onEditNodeStrAttrLabel )
		self.connect ( self.ui.master_lineEdit, QtCore.SIGNAL( 'editingFinished()' ), self.onEditNodeStrAttrMaster )
		self.connect ( self.ui.author_lineEdit, QtCore.SIGNAL( 'editingFinished()' ), self.onEditNodeStrAttrAuthor )
		self.connect ( self.ui.icon_lineEdit, QtCore.SIGNAL( 'editingFinished()' ), self.onEditNodeStrAttrIcon )
		self.connect ( self.ui.type_comboBox, QtCore.SIGNAL( 'activated(int)' ), self.onEditNodeType )
		self.connect ( self.ui.help_plainTextEdit, QtCore.SIGNAL( 'textChanged()' ), self.onEditNodeTxtAttr )
		"""
	#
	# disconnectSignals
	#
	def disconnectSignals ( self ) :
		#
		pass
		"""
Exemplo n.º 3
0
 def buildGui(self):
     # build the gui created with QtDesigner
     self.ui = Ui_NodeLinkEditor()
     self.ui.setupUi(self)
Exemplo n.º 4
0
	def buildGui ( self ) :
		# build the gui created with QtDesigner
		self.ui = Ui_NodeLinkEditor ()
		self.ui.setupUi ( self )