Results 1 to 3 of 3

Thread: VS2005 Integration: how to add new dialog?

  1. #1
    Join Date
    Feb 2007
    Posts
    10
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default VS2005 Integration: how to add new dialog?

    I've recently switched to 05 with qt 4.1.5 integration, and I can't figure out how to add a new dialog to the project.

    To resolve my issue, I made a ui file in designer and brought it into the project, but now it complains about not having a class for the file.

    What must I do to make a new dialog and have it associated with the project, along with the ui and moc processes?

    Thanks!

  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: VS2005 Integration: how to add new dialog?

    Try opening context menu somewhere in the solution explorer (over the project maybe) and there should be items for adding a new Qt class or adding a new Qt GUI class. The latter is for adding classes including a designable .ui form.
    J-P Nurmi

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

    Scorp1us (21st February 2007)

  4. #3
    Join Date
    Feb 2007
    Posts
    10
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: VS2005 Integration: how to add new dialog?

    Quote Originally Posted by jpn View Post
    Try opening context menu somewhere in the solution explorer (over the project maybe) and there should be items for adding a new Qt class or adding a new Qt GUI class. The latter is for adding classes including a designable .ui form.
    Oh, I see why I was confused -designer give me the option of New Dialog (Button bottom/right). I guess you can't do that in VS. I guess it only pre-populates with two push buttons and a spacer.

    Thanks

Similar Threads

  1. Replies: 1
    Last Post: 1st February 2007, 17:07
  2. [itemview] delegation to a dialog ...
    By lauranger in forum Qt Programming
    Replies: 6
    Last Post: 27th November 2006, 10:08
  3. Replies: 3
    Last Post: 23rd July 2006, 18:02
  4. Show/hide part of dialog with resizing.
    By Spockmeat in forum Qt Tools
    Replies: 6
    Last Post: 7th June 2006, 08:22
  5. Dialog positioning in GNOME
    By simk in forum Qt Programming
    Replies: 2
    Last Post: 16th March 2006, 09:41

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.