In my statusbar , i have added one Qlabel inside which i am displaying some message . Now what i want is when i click on that Qlabel(present inside the Qstatusbar ) , the message should disappear ..
I have added the label inside statusbar as follows ,
Qt Code:
ui.statusBar->addWidget(cpyrightlbl); cpyrightlbl->setText("Demo Message"); cpyrightlbl->setStyleSheet("border: 3px"); cpyrightlbl->setFixedWidth(frameGeometry().width()); cpyrightlbl->show();To copy to clipboard, switch view to plain text mode
Bookmarks