how to find a existing icon added to Status bar and then remove the same
Unsolved
General and Desktop
-
On continuation on this
https://forum.qt.io/topic/94568/how-to-add-red-color-icon-to-status-of-mainwindow/8
how do I remove an existing widget to QStausBar and edit the same
-
@Qt-Enthusiast
You simply store the pointer to the label u insert into
the class as a variable so u have it for later.
then you can both set a new pixmap
or use
http://doc.qt.io/qt-5/qstatusbar.html#removeWidget
on it to remove it.