Example #1
0
    def __init__(self, parent, filename, filter):
        QTableItem.__init__(self, parent, QTableItem.Always, "")

        self.filter = filter
        self.cmdBrowse = None

        self.setFilename(filename)
    def __init__(self, parent, filename, filter):
        QTableItem.__init__(self, parent, QTableItem.Always, '')

        self.filter = filter
        self.cmdBrowse = None
        
        self.setFilename(filename)
Example #3
0
    def __init__(self, table, text):
        QTableItem.__init__( self, table, QTableItem.Never, text)

        self.pixs  = [ Icons.load('blank'),        # OFF
                       Icons.load('red_led'),      # MOVING
                       Icons.load('green_led'),    # ON
                       Icons.load('yellow_led') ]  # ERROR
        self.off()
Example #4
0
    def __init__(self, table, text):
        QTableItem.__init__(self, table, QTableItem.Never, text)

        self.pixs = [
            Icons.load('blank'),  # OFF
            Icons.load('red_led'),  # MOVING
            Icons.load('green_led'),  # ON
            Icons.load('yellow_led')
        ]  # ERROR
        self.off()
Example #5
0
    def __init__(self, table, row, column, txt, validationFunction):
        """
        Constructor.

        @param table: "parent" table
        @type table: L{QTable<qt.QTable>}
        @param txt: text
        @type txt: C{unicode}
        """

        QTableItem.__init__(self, table, QTableItem.Always, txt)
        self._table = table
        self._row = row
        self._column = column
        self.validator = None
        self._validationFunction = validationFunction
    def __init__(self, table, row, column, txt, validationFunction):
        """
        Constructor.

        @param table: "parent" table
        @type table: L{QTable<qt.QTable>}
        @param txt: text
        @type txt: C{unicode}
        """

        QTableItem.__init__(self, table, QTableItem.Always, txt)
        self._table = table
        self._row = row
        self._column = column
        self.validator = None
        self._validationFunction = validationFunction
    def __init__(self, parent):
        QTableItem.__init__(self, parent, QTableItem.Always, '')

        self.motor = None
        self.controlDialog = None
        self.cmdMotorPosition = None
    def __init__(self, parent):
        QTableItem.__init__(self, parent, QTableItem.Always, '')

        self.motor = None
        self.controlDialog = None
        self.cmdMotorPosition = None
Example #9
0
    def __init__(self, parent, color):
        QTableItem.__init__(self, parent, QTableItem.Always, "")

        self.cmdChangeColor = None
        self.setColor(color)
Example #10
0
    def __init__(self, parent):
        QTableItem.__init__(self, parent, QTableItem.Always, "")

        self.OK = None
        self.Cancel = None
        self.Reset = None
Example #11
0
 def __init__(self, tabla, dcasos):
     """la inicialización llama al padre"""
     QTableItem.__init__(self, tabla, QTableItem.WhenCurrent, "...") 
     self.setReplaceable(False)
     self.__dcasos = dcasos
    def __init__(self, parent, color):
        QTableItem.__init__(self, parent, QTableItem.Always, '')

        self.cmdChangeColor = None
        self.setColor(color)
    def __init__(self, parent):
        QTableItem.__init__(self, parent, QTableItem.Always, '')

        self.OK = None
        self.Cancel = None
        self.Reset = None