Results 1 to 1 of 1

Thread: QWTScaleDiv - devideScale - newbie question

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2018
    Posts
    26
    Thanks
    1
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default QWTScaleDiv - devideScale - newbie question

    divideScale()
    QwtScaleDiv QwtLinearScaleEngine::divideScale
    (
    double
    x1,
    double
    x2,

    int
    maxMajorSteps,

    int
    maxMinorSteps,

    double
    stepSize = 0.0

    )

    const

    What are maxMinorSteps and MAxMajorSteps?
    Let say that I have x1 = 1 and x2 = 20...

    Let mayor ticks are with 5, 10, 15 and 20, and minor tics are for each number
    such as: 1,2,3,4,6,7,8,9,11,12,13,14,16,17,18 and 19. What could be maxMajorSteps
    and maxMinorSteps? And why?
    Last edited by Pereubu2018; 20th August 2019 at 17:22.

Similar Threads

  1. Newbie question about QToolBar
    By AlbertoN in forum Newbie
    Replies: 1
    Last Post: 28th May 2012, 07:38
  2. Replies: 2
    Last Post: 3rd March 2012, 13:51
  3. Newbie Question with Qextserialport.tar.gz
    By nomad in forum Qt-based Software
    Replies: 2
    Last Post: 13th July 2009, 14:32
  4. QAbstractItemModel newbie question
    By okellogg in forum Qt Programming
    Replies: 14
    Last Post: 18th February 2008, 13:30
  5. Tipical newbie question
    By Dark_Tower in forum Newbie
    Replies: 2
    Last Post: 24th March 2006, 07:24

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.