Bumped the default timeout for the status bar to 20 seconds
This commit is contained in:
+5
-1
@@ -137,13 +137,17 @@ class GuiMainStatus(QStatusBar):
|
|||||||
self._updateTime()
|
self._updateTime()
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
##
|
||||||
|
# Setters
|
||||||
|
##
|
||||||
|
|
||||||
def setRefTime(self, theTime):
|
def setRefTime(self, theTime):
|
||||||
"""Set the reference time for the status bar clock.
|
"""Set the reference time for the status bar clock.
|
||||||
"""
|
"""
|
||||||
self.refTime = theTime
|
self.refTime = theTime
|
||||||
return
|
return
|
||||||
|
|
||||||
def setStatus(self, theMessage, timeOut=10.0):
|
def setStatus(self, theMessage, timeOut=20.0):
|
||||||
"""Set the status bar message to display for 'timeOut' seconds.
|
"""Set the status bar message to display for 'timeOut' seconds.
|
||||||
"""
|
"""
|
||||||
self.showMessage(theMessage, int(timeOut*1000))
|
self.showMessage(theMessage, int(timeOut*1000))
|
||||||
|
|||||||
Reference in New Issue
Block a user