Results 1 to 20 of 23

Thread: my slots don't appear in the signal slot editor

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Aug 2008
    Posts
    38
    Thanks
    19
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: my slots don't appear in the signal slot editor

    somebody recommended a fix and I was giving it a shot

    Your recommendation describes my original code.

    My original code compiled and ran without warning/error.

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: my slots don't appear in the signal slot editor

    Attach your .ui file

  3. #3
    Join Date
    Aug 2008
    Posts
    38
    Thanks
    19
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: my slots don't appear in the signal slot editor

    attached but....one could( in 30 seconds), simply drag 3 lineedtit controls and a pushbutton onto the designer surface and try what is supposed to be the purpose of the designer

    code produced from a graphical start...the slots are coded, connects are coded, etc

    the original question. was:
    Attached Files Attached Files

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: my slots don't appear in the signal slot editor

    So what's the problem exactly? The slots you added are available in Designer's signal/slot editor. Isn't it what you wanted?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #5
    Join Date
    Aug 2008
    Posts
    38
    Thanks
    19
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: my slots don't appear in the signal slot editor

    from first post

    (1) why are all slots grayed out in the "drag red line" editor from F4 or

    the edit signals/slots icon above but

    These "grayed" slots are NOT grayed out in the "C++ Signals/Slotst" editor tab below

  6. #6
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: my slots don't appear in the signal slot editor

    Quote Originally Posted by landonmkelsey View Post
    attached but....one could( in 30 seconds), simply drag 3 lineedtit controls and a pushbutton onto the designer surface and try what is supposed to be the purpose of the designer
    Yes, and we said that worked fine for us, hence the reason for wanting YOUR ui file which you said doesn't work.

    I've just opened your ui file, deleted the connections, and then use the red line signal slot editor to connect the buttons to your appropriate functions (addClicked, etc) with no problems at all. I didn't have to use the bottom box at all.

    So, whats the problem? You ARE selecting a signal before attempting to select a slot? Otherwise the slots WILL be grayed out as they are not usable at that stage.

  7. #7
    Join Date
    Aug 2008
    Posts
    38
    Thanks
    19
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: my slots don't appear in the signal slot editor

    I give up!

    thanks anyway!

  8. #8
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: my slots don't appear in the signal slot editor

    Maybe you are using some very old version of Designer which had that functionality broken?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  9. #9
    Join Date
    Aug 2008
    Posts
    38
    Thanks
    19
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: my slots don't appear in the signal slot editor

    I have the latest Fedora Linux 12 updates

    same for eclipse and the plugin

    I'll try it again after the next update...thanks!

    Next will probably be 4.6!
    BTW

    [qt4@localhost Downloads]$ rpm -qa|grep qt
    poppler-qt4-0.12.2-1.fc12.i686
    qt-4.5.3-9.fc12.i686
    qt-sqlite-4.5.3-9.fc12.i686
    PackageKit-qt-0.5.4-0.4.20091029git.fc12.i686
    qwtplot3d-qt4-0.2.7-9.fc12.i686
    qtoctave-0.8.1-0.20080826.svn165.fc12.i686
    qt-x11-4.5.3-9.fc12.i686
    avahi-qt3-0.6.25-5.fc12.i686
    qt-qsa-1.1.5-7.fc12.i686
    qt-devel-4.5.3-9.fc12.i686
    qtscriptbindings-0.1.0-8.fc12.i686
    pinentry-qt-0.7.6-4.fc12.i686
    qt3-devel-3.3.8b-28.fc12.i686
    qt3-designer-3.3.8b-28.fc12.i686
    qt3-3.3.8b-28.fc12.i686
    ibus-qt-1.2.0.20091014-1.fc12.i686
    [qt4@localhost Downloads]$

    From the Qt Designer help/about dialog:

    About Qt
    This program uses Qt version 4.5.3.
    Last edited by landonmkelsey; 4th December 2009 at 19:45. Reason: add on

Similar Threads

  1. Queuing problem with signal and slots
    By montylee in forum Qt Programming
    Replies: 4
    Last Post: 20th November 2009, 06:11
  2. pthread instead QThread
    By brevleq in forum Qt Programming
    Replies: 8
    Last Post: 23rd December 2008, 07:16
  3. Connection of custon signals/slots
    By brevleq in forum Qt Programming
    Replies: 2
    Last Post: 23rd December 2008, 07:04
  4. Signal & Slot editor
    By Ishark in forum Qt Tools
    Replies: 4
    Last Post: 28th May 2008, 15:20
  5. Signal and slots
    By villy in forum Qt Programming
    Replies: 1
    Last Post: 12th January 2007, 10:10

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.