Results 1 to 3 of 3

Thread: [SOLVED] QFontComboBox signals

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2010
    Posts
    16
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default [SOLVED] QFontComboBox signals

    Hi,
    I need to know when the user change the font in a QFontComboBox and in case to call the slot changeTextFont(). I have

    Qt Code:
    1. QFontComboBox *fontComboBox = new QFontComboBox(this);
    2. connect(fontComboBox, SIGNAL(currentFontChanged()), this, SLOT(changeTextFont()));
    To copy to clipboard, switch view to plain text mode 

    but it doesn't work, I get this message in console
    Qt Code:
    1. Object::connect: No such signal QFontComboBox::currentFontChanged()
    To copy to clipboard, switch view to plain text mode 
    What am I doing wrong?
    Thanks
    Last edited by ale6111; 30th July 2010 at 14:07.

Similar Threads

  1. Stylesheets and QFontComboBox Sub-control
    By been_1990 in forum Qt Programming
    Replies: 2
    Last Post: 4th June 2010, 18:53
  2. conflict between boost signals and Qt signals
    By high_flyer in forum Qt Programming
    Replies: 2
    Last Post: 26th June 2008, 09:46
  3. QThread and signals (linux/UNIX signals not Qt Signals)
    By Micawber in forum Qt Programming
    Replies: 1
    Last Post: 28th November 2007, 22:18
  4. I need help for signals
    By avis_phoenix in forum Qt Programming
    Replies: 1
    Last Post: 10th February 2007, 16:43
  5. Where are signals?
    By PanzerMaus in forum Newbie
    Replies: 1
    Last Post: 12th July 2006, 23:05

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.