[Qt-interest] How to hide an "easter egg" QMenu ?
Christopher Probst
cprobst at ics.com
Fri Jun 4 23:25:05 CEST 2010
The source code in example should help and I quickly tested on a Mac.
On 06/04/2010 09:25 AM, Ed Sutton wrote:
> 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
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: EasterEgg.tar.gz
Type: application/x-gzip
Size: 2365 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100604/3a36e2f5/attachment.gz
More information about the Qt-interest-old
mailing list