wang9658
9th May 2013, 15:30
I have created menuBar and menus with Qt Designer. sometime, but want to hide some menus (actions) with code. It seems that's impossible because no way to get the action objects.
Certainly, if writing codes to create those menus, I can hide or show them with a pointer to the object. But I just want to know how the code to control objects created by qe designer.
Thanks.
sorry, close and open the project again, it works. that should be a bug of qt creator.
Certainly, if writing codes to create those menus, I can hide or show them with a pointer to the object. But I just want to know how the code to control objects created by qe designer.
Thanks.
sorry, close and open the project again, it works. that should be a bug of qt creator.