示例#1
0
class cReportsSetting(QtGui.QDialog, Ui_setting):
    def __init__(self):
        QtGui.QDialog.__init__(self)
        self.ui = Ui_setting()
        self.ui.setupUi(self)

    def setSetting(self, name, layer, encoding):
        self.ui.nameTxt.setText(name)
        self.ui.layerTxt.setText(layer)
        self.ui.encodingTxt.setText(encoding)

    def getName(self):
        return self.ui.nameTxt.text()

    def getLayer(self):
        return self.ui.layerTxt.text()

    def getEncoding(self):
        return self.ui.encodingTxt.text()
示例#2
0
class cReportsSetting(QtGui.QDialog, Ui_setting):
	def __init__(self):
		QtGui.QDialog.__init__(self)
		self.ui = Ui_setting()
		self.ui.setupUi(self)
		
	def setSetting(self, name, layer, encoding):
		self.ui.nameTxt.setText(name)
		self.ui.layerTxt.setText(layer)
		self.ui.encodingTxt.setText(encoding)
	
	def getName(self):
		return self.ui.nameTxt.text()

	def getLayer(self):
		return self.ui.layerTxt.text()

	def getEncoding(self):
		return self.ui.encodingTxt.text()
		
示例#3
0
 def __init__(self):
     QtGui.QDialog.__init__(self)
     self.ui = Ui_setting()
     self.ui.setupUi(self)
示例#4
0
	def __init__(self):
		QtGui.QDialog.__init__(self)
		self.ui = Ui_setting()
		self.ui.setupUi(self)