Beispiel #1
0
 def __init__(self, device, theproperty, index, parent=None):
     QtGui.QWidget.__init__(self, parent)
     self.ui = Ui_BlobForm()
     self.ui.setupUi(self)
     self.device = device
     self.property = theproperty
     self.blobindex = index
     self.indibvp = self.property.indiproperty.getBLOB()
     self.blob = self.indibvp.bp[self.blobindex]
     self.setWindowTitle("BLOB - " + self.property.label +
                         self.property.name + " from " + self.device.name +
                         "@" + self.device.server.name)
     self.viewer = DefaultViewer(self.blob, self.ui.widgetViewer)