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) 
Esempio n. 2
0
    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)
Esempio n. 3
0
    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)
Esempio n. 5
0
 def __init__(self, *args, **kwds):
     self._qtclass = QtGui.QWidget
     BaseGUI.__init__(self, *args, **kwds)
Esempio n. 6
0
 def __init__(self, *a, **kw):
     self._qtclass = QtGui.QWizard
     BaseGUI.__init__(self, *a, **kw)
Esempio n. 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()
Esempio n. 8
0
 def __init__(self, *a, **kw):
     self._qtclass = QtGui.QWizard
     BaseGUI.__init__(self, *a, **kw)
     
Esempio n. 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()
Esempio n. 10
0
 def __init__(self, *a, **kw):
     self._qtclass = QtGui.QMainWindow
     BaseGUI.__init__(self, *a, **kw)
Esempio n. 11
0
 def __init__(self, *a, **kw):
     self._qtclass = QtGui.QMainWindow
     BaseGUI.__init__(self, *a, **kw)
Esempio n. 12
0
 def __init__(self, *args, **kwds):
     self._qtclass = QtGui.QWidget
     BaseGUI.__init__(self, *args, **kwds)
Esempio n. 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)
Esempio n. 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)