PDA

View Full Version : Chil widget with .ui?



ryugami
28th January 2012, 09:09
Hey guys,
I am making an application in Qt and I want to make an "About" page. Is there any way to create a widget/window and link a custom .ui file to it? I have tried to find it on the internet but so fare no luck :(.
Please help me

wysota
28th January 2012, 12:17
You can see if QMessageBox::about() is ok for you.

ryugami
28th January 2012, 12:47
This is a very good back up, so thank you! However it's not quite what I'm looking for. I already made the .ui file so I just need to link it to a second window and keep that open.

wysota
28th January 2012, 13:01
Then what's the problem exactly? You don't know how to open a new window in your program? Just create it and call show() (or exec() if it is based on QDialog) as usual.