[Qt-interest] How to hide an "easter egg" QMenu ?

Ed Sutton ESutton at fescorp.com
Fri Jun 4 15:25:05 CEST 2010


I can make the action invisible, but the menu I cannot.  I tried:

   ui->actionTestThrowException->setVisible(false);
   ui->menuTest->setVisible(false);
   ui->menuTest->setHidden(true);
   ui->menuTest->hide();

I have a secret "Test" menu that I want to display for debug and test purposes via a secret key command (easter egg) or config file.

Thanks in advance for any tips or direction,

-Ed





More information about the Qt-interest-old mailing list