Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. how to find a existing icon added to Status bar and then remove the same
Forum Updated to NodeBB v4.3 + New Features

how to find a existing icon added to Status bar and then remove the same

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 300 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Q Offline
    Q Offline
    Qt Enthusiast
    wrote on last edited by Qt Enthusiast
    #1

    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

    mrjjM 1 Reply Last reply
    0
    • Q Qt Enthusiast

      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

      mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @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.

      1 Reply Last reply
      3

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved