vendredi 6 juillet 2018

How to put a QLabel in a toggle button Qt c++

For my project, I wish to have a toggle button. After much research I found this post. toggle-switch-in-qt

I implemented the code of the third post on the link above.

This code works correctly. By cons I do not understand how can we add QLabel for the two states of the toggle button? Would anyone have an idea to do this operation?

Aucun commentaire:

Enregistrer un commentaire