Results 1 to 2 of 2

Thread: Signals to select Titles?

  1. #1
    Join Date
    May 2008
    Posts
    25
    Thanks
    3
    Thanked 2 Times in 2 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Signals to select Titles?

    Hi all,

    I know that I can interact with the mouse on the actual canvas, to select data, etc. Is it possible to link the QwtPlot directly to recognise a selection, click, double click on the graph titles or axis, so that the user could interactively select titles to update?

    I know I could have a permenant dialogue box for changing these titles, but a pupop would be a neater solution.

    Any ideas, or tips for other users out there?

    Robbie

  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: Signals to select Titles?

    Quote Originally Posted by cnbp173 View Post
    Is it possible to link the QwtPlot directly to recognise a selection, click, double click on the graph titles or axis, so that the user could interactively select titles to update?
    QwtPlot is a composite widget. All of its children are available using getter methods. So you can install event filters to handle all mouse/wheel/key events on them.

    On the canvas you also have QwtPlotPicker, that offers a visual feedback for your selections and returns the selection in plot coordinates.

    HTH,
    Uwe

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.