QT Design Studio with QT Widgets App
-
wrote on 15 Feb 2022, 10:58 last edited by
Hi, I have a QT widget app that I have been making for some time. I want to make GUI for it that looks rich and good. QT Design studio seems a good choice but I cant find resources to be sure that QT design studio GUI can be implemented to QT Widgets app.
I found a few links but they are not very clear. Can you help me answer this question please.
-
Hi, I have a QT widget app that I have been making for some time. I want to make GUI for it that looks rich and good. QT Design studio seems a good choice but I cant find resources to be sure that QT design studio GUI can be implemented to QT Widgets app.
I found a few links but they are not very clear. Can you help me answer this question please.
-
wrote on 15 Feb 2022, 11:10 last edited by
I use QMake
-
I use QMake
wrote on 15 Feb 2022, 11:16 last edited by Pl45m4It's the same thing as using regular QML stuff in your Qt Widgets project
just check the manual, it's well documented, I would say:
-
wrote on 15 Feb 2022, 11:36 last edited by harish__rajora
One small ques. Do you know how to connect those things to my cpp code?
Like if I have a QPushButton right now that do some stuff. Now I am changing the UI with QT Design Studio, so how will things connect now? Do I need to name the UI element the same as what I named the QPushButton?Sorry if this ques is basic or silly.
-
One small ques. Do you know how to connect those things to my cpp code?
Like if I have a QPushButton right now that do some stuff. Now I am changing the UI with QT Design Studio, so how will things connect now? Do I need to name the UI element the same as what I named the QPushButton?Sorry if this ques is basic or silly.
wrote on 15 Feb 2022, 11:46 last edited by@harish__rajora said in QT Design Studio with QT Widgets App:
QT Design Studio, so how will things connect now?
Qt Design Studio produces QML based UIs which you can integrate into your Qt Widget app. So in Qt Design Studio there is no
QPushButton
... or are you talking about the "basic"Qt Designer
? -
wrote on 15 Feb 2022, 12:03 last edited by
@Pl45m4 said in QT Design Studio with QT Widgets App:
Designer?
Yes like I have a QPushButton say "Push1" and on pressing it some slots etc are called. Now in QT designer file, I have UI in which there is a button. I want it to act similar to Push1, how can I do that?
-
@Pl45m4 said in QT Design Studio with QT Widgets App:
Designer?
Yes like I have a QPushButton say "Push1" and on pressing it some slots etc are called. Now in QT designer file, I have UI in which there is a button. I want it to act similar to Push1, how can I do that?
wrote on 15 Feb 2022, 12:10 last edited by Pl45m4Why did you say "Qt Design Studio" at the beginning?
QtDesigner
andQt Design Studio
are two different tools.If you have an
ui
- file, you can access your button using the pointer to yourmoc
'ed ui-header... By defaultui->OBJECTNAME
...
So probablyui->push1
in your case... -
wrote on 15 Feb 2022, 12:16 last edited by
Yes I am sorry in the previous statement I meant Now in QT Design Studio. Sorry for that.
1/9