Results 1 to 5 of 5

Thread: Qt Multiple Ui files.....

  1. #1
    Join Date
    Sep 2009
    Posts
    39
    Thanks
    3
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Arrow Qt Multiple Ui files.....

    Hi to All.....
    I'm new to Qt, I want to integrate two or more ui or project files in a single project. I saw some of the examples i got idea that .pri file can do this but in Qt 4.5.2 i don't no how to use it. My required solution is :
    1. I have two more ui files and its .c and .h files
    2. I want to provide a buttons where it can switch to one more GUI files with different operation.
    3. I have main window with all the Buttons, where each button should navigate to different ui file. one for calculator. one for Analog clock or chat system thru serail communication.
    How can i do this. plz suggest me......................

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt Multiple Ui files.....

    Have you looked at other thread with same topic? Such as this one: http://www.qtcentre.org/threads/25279-Multiple-UI-files

  3. #3
    Join Date
    Sep 2009
    Posts
    39
    Thanks
    3
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Arrow Re: Qt Multiple Ui files.....

    Hi.. I saw the code I want to know when is that .pri files will be included in project to connect many projects to integrate all. But now i got idea by using show() we can call other GUI files on screen. I will try it and get you about the results of this..
    Thank you

  4. #4
    Join Date
    Sep 2009
    Posts
    39
    Thanks
    3
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Arrow Re: Qt Multiple Ui files.....

    HI.. I tried to create one project with main window with one push button on-button-pressed, but again for next dialog window i want to create just required files like dialog.h,dialog.cpp,dilaog.ui.... create one more project then link with show() on -button -pressed........... But when i create .h,.cpp,..ui files.. it creates only files with out any arguments or DIALOG_H etc. Im confused how to create files separeately.

  5. #5
    Join Date
    Sep 2009
    Posts
    39
    Thanks
    3
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Qt Multiple Ui files.....

    `Dialog' does not name a type.. this was the errror i got when i did according to given link.. I Have doubt where create Dailog mydialog; eitheer in MAinwindow or Dialog Window.h files. Im gettin error of Dialog File...

Similar Threads

  1. Multiple UI files
    By Diblye in forum Newbie
    Replies: 5
    Last Post: 29th June 2012, 00:24
  2. example project with multiple .ui files
    By navid in forum Newbie
    Replies: 1
    Last Post: 31st October 2009, 18:25
  3. Multiple source files per ui
    By squidge in forum Qt Programming
    Replies: 2
    Last Post: 14th October 2009, 17:32
  4. loging to multiple files using Log4Qt
    By zhongzhu in forum Qt Programming
    Replies: 0
    Last Post: 17th June 2009, 10:07
  5. Error: Using Multiple files
    By 3nc31 in forum Qt Programming
    Replies: 1
    Last Post: 22nd November 2007, 09:23

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.