QskScaleTickmarks

Public Types

  Name
enum TickType { MinorTick, MediumTick, MajorTick}

Public Functions

  Name
  QskScaleTickmarks()
  ~QskScaleTickmarks()
bool operator==(const QskScaleTickmarks & other) const
bool operator!=(const QskScaleTickmarks & other) const
int tickCount() const
Q_INVOKABLE int tickCount(TickType type) const
QVector< qreal > ticks(TickType type) const
void setTicks(TickType type, const QVector< qreal > & ticks)
void setMinorTicks(const QVector< qreal > & ticks)
QVector< qreal > minorTicks() const
void setMediumTicks(const QVector< qreal > & ticks)
QVector< qreal > mediumTicks() const
void setMajorTicks(const QVector< qreal > & ticks)
QVector< qreal > majorTicks() const
Q_INVOKABLE qreal tickAt(TickType type, int index) const
void invert()
void reset()
uint hash(uint seed =0) const

Public Properties

  Name
QVector< qreal > majorTicks
QVector< qreal > mediumTicks
QVector< qreal > minorTicks

Public Types Documentation

enum TickType

Enumerator Value Description
MinorTick    
MediumTick    
MajorTick    

Public Functions Documentation

function QskScaleTickmarks

QskScaleTickmarks()

function ~QskScaleTickmarks

~QskScaleTickmarks()

function operator==

bool operator==(
    const QskScaleTickmarks & other
) const

function operator!=

inline bool operator!=(
    const QskScaleTickmarks & other
) const

function tickCount

int tickCount() const

function tickCount

Q_INVOKABLE int tickCount(
    TickType type
) const

function ticks

QVector< qreal > ticks(
    TickType type
) const

function setTicks

void setTicks(
    TickType type,
    const QVector< qreal > & ticks
)

function setMinorTicks

inline void setMinorTicks(
    const QVector< qreal > & ticks
)

function minorTicks

inline QVector< qreal > minorTicks() const

function setMediumTicks

inline void setMediumTicks(
    const QVector< qreal > & ticks
)

function mediumTicks

inline QVector< qreal > mediumTicks() const

function setMajorTicks

inline void setMajorTicks(
    const QVector< qreal > & ticks
)

function majorTicks

inline QVector< qreal > majorTicks() const

function tickAt

Q_INVOKABLE qreal tickAt(
    TickType type,
    int index
) const

function invert

void invert()

function reset

void reset()

function hash

uint hash(
    uint seed =0
) const

Public Property Documentation

property majorTicks

QVector< qreal > majorTicks;

property mediumTicks

QVector< qreal > mediumTicks;

property minorTicks

QVector< qreal > minorTicks;

Updated on 28 July 2023 at 14:02:28 CEST