Relating the c++ class to the ui dialog
-
I'm a new begginer to qt. When I build several dialogs using qt-designer how I relate the classes to the correct dialog.
-
welcome to devnet
Your question is not very specific.
Typically one is using Qt creator as an IDE. Qt creator would use also internally Qt designer for creating UIs. However, the process is seamless. You would create a class with dialog or whatever and you can use it directly in your application.
Probably the best is to start with "some tutorials.":http://qt-project.org/doc/qt-5.0/qtdoc/qtexamplesandtutorials.html
-
Maybe I didn't explain myself.
suppose I have 2 dialogs created with qt-designer
Dailog 1: personalinfoDialog
Dialog 2:passwordDialognow I have 2 classes
personalInfoClass
passowrdClasswhen I implment the 2 classes I need to have a way to relate each to it's correct Dialog
meaninig I need a way to declare that personalInfoClass is related to personalInfoDialog and passwordClass is related to passwodDialog -
your problem is not reflecting in the explanation
-
Hi,
I think this page will help a lot
"Using a Designer UI File in your Application":http://qt-project.org/doc/qt-5/designer-using-a-ui-file.html