Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Different versions of application
I would like to have two versions of the same application - the same basic code, but looking different. For different users, I want to show different interfaces, with more or fewer buttons and text.
What's the best way to go about this?
Thanks for any help.
kalster last edited by
use a combobox for the user to select the version and then use "if" command with the combobox variable
I'm sorry. Maybe I wasn't very clear. I'm pretty much a beginner here. I have an application with a GUI that I'm making with Qt Creator. That's where I'm to. I'd like to basically copy that interface, remove some buttons and change some text. I'm not sure how to do that. How do I actually have two different interfaces for the same functions?
giesbert last edited by
Why not just hide the widgets you don't need and then change the text of the widgets that need to be changed?
"like in this example in the docs":http://doc.qt.nokia.com/4.7/dialogs-extension.html
Eddy last edited by
If I understand you correctly you want dynamic dialogs which are explained in "the official Qt book":http://www.qtrac.eu/C++-GUI-Programming-with-Qt-4-1st-ed.zip.
Have a look at chapter 2 subtitle : "dynamic dialogs" for an example.
For changing the text you can use a label and change it's text.
Useful answers. Thanks a lot! I'll see what I can do.