hi

I added a qlabel to status bar in mainwindow constructor.
how can i change the text of the qlabel in another functions ?


Qt Code:
  1. QWidget *w = new QWidget();
  2. statusBar()->addWidget(w, 1);
  3. QLabel *l = new QLabel("Test Label");
  4. statusBar()->addWidget(l, 0);
To copy to clipboard, switch view to plain text mode 

regards
navid