def __init__(self, filename=None, parent=None):
dialogMAIN_FORM.__init__(self, parent)
self.databaseType = "fidocadj"
self.projektBRD = __builtin__.open(filename, "r").read().replace("\r", "")
self.layersNames = {}
self.getLayersNames()
####
self.generateLayers()
self.spisWarstw.sortItems(1)
#
self.fidocadjBiblioteki = QtGui.QLineEdit('')
if PCBconf.supSoftware[self.databaseType]['libPath'] != "":
self.fidocadjBiblioteki.setText(PCBconf.supSoftware[self.databaseType]['libPath'])
lay = QtGui.QHBoxLayout()
lay.addWidget(QtGui.QLabel('Library'))
lay.addWidget(self.fidocadjBiblioteki)
self.lay.addLayout(lay, 12, 0, 1, 6)
评论列表
文章目录