KWidgetsAddons
kruler.h
96 explicit KRuler(Qt::Orientation orient, QWidget *parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags());
112 KRuler(Qt::Orientation orient, int widgetWidth, QWidget *parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags());
void setPixelPerMark(double rate)
Sets the number of pixels between two base marks.
Definition kruler.cpp:402
void slideUp(int count=1)
Sets the number of pixels by which the ruler may slide up or left.
Definition kruler.cpp:468
void setRulerMetricStyle(KRuler::MetricStyle)
Sets up the necessary tasks for the provided styles.
Definition kruler.cpp:326
void setEndLabel(const QString &)
Sets the label this is drawn at the beginning of the visible part of the ruler to label.
Definition kruler.cpp:307
void slideDown(int count=1)
Sets the number of pixels by which the ruler may slide down or right.
Definition kruler.cpp:476
QAbstractSlider(QWidget *parent)
orientation
Q_ENUM(...)
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
Q_SLOTSQ_SLOTS
Orientation
typedef WindowFlags
virtual void paintEvent(QPaintEvent *event)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:58 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:58 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.