Results 1 to 18 of 18

Thread: button clicked to set text in another form

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5
    Join Date
    Jan 2013
    Posts
    44
    Thanks
    7
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: button clicked to set text in another form

    hi nix, i dont know what is emit
    and you can a demo code for void transfertCompleted(QString)

    in form1,i have a private slot as:
    void form1::on_pushButton_clicked()
    {
    //some a calculate and write a data ro uart here
    //i want to write text to mainform
    }

    i want to do that when i click button ,it will send data to uart and in mainform ,qlabel text is set as "sent complete"
    thank
    Last edited by vanduongbk; 20th June 2013 at 09:17.

Similar Threads

  1. How to get rid of red outline on button last clicked?
    By briankeeney in forum Qt Programming
    Replies: 3
    Last Post: 23rd January 2013, 17:59
  2. Replies: 3
    Last Post: 11th June 2012, 15:21
  3. How to checked if button is clicked
    By stbb24 in forum Newbie
    Replies: 3
    Last Post: 5th June 2012, 06:04
  4. Replies: 10
    Last Post: 6th July 2008, 09:46
  5. Replies: 3
    Last Post: 13th May 2007, 20:55

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.