[Qt-interest] statusBar()
R. Reucher
rene.reucher at batcom-it.net
Thu Mar 26 11:07:43 CET 2009
On Thu March 26 2009 10:54:30 Sujan Dasmahapatra wrote:
> In my prpoject I have many classes and the main class is "MainWindow"
> which is derived from QMainWindow. So I am able to show message in my
> 'MainWindow' class......How could I show message on the statusBar from
> any other class. When I am trying to do that its not happening.Plss tell
> me some idea to show message from other class than MainWindow..
How did you try to do it?
Anyway, it should work this way:
...
myMainWindow->statusBar()->showMessage("Hello World!");
...
See also:
http://doc.qtsoftware.com/4.5/qmainwindow.html#statusBar
http://doc.qtsoftware.com/4.5/qstatusbar.html#showMessage
HTH, René
--
René Reucher
rene.reucher at batcom-it.net
http://www.batcom-it.net/
Anybody can win, unless there happens to be a second entry.
More information about the Qt-interest-old
mailing list