Results 1 to 2 of 2

Thread: Menu problem using Designer

  1. #1
    Join Date
    Feb 2007

    Default Menu problem using Designer

    How do you connect an activated() signal from a menu item that you define in Designer to a slot?

    In the Qt example docs, they create menus programmatically in the custom class files, so that the QAction instances are in the same place as the connect statements. When you define menus in Designer, the QAction instances are defined in the ui_className.h file. I don't believe that you are supposed to hand edit that file, and I can't see how to use the Action Editor or the "Edit Signals/Slots" edit mode to make connections.

    Your advice is greatly appreciated.

  2. #2
    Join Date
    Jan 2006
    Warsaw, Poland
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Unix/X11 Windows

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

    JimBrown (20th February 2007)

Similar Threads

  1. Basic: problem building designer application
    By kingslee in forum Qt Tools
    Replies: 2
    Last Post: 31st August 2006, 15:26
  2. Designer crashes when selecting some widgets
    By gwendal in forum Qt Tools
    Replies: 4
    Last Post: 21st July 2006, 13:18
  3. problem with designer
    By bashamehboob in forum Qt Tools
    Replies: 2
    Last Post: 12th April 2006, 07:46
  4. QPixmap designer property not showing up
    By high_flyer in forum Qt Programming
    Replies: 1
    Last Post: 15th March 2006, 19:56
  5. Facing problem with qt-4.1 designer
    By jnana in forum Qt Tools
    Replies: 4
    Last Post: 8th March 2006, 18:16


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.