Easy Dialogs and Status Bar v1.0


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Antony Nasce
Adds convenience methods to hiero.ui for presenting simple dialogs and setting status bar messages
Requirements:
7.0 or later
15 Feb 2014
203

Adds convenience methods to hiero.ui for presenting dialogs (without needing to know the PySide) and setting messages in the Main window's statusbar at the bottom.

Each dialog info/warning/error also logs out at the appropriate log level.

The Mainwindow has a Status bar which is not used by the main application (at time of writing)

You can hijack the Status Bar to display messages, or even show custom PySide widgets such as ProgressBars or Buttons.

(See QStatusBar methods for more details: http://srinikom.github.io/pyside-docs/PySide/QtGui/QStatusBar.html)

hiero.ui methods added by messaging.py (see their help for usage)

hiero.ui.statusBar - returns an instance to the Main Windows Status Bar object.
hiero.ui.showInfo - presents an Info style Dialog box
hiero.ui.showWarning - presents a Warning style Dialog box
hiero.ui.showError - presents an Error style Dialog box
hiero.ui.setStatusMessage = setStatusMessage
hiero.ui.statusMessage = statusMessage
hiero.ui.clearStatusMessage = clearStatusMessage
hiero.ui.toggleStatusBar = toggleStatusBar

messaging.png

Please login in order to download these files.

You have no rights to post comments

We have 3264 guests and 70 members online