Results 1 to 2 of 2

Thread: Signal and a slot for different forms of qt

  1. #1
    Join Date
    Jul 2012
    Posts
    3
    Thanks
    1
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Signal and a slot for different forms of qt

    I have next code:
    Qt Code:
    1. ui->treeWidget->currentItem()->setText(0,ui->comboBox->currentText();
    To copy to clipboard, switch view to plain text mode 

    but i want this for different forms

    mainwidow.ui (treeWidget)
    module.ui (comboBox)

    How can i do it this in signal-slot?

    Sorry for my bad english

  2. #2
    Join Date
    May 2012
    Location
    Bangalore, India
    Posts
    271
    Thanks
    29
    Thanked 50 Times in 47 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Signal and a slot for different forms of qt

    In different forms if you've the tree widget in it then you can able to do it.....
    Heavy Metal Rules. For those about to rock, we salute you.
    HIT THANKS IF I HELPED.

Similar Threads

  1. Replies: 2
    Last Post: 3rd May 2011, 20:22
  2. Signal connected to slot (or signal)
    By Althor in forum Newbie
    Replies: 2
    Last Post: 6th July 2010, 10:00
  3. Multiple Forms and vertical layout in forms
    By eva2002 in forum Qt Programming
    Replies: 0
    Last Post: 13th January 2010, 05:05
  4. Replies: 1
    Last Post: 8th November 2007, 17:11
  5. signal slot conection using a string, not a SLOT
    By rianquinn in forum Qt Programming
    Replies: 6
    Last Post: 5th February 2006, 18:52

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.