Results 1 to 3 of 3

Thread: Separated ui.h's function into separate file

  1. #1
    Join Date
    Sep 2008
    Location
    Chennai
    Posts
    36
    Thanks
    5
    Thanked 1 Time in 1 Post
    Qt products
    Qt3
    Platforms
    Unix/X11

    Question Separated ui.h's function into separate file

    I have developed an application (Main Class/ Main application class) using designer(QT 3.3). The default ".ui.h" file have the functions and slots I have added to that Main class / Main application class, which is having more than 12000 lines of code. I want only the functions (Not slots) to be separated to another file. How can I achive that , is it possible in the designer ???

    Thanks in advance .........

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Separated ui.h's function into separate file

    Have you noticed that there are different ways to use Qt Designer 3? I'm glad Qt Designer 4 does things differently.
    J-P Nurmi

  3. The following user says thank you to jpn for this useful post:

    soumyadeep_pan (7th February 2009)

  4. #3
    Join Date
    Sep 2008
    Location
    Chennai
    Posts
    36
    Thanks
    5
    Thanked 1 Time in 1 Post
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default Re: Separated ui.h's function into separate file

    I have read the articles and it is really helpful ....

    But as I have already developed the code, now I think sub-classing will create a headache for me now.I will continue with the current implementation, I think 12000 code in a single file won't create any problem, it will take more time to compile only.

    Really it is nice to see that QT4 will automatically resolve these issue by creating the .ui files as a separate class and we can sub class them as we required.

    Thanks for your valuable suggestion .........

Similar Threads

  1. QPSQL problem
    By LoneWolf in forum Installation and Deployment
    Replies: 60
    Last Post: 4th November 2009, 14:22
  2. QPSQL driver in windows
    By brevleq in forum Installation and Deployment
    Replies: 31
    Last Post: 14th December 2007, 12:57
  3. how to add static library into qmake
    By Namrata in forum Qt Tools
    Replies: 1
    Last Post: 20th November 2007, 17:33
  4. KDE/QWT doubt on debian sarge
    By hildebrand in forum KDE Forum
    Replies: 13
    Last Post: 25th April 2007, 06:13
  5. use qpsql
    By raphaelf in forum Installation and Deployment
    Replies: 34
    Last Post: 22nd August 2006, 12:52

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.