Results 1 to 10 of 10

Thread: Inclinometer in qwt

  1. #1
    Join Date
    Jun 2018
    Posts
    22
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11

    Default Inclinometer in qwt

    I would like to create an inclinometer in qtcreator using qwt. There is a attitude_indicator example in qwt but I am not able to do it. Can anyone help me to do it in a simple way.
    Thanks in advance.

    Pvr

  2. #2
    Join Date
    Jun 2018
    Posts
    22
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Inclinometer in qwt

    Is there anyone who can help me to design a level indicator. It is same like in the cockpit example but Iam not getting output. How to draw line inside dial, and how to remove the division numbering?

  3. #3
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,152
    Thanked 826 Times in 775 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Inclinometer in qwt

    You have to be more specific: how exactly is your inclinometer supposed to look like ?

    Uwe

  4. #4
    Join Date
    Jun 2018
    Posts
    22
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Inclinometer in qwt

    86D35C51-6D49-4ACB-96AC-9B7EA6FEAC19.jpg
    It should look like this. I want to done this in qtcreator, can anyone help me?

  5. #5
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,152
    Thanked 826 Times in 775 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Inclinometer in qwt

    This is a screenshot of a Qwt example and of course you can use the Qt creator for editing it.
    But I guess you are looking for a way how to avoid C++ by using the designer ?

    Uwe

  6. #6
    Join Date
    Jun 2018
    Posts
    22
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Inclinometer in qwt

    No I want to do it in C++ only. Can you please help me to edit it in qtcreator? I am totally stuck up with this.
    Thanks in advance

  7. #7
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,152
    Thanked 826 Times in 775 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Inclinometer in qwt

    Quote Originally Posted by Pvr View Post
    No I want to do it in C++ only. Can you please help me to edit it in qtcreator?
    So what is the question: the creator is capable of writing C++ code, like any other editor.

    Uwe

  8. #8
    Join Date
    Jun 2018
    Posts
    22
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Inclinometer in qwt

    Iam very new to qwt. I know how to create a dial that’s all. I need help for creating a inclinometer , how it differs from dial.

  9. #9
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,152
    Thanked 826 Times in 775 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Inclinometer in qwt

    Nobody here can tell you how your inclinometer has to look like - beside yourself. If it is exactly like the screenshot you have posted then the code is available from the examples.

    Uwe

  10. #10
    Join Date
    Jun 2018
    Posts
    22
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Inclinometer in qwt

    It should be like the screen shot only.The example code contains two or three classes and I need a basic attitude indicator. It should indicate the level what we provide through ROS.

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.