navid
5th December 2009, 12:11
hi
I added a qlabel to status bar in mainwindow constructor.
how can i change the text of the qlabel in another functions ?
QWidget *w = new QWidget();
statusBar()->addWidget(w, 1);
QLabel *l = new QLabel("Test Label");
statusBar()->addWidget(l, 0);
regards
navid
I added a qlabel to status bar in mainwindow constructor.
how can i change the text of the qlabel in another functions ?
QWidget *w = new QWidget();
statusBar()->addWidget(w, 1);
QLabel *l = new QLabel("Test Label");
statusBar()->addWidget(l, 0);
regards
navid