Results 1 to 2 of 2

Thread: using QwtPlotPicker without user interaction

  1. #1
    Join Date
    Apr 2008
    Posts
    32
    Thanks
    3
    Thanked 5 Times in 5 Posts
    Qt products
    Qt3
    Platforms
    Unix/X11

    Question using QwtPlotPicker without user interaction

    Hi all.
    One instance of my application can comunicate with other instances in a way of transfering data such as current ranges of QwtPlotScales and so on.

    Right now I'm trying to implement such a function: user selects a picker in one instance (let's call it "source") and press (or hold) mouse button on Source's plot (tracker is on and coords and rubberband is shown), in that moment (event) Source sends pos() of picker to another instance (let's call it "target").

    Target obtains pos() value and should show picker's rubberband and tracker's coords in same point (scales hbound and lbound of Target are the same as Source's ones).

    I have tried to do this algorithm 1)begin() 2)move(pos()) 3)end() (I've moved their implemetation to "public:" ) but I have Segmentation val. right in the begining.

    I want to know why I have such an error and how to get what I want in a right way =) because my method is ugly I know, but I can't think of any other methods in this moment

    VERY big thanks for your answers beforehand

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

    Default Re: using QwtPlotPicker without user interaction

    Quote Originally Posted by KosyakOFF View Post
    I have tried to do this algorithm 1)begin() 2)move(pos()) 3)end() (I've moved their implemetation to "public:" ) but I have Segmentation val. right in the begining.
    Start the debugger and tell us more details.

    Uwe

Similar Threads

  1. entering text through user interaction in QTextEdit
    By sar_van81 in forum Qt Programming
    Replies: 6
    Last Post: 1st December 2006, 22:41
  2. linking user space and kernel space programs with qmake
    By zielchri in forum Qt Programming
    Replies: 9
    Last Post: 8th March 2006, 23:11

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.