Results 1 to 2 of 2

Thread: coordinal significant digits

  1. #1
    Join Date
    Sep 2007
    Posts
    29
    Thanks
    8
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default coordinal significant digits

    Hey,
    using the moustracking:
    Qt Code:
    1. #mouse coordinates
    2. picker = Qwt.QwtPlotPicker(Qwt.QwtPlot.xBottom,
    3. Qwt.QwtPlot.yLeft,
    4. Qwt.QwtPicker.NoSelection,
    5. Qwt.QwtPlotPicker.CrossRubberBand,
    6. Qwt.QwtPicker.AlwaysOn,
    7. demo.canvas())
    8. picker.setTrackerPen(qt.QPen(qt.Qt.black))
    To copy to clipboard, switch view to plain text mode 
    how can i change the number of significant digits? I only want 2 places behind the decimal, %.2f ???
    Thanks

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: coordinal significant digits

    What do you mean? Do you want to print them or what?
    J-P Nurmi

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.