Results 1 to 4 of 4

Thread: Chil widget with .ui?

  1. #1
    Join Date
    Jan 2012
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Question Chil widget with .ui?

    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

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Chil widget with .ui?

    You can see if QMessageBox::about() is ok for you.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Jan 2012
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Chil widget with .ui?

    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.

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Chil widget with .ui?

    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.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Replies: 2
    Last Post: 23rd January 2012, 17:06
  2. Replies: 1
    Last Post: 23rd June 2011, 23:09
  3. Replies: 1
    Last Post: 11th March 2011, 19:34
  4. Replies: 10
    Last Post: 29th May 2010, 18:42
  5. Replies: 4
    Last Post: 3rd March 2008, 22:15

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.