Results 1 to 6 of 6

Thread: UI file disable

  1. #1
    Join Date
    Apr 2009
    Posts
    24
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default UI file disable

    hello, I am using an example , in which example there is no 'UI' File . Just backend coding of forms.
    how can I view '.UI' File of QT 4.?
    thanks.....................
    reply

  2. #2
    Join Date
    Jan 2007
    Posts
    92
    Thanks
    14
    Thanked 1 Time in 1 Post

    Default Re: UI file disable

    You can view UI files in Qt 4 Designer or edit using editor. But you don't have UI file in your example then what's the purpose of viewing.

    If you are checking Qt 4.xx examples. There are UI files in few examples. You can take look under following directory if you have installed Qt4.
    Qt\4.xx\examples\designer\worldtimeclockbuilder\fo rm.ui

  3. #3
    Join Date
    Apr 2009
    Posts
    24
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: UI file disable

    i wana change in UI file, so thats why i want to view this file.........
    then what i can do while i am working on that project
    thanks
    reply

  4. #4
    Join Date
    Mar 2007
    Location
    Germany
    Posts
    229
    Thanks
    2
    Thanked 29 Times in 28 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: UI file disable

    You could "redesign" the user interface, which is coded manually in the example, in the Qt Designer.
    Then add the ui-file to the pro-file, get rid of the manually coded widgets and use the ui-file in your application (http://doc.qtsoftware.com/4.5/design...-ui-file.html; I prefer the "single inheritance approach").

  5. #5
    Join Date
    Apr 2009
    Posts
    24
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: UI file disable

    you mean that i design a new UI file .....but its too lenthy to code forms......
    there is no solution to make UI file whether it is not here
    thanks
    reply plz

  6. #6
    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: UI file disable

    If you want to have a ui file generated from a cpp file then this is not possible.
    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. Read binary from file
    By weldpua2008 in forum Newbie
    Replies: 2
    Last Post: 4th April 2009, 00:50
  2. Can you specify a file engine?
    By skimber in forum Qt Programming
    Replies: 2
    Last Post: 18th September 2008, 16:54
  3. Set up the Qt4.3.2 with Visual Studio 2005
    By lamoda in forum Installation and Deployment
    Replies: 6
    Last Post: 30th January 2008, 07:51
  4. file renaming on windows
    By jdd81 in forum Qt Programming
    Replies: 9
    Last Post: 2nd October 2007, 20:41
  5. qt-3.3.8 fail in scratchbox
    By nass in forum Installation and Deployment
    Replies: 0
    Last Post: 25th May 2007, 16:21

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.