Okey, now I've fixed all my problems which I came in this thread. Thank you d_stranz for your suggestions about make these buttons as member variables in Game class and connecting signals with slots....
nemaider Today, 20:35I have to correct myself. I consider the only way that worked not as clean. The selectAll only worked reliable in the following way:
QTimer::singleShot(0, [this](){selectAll();});
This was...
Thank you ChrisW67, just the answer I needed. I will look into that. :)
felli Today, 14:23After your post I realized what mistakes I did. At first I will try assign as member variables these buttons and later remake showHelp function.
Thanks for your reply.
When I fix all errors in...
Look again at the documentation and examples for QObject::connect().
- First, you do not pass actual arguments to the SIGNAL or SLOT macros when you call connect(), you simply provide the...
Qt Centre is a community site devoted to programming in C++ using the Qt framework developed at Digia.
If you have any problems with Qt or its usage, you can get help from the members of Qt community on our forum.
Don't forget to check out our links section for more Qt resources.
Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code.
Accessing C++ Model via QML throws error: ListElement: cannot use script for property
Yesterday 16:43 by 4k