Results 1 to 6 of 6

Thread: Issue by Signal to Slot via proxy

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Issue by Signal to Slot via proxy

    When you do the connect in B, does "konfig" already exist?
    Is it always the same instance?

    Cheers,
    _

  2. #2
    Join Date
    Aug 2015
    Location
    Gdansk, Poland
    Posts
    21
    Thanks
    3
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Issue by Signal to Slot via proxy

    Hi Casisto,
    I think two other guys above get same issue as me, since we can't get the "relevant parts" of your problem, so we just can guess

    1. as anda_skoa said, when/where you place the connect function must be valid. In some case it can be too late to "connect" when your dialog already called.
    2. make sure the "this" of the receiver refer to the right object & you can use qDebug()<<sender(); inside the slot function to get exact information about the signal sender

  3. #3
    Join Date
    Aug 2015
    Posts
    5
    Thanks
    1
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default <Solved> Re: Issue by Signal to Slot via proxy

    Ok,

    failure was found at minimizing... I had declare C in B, but call the show() by "parent", which is A. So, when I call it by "this" it is all right!

    very much thanks here.

Similar Threads

  1. Replies: 6
    Last Post: 4th March 2014, 15:09
  2. signal/slot issue
    By dpn in forum Qt Programming
    Replies: 1
    Last Post: 21st January 2013, 12:31
  3. a signal-slot issue
    By ceraolo in forum Newbie
    Replies: 2
    Last Post: 28th April 2012, 18:30
  4. Signal / Slot issue
    By sicker in forum Qt Programming
    Replies: 2
    Last Post: 29th July 2011, 21:53
  5. Signal and Slot Issue
    By dlrlsqa1 in forum Newbie
    Replies: 5
    Last Post: 23rd March 2009, 12:44

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.