Results 1 to 4 of 4

Thread: Methods to display received data

  1. #1
    Join Date
    Mar 2011
    Posts
    15
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Exclamation Methods to display received data

    Hello there,

    I am developing embedded application, where am coming across a requirement to display received messages from other devices connected through COM ports.

    am using QWidget as my base class. For to display which class I can include?
    I was thinking to use textedit box, and display data in that box. Can I do like that???

    Pls suggest me some ways to display data....

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Methods to display received data

    Well that depends on what data you are receiving, and how you want that data displayed.

    A text edit box is certainly one way of display data. You can also use QListView, etc.

  3. #3
    Join Date
    Mar 2011
    Posts
    15
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Methods to display received data

    Quote Originally Posted by squidge View Post
    Well that depends on what data you are receiving, and how you want that data displayed.

    A text edit box is certainly one way of display data. You can also use QListView, etc.


    Thank u
    If example or snippet was given it would have been more better to understand.

  4. #4
    Join Date
    Jan 2009
    Location
    Germany
    Posts
    131
    Thanks
    11
    Thanked 16 Times in 16 Posts
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Methods to display received data

    Well take the data from the COM-Port (via a lib or directly... I don't know how you get the data), translate it into a QString and use QTextEdit::append

Similar Threads

  1. Display DIB data
    By nightroad in forum Qt Programming
    Replies: 2
    Last Post: 29th December 2010, 21:42
  2. Replies: 2
    Last Post: 6th November 2010, 05:06
  3. Replies: 1
    Last Post: 2nd November 2009, 12:02
  4. QPixmap Display RGB data
    By phoenixtju in forum Qt Programming
    Replies: 2
    Last Post: 27th May 2009, 10:31

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.