Package ts3widgets :: Module filetransfer :: Class SmartStatusBar
[hide private]
[frames] | no frames]

Class SmartStatusBar

source code

PythonQt.QtGui.QStatusBar --+
                            |
                           SmartStatusBar

StatusBar which automatically hides itsself, when the message is cleared.

Instance Methods [hide private]
 
__init__(self, parent=None) source code
 
_onMessageChanged(self, message) source code
 
showMessage(self, message, timeout=0)
Displays a message for a specified duration.
source code
Class Variables [hide private]
  defaultTimeout = 5000
Method Details [hide private]

showMessage(self, message, timeout=0)

source code 

Displays a message for a specified duration.

Parameters:
  • message (str) - the message to display
  • timeout (int) - duration in ms; optional; if set to 0, SmartStatusBar.defaultTimeout is used