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