def __init__(self, model=None, proxyModel=None, **kwds): self._qtclass = QtGui.QWidget apiUtils.synthesize(self, 'model', model) apiUtils.synthesize(self, 'proxyModel', proxyModel) apiUtils.synthesize(self, 'dataMapper', QtGui.QDataWidgetMapper()) #self._dataMapper.setSubmitPolicy(QtGui.QDataWidgetMapper.ManualSubmit) BaseGUI.__init__(self, **kwds)
def __init__(self, model=None, proxyModel=None, editors={}, *args, **kwds): self._qtclass = QtGui.QWidget apiUtils.synthesize(self, 'model', model) apiUtils.synthesize(self, 'proxyModel', proxyModel) apiUtils.synthesize(self, 'editors', editors) apiUtils.synthesize(self, 'busy', False) BaseGUI.__init__(self, **kwds) if proxyModel: self.setProxyModel(proxyModel) elif model: self.setModel(model)
def __init__(self, model=None, proxyModel=None, editors={}, *args, **kwds): self._qtclass = QtGui.QWidget apiUtils.synthesize(self, 'model', model) apiUtils.synthesize(self, 'proxyModel', proxyModel) apiUtils.synthesize(self, 'editors', editors) apiUtils.synthesize(self, 'busy', False) BaseGUI.__init__(self, **kwds) if proxyModel : self.setProxyModel(proxyModel) elif model : self.setModel(model)
def __init__(self, *args, **kwds): self._qtclass = QtGui.QWidget BaseGUI.__init__(self, *args, **kwds)
def __init__(self, *a, **kw): self._qtclass = QtGui.QWizard BaseGUI.__init__(self, *a, **kw)
def __init__(self, *a, **kw): self._qtclass = QtGui.QWizard BaseGUI.__init__(self, *a, **kw) # set this property to true to properly handle tracking events to control keyboard overrides self.setMouseTracking(True) self.initWizardPages()
def __init__(self, *a, **kw): self._qtclass = QtGui.QWizard BaseGUI.__init__(self, *a, **kw) # set this property to true to properly handle tracking events to control keyboard overrides self.setMouseTracking( True ) self.initWizardPages()
def __init__(self, *a, **kw): self._qtclass = QtGui.QMainWindow BaseGUI.__init__(self, *a, **kw)
def __init__(self, *args, **kwds): self._qtclass = QtGui.QDialog BaseGUI.__init__(self, *args, **kwds) # set this property to true to properly handle tracking events to control keyboard overrides self.setMouseTracking(True)