title: Why cant a QToolButton be hidden after it is added to a QToolBar?
body: <p>This works...</p>
  
  <pre><code>QToolButton * toolbutton = new QToolButton(this);
  
  //hide before addWidget
  toolbutton-&gt;hide();
  
  addWidget(toolbutton);
  </code></pre>
  
  <p>But this doesn't</p>
  
  <pre><code>QToolButton * toolbutton = new QToolButton(this)
  
  addWidget(toolbutton);
  
  //hide after addWidget
  toolbutton-&gt;hide();
  </code></pre>
  
  <p>Is there an alternative so I can actually hide after a QToolButton after it is added to a QToolBar? I need to during runtime.</p>