Results 1 to 4 of 4

Thread: Slots or new slots

  1. #1
    Join Date
    Oct 2007
    Location
    Caracas - Venezuela
    Posts
    27
    Thanks
    6
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Question Slots or new slots

    The slots of qt4.3.2 are not sufficient (or adapted) for my applications. Can I edit slots or new slots at qt4 designer? do someone how to do?
    Colombo C. Da Encarnaçao Q.

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

    Default Re: Slots or new slots

    You can't add slots in Qt Designer, but you can do it in your code.

  3. #3
    Join Date
    Oct 2007
    Location
    Caracas - Venezuela
    Posts
    27
    Thanks
    6
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Slots or new slots

    Theoretically I can use costom widgets in designer, but I can't use costom slots. I believe that someone did not end his task.
    Colombo C. Da Encarnaçao Q.

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Slots or new slots

    Quote Originally Posted by Colx007 View Post
    Theoretically I can use costom widgets in designer, but I can't use costom slots. I believe that someone did not end his task.
    You can use custom slots and signals to make connections, but you can't add them, because .ui files don't represent QObjects. This is even too much --- Designer is for designing the layout and everything what should be in the code (i.e. the behaviour) is beyond Designer's scope.

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

    Colx007 (21st January 2008)

Similar Threads

  1. Connecting to Undeclared Slots
    By Dumbledore in forum Qt Tools
    Replies: 5
    Last Post: 11th October 2007, 17:19
  2. signals and slots in plugins
    By anderl in forum Qt Programming
    Replies: 1
    Last Post: 10th October 2007, 13:57
  3. Signals and Slots question
    By Thoosle in forum Qt Programming
    Replies: 5
    Last Post: 5th December 2006, 00:24
  4. Adding slots in Designer
    By jamos in forum Qt Tools
    Replies: 5
    Last Post: 18th May 2006, 23:28
  5. Missing slots
    By Mariane in forum Newbie
    Replies: 1
    Last Post: 5th February 2006, 01:50

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.