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, **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)
Example #5
0
 def __init__(self, *args, **kwds):
     self._qtclass = QtGui.QWidget
     BaseGUI.__init__(self, *args, **kwds)
Example #6
0
 def __init__(self, *a, **kw):
     self._qtclass = QtGui.QWizard
     BaseGUI.__init__(self, *a, **kw)
Example #7
0
 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()
Example #8
0
 def __init__(self, *a, **kw):
     self._qtclass = QtGui.QWizard
     BaseGUI.__init__(self, *a, **kw)
     
Example #9
0
 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()
Example #10
0
 def __init__(self, *a, **kw):
     self._qtclass = QtGui.QMainWindow
     BaseGUI.__init__(self, *a, **kw)
Example #11
0
 def __init__(self, *a, **kw):
     self._qtclass = QtGui.QMainWindow
     BaseGUI.__init__(self, *a, **kw)
Example #12
0
 def __init__(self, *args, **kwds):
     self._qtclass = QtGui.QWidget
     BaseGUI.__init__(self, *args, **kwds)
Example #13
0
 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)
Example #14
0
 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)