Results 1 to 5 of 5

Thread: Facing problem with qt-4.1 designer

  1. #1
    Join Date
    Feb 2006
    Posts
    32
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Facing problem with qt-4.1 designer

    Hi All,

    I was comfortable with qt-3. Suddenly switched over to qt-4.1. With help of designer manual I am able to create my design. Now I am not able to create main.cpp file and also not able to add slots and signals to my created class. In qt-3 there is Object Explorer through which we can add signals and slots. Now I am not able to find all these facilities in qt-4.1. Requires ur helping hand to solve all these problems.

    Thanks
    Jnana

  2. #2
    Join Date
    Feb 2006
    Posts
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Facing problem with qt-4.1 designer

    In Qt 4.1 Designer, go under Tools menu. There is an Object Inspector, and a Signal/Slots Editor that allow you to connect objects.

  3. #3
    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: Facing problem with qt-4.1 designer

    Quote Originally Posted by jnana
    Now I am not able to create main.cpp file and also not able to add slots and signals to my created class. In qt-3 there is Object Explorer through which we can add signals and slots. Now I am not able to find all these facilities in qt-4.1.
    Qt Designer 4 doesn't have them. The approach changed with Qt4. Designer no longer allows you to manage and edit code or create custom signals or slots. More info about it.

  4. #4
    Join Date
    Feb 2006
    Posts
    32
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Facing problem with qt-4.1 designer

    Hi,

    Thanks for ur reply. I shall try these methods.

    Thanks
    Jnana

  5. #5
    Join Date
    Jan 2006
    Location
    New Malden (near London)
    Posts
    32
    Thanks
    3
    Thanked 2 Times in 2 Posts
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Unix/X11

    Default Re: Facing problem with qt-4.1 designer

    Quote Originally Posted by jnana
    I was comfortable with qt-3. Suddenly switched over to qt-4.1. With help of designer manual I am able to create my design. Now I am not able to create main.cpp file and also not able to add slots and signals to my created class. In qt-3 there is Object Explorer through which we can add signals and slots. Now I am not able to find all these facilities in qt-4.1. Requires ur helping hand to solve all these problems.
    The method for using Qt Designer forms changed in Qt 4; there are now three methods, which are described here.

    You can also use QtUiTools to load the .ui file dynamically at run-time, similarly to Qt3 Widget Factory: see here.

Similar Threads

  1. Facing problem with Q3Canvas
    By jnana in forum Qt Programming
    Replies: 3
    Last Post: 6th May 2006, 08:00
  2. Facing problem with tool bar icons
    By jnana in forum Qt Programming
    Replies: 4
    Last Post: 20th April 2006, 09:37
  3. problem with designer
    By bashamehboob in forum Qt Tools
    Replies: 2
    Last Post: 12th April 2006, 08:46
  4. QPixmap designer property not showing up
    By high_flyer in forum Qt Programming
    Replies: 1
    Last Post: 15th March 2006, 20:56
  5. Replies: 16
    Last Post: 7th March 2006, 16:57

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.