Results 1 to 2 of 2

Thread: QRubberband and QcustomPlot

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2012
    Location
    Australia
    Posts
    39
    Thanks
    15
    Thanked 4 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default QRubberband and QcustomPlot

    Hi all,

    i was wondering if anyone had used a QRubberBand in conjunction with the QCustomPlot class. I really like the class since I don't have to install anything to get it working but it doesn't have a picker that comes with it like Qwt.

    I have tried to get a QRubberband to work but due my serious lack of programming knowledge I have not been successful. My thinking is that it is hopefully a trivial exercise for most Qt programmers (I am still really new to C++) and I was hoping someone may have already been down this path and be able to give me some tips/tricks or help. My main problem seems to be when I try and set the geometry of the QRubberBand (it just seg faults on me), which in turn makes me think that I am not setting things correctly (I did go off of the examples given in the documentation where it uses mouse events to draw the rubberband).

    Cheers
    Oz

  2. The following user says thank you to OzQTNoob for this useful post:


Similar Threads

  1. Changing the border of a QRubberBand
    By Sergex in forum Qt Programming
    Replies: 1
    Last Post: 1st August 2012, 03:17
  2. QRubberBand problem
    By nightroad in forum Newbie
    Replies: 15
    Last Post: 29th March 2011, 15:11
  3. Select texts using the QRubberband
    By charlesprime in forum Qt Programming
    Replies: 0
    Last Post: 16th February 2011, 06:14
  4. Use of QRubberBand
    By lni in forum Qt Programming
    Replies: 0
    Last Post: 21st April 2009, 12:59
  5. Using QRubberBand class?!?!?
    By nupul in forum Newbie
    Replies: 3
    Last Post: 1st April 2006, 17:19

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.