Results 1 to 3 of 3

Thread: The Heading Diagram In a Well Logging Software

  1. #1
    Join Date
    Jul 2013
    Posts
    9
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Smile The Heading Diagram In a Well Logging Software

    Hi,

    I'm now working on a well logging software using Qt and I'm responsible for the development of Heading Diagram.I have known that many members and the author of qwt lib in the forum are working on well logging softwares.

    Now,I want to know what technique are you using for the Heading Diagram? Do you use the QTableWidget or custom from the QWidget or other widgets? How do you set the border's color/style/width and the direction of the text in the specified cells?

    Here is a picture I downloaded and I want to implement my Heading Diagram like this.
    heading.jpg

  2. #2
    Join Date
    Mar 2011
    Location
    Hyderabad, India
    Posts
    1,882
    Thanks
    3
    Thanked 452 Times in 435 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    15

    Default Re: The Heading Diagram In a Well Logging Software

    The quick and somwhat better approach I see is to use a composite QWidget, i.e. you will need to implement a few custom widgets and then put them onto a parent widget using QGridLayout. Individual widgets should handle their drawing/direction/formatting needs.

    This suggestion is only about the widget layout, I cannot suggest about widget data population as the information is not enough.
    When you know how to do it then you may do it wrong.
    When you don't know how to do it then it is not that you may do it wrong but you may not do it right.

  3. #3
    Join Date
    Jul 2013
    Posts
    9
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: The Heading Diagram In a Well Logging Software

    Thanks,I will have a try!

Similar Threads

  1. Replies: 0
    Last Post: 11th January 2013, 11:21
  2. Diagram Painting
    By typhoon1978 in forum Qt Programming
    Replies: 4
    Last Post: 2nd November 2010, 22:11
  3. needle diagram
    By darksaga in forum Qt Programming
    Replies: 4
    Last Post: 31st March 2008, 11:01
  4. Flow Diagram
    By fruzzo in forum Newbie
    Replies: 5
    Last Post: 2nd December 2007, 18:45
  5. hide the row heading of Table Widget
    By sabeesh in forum Qt Programming
    Replies: 1
    Last Post: 24th July 2007, 11: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.