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