8#ifndef KIRIGAMI_UNITS_H
9#define KIRIGAMI_UNITS_H
16#include "kirigamiplatform_export.h"
36 QML_UNCREATABLE(
"Grouped Property")
38 Q_PROPERTY(
int sizeForLabels READ sizeForLabels NOTIFY sizeForLabelsChanged FINAL)
39 Q_PROPERTY(
int small READ small NOTIFY smallChanged FINAL)
40 Q_PROPERTY(
int smallMedium READ smallMedium NOTIFY smallMediumChanged FINAL)
41 Q_PROPERTY(
int medium READ medium NOTIFY mediumChanged FINAL)
42 Q_PROPERTY(
int large READ large NOTIFY largeChanged FINAL)
43 Q_PROPERTY(
int huge READ huge NOTIFY hugeChanged FINAL)
44 Q_PROPERTY(
int enormous READ enormous NOTIFY enormousChanged FINAL)
49 int sizeForLabels()
const;
51 int smallMedium()
const;
57 Q_INVOKABLE
int roundedIconSize(
int size)
const;
60 KIRIGAMIPLATFORM_NO_EXPORT
float iconScaleFactor()
const;
65 void sizeForLabelsChanged();
67 void smallMediumChanged();
71 void enormousChanged();
90 Q_PROPERTY(
int gridUnit READ gridUnit NOTIFY gridUnitChanged FINAL)
106 Q_PROPERTY(Kirigami::Platform::
IconSizes *iconSizes READ iconSizes CONSTANT FINAL)
112 Q_PROPERTY(
int smallSpacing READ smallSpacing NOTIFY smallSpacingChanged FINAL)
118 Q_PROPERTY(
int mediumSpacing READ mediumSpacing NOTIFY mediumSpacingChanged FINAL)
124 Q_PROPERTY(
int largeSpacing READ largeSpacing NOTIFY largeSpacingChanged FINAL)
130 Q_PROPERTY(
int veryLongDuration READ veryLongDuration NOTIFY veryLongDurationChanged FINAL)
136 Q_PROPERTY(
int longDuration READ longDuration NOTIFY longDurationChanged FINAL)
142 Q_PROPERTY(
int shortDuration READ shortDuration NOTIFY shortDurationChanged FINAL)
148 Q_PROPERTY(
int veryShortDuration READ veryShortDuration NOTIFY veryShortDurationChanged FINAL)
184 Q_PROPERTY(
int humanMoment READ humanMoment NOTIFY humanMomentChanged FINAL)
191 Q_PROPERTY(
int toolTipDelay READ toolTipDelay NOTIFY toolTipDelayChanged FINAL)
198 Q_PROPERTY(qreal cornerRadius READ cornerRadius NOTIFY cornerRadiusChanged FINAL)
203 int gridUnit() const;
204 void setGridUnit(
int size);
206 int smallSpacing() const;
207 void setSmallSpacing(
int size);
209 int mediumSpacing() const;
210 void setMediumSpacing(
int size);
212 int largeSpacing() const;
213 void setLargeSpacing(
int size);
215 int veryLongDuration() const;
216 void setVeryLongDuration(
int duration);
218 int longDuration() const;
219 void setLongDuration(
int duration);
221 int shortDuration() const;
222 void setShortDuration(
int duration);
224 int veryShortDuration() const;
225 void setVeryShortDuration(
int duration);
227 int humanMoment() const;
228 void setHumanMoment(
int duration);
230 int toolTipDelay() const;
231 void setToolTipDelay(
int delay);
233 qreal cornerRadius() const;
234 void setcornerRadius(qreal cornerRadius);
241 void gridUnitChanged();
242 void smallSpacingChanged();
243 void mediumSpacingChanged();
244 void largeSpacingChanged();
245 void veryLongDurationChanged();
246 void longDurationChanged();
247 void shortDurationChanged();
248 void veryShortDurationChanged();
249 void humanMomentChanged();
250 void toolTipDelayChanged();
251 void wheelScrollLinesChanged();
252 void cornerRadiusChanged();
259 std::unique_ptr<UnitsPrivate> d;
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:51:50 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.