Results 1 to 4 of 4

Thread: How to share Serial port opened in Main Window class with Dialog box class

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2018
    Posts
    18
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11
    Thanks
    2

    Default Re: How to share Serial port opened in Main Window class with Dialog box class

    Dear Developers,

    Above method work perfectly when I want to send serial port commands from Dialog box to Main Window.

    But I would be grateful to you, if you can please me how can I read data collected in mainwindow using array after sending serial command from Dialog box.

    I have asked this question because I have read main disadvantages of using signal and slot approach for returning values.


    Thank you

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,332
    Qt products
    Qt5
    Platforms
    Windows
    Thanks
    317
    Thanked 871 Times in 858 Posts

    Default Re: How to share Serial port opened in Main Window class with Dialog box class

    I have read main disadvantages of using signal and slot approach for returning values.
    And where did you read this misinformation?
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

Similar Threads

  1. Replies: 2
    Last Post: 31st July 2018, 13:12
  2. How to share Serial port opened in Main Window class with Dialog box class
    By saurabh162 in forum Best Practices in Qt Programming
    Replies: 1
    Last Post: 31st July 2018, 10:46
  3. Share serial port between two programs on Windows
    By RazZziel in forum Qt Programming
    Replies: 4
    Last Post: 20th July 2017, 13:06
  4. Replies: 5
    Last Post: 13th January 2014, 09:24
  5. Replies: 1
    Last Post: 20th January 2012, 04:39

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.