Different versions of application
-
wrote on 4 Nov 2011, 03:13 last edited by
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.
-
wrote on 4 Nov 2011, 05:46 last edited by
use a combobox for the user to select the version and then use "if" command with the combobox variable
-
wrote on 4 Nov 2011, 05:54 last edited by
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?
-
wrote on 4 Nov 2011, 06:06 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 -
wrote on 4 Nov 2011, 06:08 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.
-
wrote on 4 Nov 2011, 06:15 last edited by
Useful answers. Thanks a lot! I'll see what I can do.
1/6