Results 1 to 8 of 8

Thread: how to disable the filling in qwtplotcurve?

  1. #1
    Join Date
    Apr 2013
    Posts
    13
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Smile how to disable the filling in qwtplotcurve?

    i use the function just like example->setBrush(QBrush(Qt::blue));
    so ,er ... I want to disable that in my program.So..how to do that ?

  2. #2
    Join Date
    Aug 2009
    Location
    coimbatore,India
    Posts
    314
    Thanks
    37
    Thanked 47 Times in 43 Posts
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: how to disable the filling in qwtplotcurve?

    hi lazy_learner,

    what you want to disable? setBrush() function?

    if you dont want then comment it
    Bala

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

    Default Re: how to disable the filling in qwtplotcurve?

    Qt Code:
    1. sed -i -e '/setBrush/d' YourPlot.cpp
    To copy to clipboard, switch view to plain text mode 
    Did you really ask for how to remove a line from your code ?

    Uwe

  4. #4
    Join Date
    Aug 2009
    Location
    coimbatore,India
    Posts
    314
    Thanks
    37
    Thanked 47 Times in 43 Posts
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: how to disable the filling in qwtplotcurve?

    ha ha cute UWE

  5. #5
    Join Date
    Apr 2013
    Posts
    13
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: how to disable the filling in qwtplotcurve?

    I mean some kind of close it. If i fill the area between the base line and the curve,i want to create a function to er... "disable"? it

  6. #6
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,311
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: how to disable the filling in qwtplotcurve?

    Qt Code:
    1. setBrush( Qt::NoBrush );
    To copy to clipboard, switch view to plain text mode 

    Uwe

  7. #7
    Join Date
    Apr 2013
    Posts
    13
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: how to disable the filling in qwtplotcurve?

    how stupid i am !!!!!!!

  8. #8
    Join Date
    Aug 2009
    Location
    coimbatore,India
    Posts
    314
    Thanks
    37
    Thanked 47 Times in 43 Posts
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: how to disable the filling in qwtplotcurve?

    Just check the Qt docs before asking. That will save lot of time and effort (both for you and us)

    Bala

Similar Threads

  1. Replies: 2
    Last Post: 12th May 2015, 10:19
  2. Replies: 8
    Last Post: 18th October 2012, 07:23
  3. Replies: 1
    Last Post: 11th May 2012, 08:02
  4. Filling a QGraphicsItem
    By c_srikanth1984 in forum Qt Programming
    Replies: 15
    Last Post: 6th July 2009, 14:34
  5. Filling an image
    By Caius Aérobus in forum Qt Programming
    Replies: 6
    Last Post: 6th July 2008, 21:13

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.