Results 1 to 2 of 2

Thread: QwtThermo ScalePos

  1. #1
    Join Date
    Sep 2008
    Location
    Falmouth, MA, USA
    Posts
    34
    Thanks
    4
    Thanked 2 Times in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QwtThermo ScalePos

    I am trying to use a QwtThermo , and want it to have horizontal orientation

    I try to set the property like this:

    portVerticalThermo->setOrientation(Qt::Horizontal,NoScale);

    and I get an error saying that NoScale is not declared in this scope. I have tried explicitly declaring an enum of type ScapePos and setting that, but then ScalePos is not declared.

    I am using qwt 5.1.1 with QT Creator 1.2, and QT 4.5

    It looks like I'm not getting the enum definition, but its found in e <qwt_thermo.h>, which I include

    any ideas?

  2. #2
    Join Date
    Sep 2008
    Location
    Falmouth, MA, USA
    Posts
    34
    Thanks
    4
    Thanked 2 Times in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QwtThermo ScalePos

    never mind...I needed to explictly identify the enum as QwtThermo::NoScale

    jch

Tags for this Thread

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.