Results 1 to 4 of 4

Thread: How to edit first ui by second ui?

  1. #1
    Join Date
    Jun 2014
    Posts
    4
    Thanks
    1
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Android Maemo/MeeGo

    Default How to edit first ui by second ui?

    As the topic, to edit first UI by second UI. If my second UI can edit the position of button and the background for display in first UI. After we click save on second UI, the first UI must running and can click as the second UI edit. The question is how to link between UI? and the example code or example application. Thank You
    Last edited by zlatan14; 30th June 2014 at 10:00.

  2. #2
    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: How to edit first ui by second ui?

    Several options:

    - passing one object to the other, as usual in C++
    - connecting the two objects using Qt signal/slot

    Cheers,
    _

  3. The following user says thank you to anda_skoa for this useful post:

    zlatan14 (30th June 2014)

  4. #3
    Join Date
    Jun 2014
    Posts
    4
    Thanks
    1
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Android Maemo/MeeGo

    Default Re: How to edit first ui by second ui?

    Do you have the example project or example code?

  5. #4
    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: How to edit first ui by second ui?

    I assume you don't need an example for basic C++, so here is an overview documentation, including examples, on Qt signal/slot
    http://qt-project.org/doc/qt-5/signalsandslots.html

    Cheers,
    _

Similar Threads

  1. QTableView line edit clears the text on edit
    By PlasticJesus in forum Qt Programming
    Replies: 5
    Last Post: 14th March 2015, 19:06
  2. Replies: 3
    Last Post: 26th August 2010, 08:57
  3. how to edit avi files with c++ or qt
    By elflord in forum Qt Programming
    Replies: 1
    Last Post: 24th May 2009, 19:36
  4. Character encoding in text edit and llne edit
    By greenvirag in forum Qt Programming
    Replies: 3
    Last Post: 20th January 2009, 08:45
  5. Replies: 8
    Last Post: 15th May 2007, 09:21

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.