def __init__(self): QtGui.QDialog.__init__(self) self.ui = Ui_layerNameDialog() self.ui.setupUi(self)
class LayerNameDialog(QtGui.QDialog, Ui_layerNameDialog): # WMS layer name dialog def __init__(self): QtGui.QDialog.__init__(self) self.ui = Ui_layerNameDialog() self.ui.setupUi(self)