Beispiel #1
0
 def onProcessing(self, status=True):
     """Show processing gauge."""
     
     self.gauge.SetValue(0)
     
     if status:
         self.MakeModal(True)
         self.mainSizer.Show(4)
     else:
         self.MakeModal(False)
         self.mainSizer.Hide(4)
         self.processing = None
         mspy.start()
     
     # fit layout
     self.Layout()
     self.mainSizer.Fit(self)
     try: wx.Yield()
     except: pass
 def onProcessing(self, status=True):
     """Show processing gauge."""
     
     self.gauge.SetValue(0)
     
     if status:
         self.MakeModal(True)
         self.mainSizer.Show(3)
     else:
         self.MakeModal(False)
         self.mainSizer.Hide(3)
         self.processing = None
         mspy.start()
     
     # fit layout
     self.Layout()
     self.mainSizer.Fit(self)
     try: wx.Yield()
     except: pass
 def onProcessing(self, status=True):
     """Show processing gauge."""
     
     self.gauge.SetValue(0)
     
     if status:
         self.MakeModal(True)
         self.mainSizer.Show(2)
     else:
         self.MakeModal(False)
         self.mainSizer.Hide(2)
         self.processing = None
         mspy.start()
     
     # fit layout
     self.differencesGrid.SetMinSize(self.differencesGrid.GetSize())
     self.Layout()
     self.mainSizer.Fit(self)
     try: wx.Yield()
     except: pass
     self.differencesGrid.SetMinSize((-1,-1))
Beispiel #4
0
 def onProcessing(self, status=True):
     """Show processing gauge."""
     
     self.gauge.SetValue(0)
     
     if status:
         self.MakeModal(True)
         self.mainSizer.Show(3)
     else:
         self.MakeModal(False)
         self.mainSizer.Hide(3)
         self.processing = None
         mspy.start()
     
     # fit layout
     self.spectrumCanvas.SetMinSize(self.spectrumCanvas.GetSize())
     self.Layout()
     self.mainSizer.Fit(self)
     try: wx.Yield()
     except: pass
     self.spectrumCanvas.SetMinSize((-1,-1))
    def onProcessing(self, status=True):
        """Show processing gauge."""

        self.gauge.SetValue(0)

        if status:
            self.MakeModal(True)
            self.mainSizer.Show(2)
        else:
            self.MakeModal(False)
            self.mainSizer.Hide(2)
            self.processing = None
            mspy.start()

        # fit layout
        self.documentsGrid.SetMinSize(self.documentsGrid.GetSize())
        self.Layout()
        self.mainSizer.Fit(self)
        try:
            wx.GetApp().Yield()
        except:
            pass
        self.documentsGrid.SetMinSize((-1, -1))