Adding "checkable " in Qt QMenu / QAction using C++ partially fails
-
Quote:
I am using QtCreator and if you are NOT familiar with Qt - please do not tell me to post it in Qt forum. I have DONE that a getting nowhere fast... I am getting the usual "you do not know what you are doing" or RTFM.
The problem with your statement is that you are assuming everyone who uses C++ is also using Qt, which is simply not the case. By not using the Qt forums, you are severely restricting the number of Qt users who can see your question, and you're waiting on the fewer people with Qt experience around here to stumble on your question. Not everyone here visits the site every single day.
Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles. Dave Kreskowiak
-
Googling with the following gives results that look like they have examples of menu creation.
"QAction" example sub menu
Other than that given multiple questions that you have about it. You might consider the following 1. Use something else 2. The source code is available. So you can dive into that to find solutions to your problems. I will note that I do in fact use 2 quite often. Both for Java VM (and libraries) and C# Microsoft libraries. So it is not a flippant answer. Documentation is almost never sufficient for all cases. Looking at the source code provides solutions. (Or at least in a couple of cases proved that my current solution would not work.)
-
Googling with the following gives results that look like they have examples of menu creation.
"QAction" example sub menu
Other than that given multiple questions that you have about it. You might consider the following 1. Use something else 2. The source code is available. So you can dive into that to find solutions to your problems. I will note that I do in fact use 2 quite often. Both for Java VM (and libraries) and C# Microsoft libraries. So it is not a flippant answer. Documentation is almost never sufficient for all cases. Looking at the source code provides solutions. (Or at least in a couple of cases proved that my current solution would not work.)