QT Design Studio with QT Widgets App
-
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.
-
I use QMake
-
I use QMake
It'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:
-
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.
@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
? -
@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?
Why 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... -
Yes I am sorry in the previous statement I meant Now in QT Design Studio. Sorry for that.