Results 1 to 7 of 7

Thread: breakpoint inside QComboBox subclass not working

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2009
    Location
    Sacramento, CA
    Posts
    24
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows
    Thanked 1 Time in 1 Post

    Default Re: breakpoint inside QComboBox subclass not working

    Are you sure the connect returns true? If I remember correctly, signals and slots have to have the same parameter lists.

  2. #2
    Join Date
    Dec 2009
    Posts
    29
    Thanks
    2
    Thanked 3 Times in 3 Posts

    Default Re: breakpoint inside QComboBox subclass not working

    Quote Originally Posted by steno View Post
    Are you sure the connect returns true? If I remember correctly, signals and slots have to have the same parameter lists.
    yes I have tried with the same signature and it gives the same result. Also I am 100% sure the connect returns true.
    Last edited by yodasoda; 2nd June 2010 at 02:12.

  3. #3
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Wiki edits
    17

    Default Re: breakpoint inside QComboBox subclass not working

    Which line in the slot are you marking with the breakpoint?

  4. #4
    Join Date
    Dec 2009
    Posts
    29
    Thanks
    2
    Thanked 3 Times in 3 Posts

    Default Re: breakpoint inside QComboBox subclass not working

    Quote Originally Posted by ChrisW67 View Post
    Which line in the slot are you marking with the breakpoint?
    I actually marked them all.

  5. #5
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Wiki edits
    17

    Default Re: breakpoint inside QComboBox subclass not working

    Long shot here... have you tried moving the do_indexChanged() implementation in to the cpp file rather than the header?

  6. The following user says thank you to ChrisW67 for this useful post:

    yodasoda (3rd June 2010)

  7. #6
    Join Date
    Dec 2009
    Posts
    29
    Thanks
    2
    Thanked 3 Times in 3 Posts

    Default Re: breakpoint inside QComboBox subclass not working

    Quote Originally Posted by ChrisW67 View Post
    Long shot here... have you tried moving the do_indexChanged() implementation in to the cpp file rather than the header?
    it worked thanks!

Similar Threads

  1. QComboBox::insertSeparator(int index) is not working
    By osiris81 in forum Qt Programming
    Replies: 2
    Last Post: 14th July 2011, 19:43
  2. Replies: 1
    Last Post: 18th December 2009, 21:57
  3. Focus frame inside QComboBox list
    By alpinista in forum Qt Programming
    Replies: 2
    Last Post: 13th November 2009, 15:30
  4. Replies: 1
    Last Post: 13th June 2008, 19:58
  5. QComboBox inside QTableWidget
    By campana in forum Qt Programming
    Replies: 7
    Last Post: 20th March 2006, 18:22

Tags for this Thread

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
  •  
Qt is a trademark of The Qt Company.