Kirigami2
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();
92 Q_PROPERTY(
int gridUnit READ gridUnit NOTIFY gridUnitChanged FINAL)
108 Q_PROPERTY(Kirigami::Platform::
IconSizes *iconSizes READ iconSizes CONSTANT FINAL)
114 Q_PROPERTY(
int smallSpacing READ smallSpacing NOTIFY smallSpacingChanged FINAL)
120 Q_PROPERTY(
int mediumSpacing READ mediumSpacing NOTIFY mediumSpacingChanged FINAL)
126 Q_PROPERTY(
int largeSpacing READ largeSpacing NOTIFY largeSpacingChanged FINAL)
132 Q_PROPERTY(
int veryLongDuration READ veryLongDuration NOTIFY veryLongDurationChanged FINAL)
138 Q_PROPERTY(
int longDuration READ longDuration NOTIFY longDurationChanged FINAL)
144 Q_PROPERTY(
int shortDuration READ shortDuration NOTIFY shortDurationChanged FINAL)
150 Q_PROPERTY(
int veryShortDuration READ veryShortDuration NOTIFY veryShortDurationChanged FINAL)
186 Q_PROPERTY(
int humanMoment READ humanMoment NOTIFY humanMomentChanged FINAL)
193 Q_PROPERTY(
int toolTipDelay READ toolTipDelay NOTIFY toolTipDelayChanged FINAL)
198 int gridUnit() const;
199 void setGridUnit(
int size);
201 int smallSpacing() const;
202 void setSmallSpacing(
int size);
204 int mediumSpacing() const;
205 void setMediumSpacing(
int size);
207 int largeSpacing() const;
208 void setLargeSpacing(
int size);
210 int veryLongDuration() const;
211 void setVeryLongDuration(
int duration);
213 int longDuration() const;
214 void setLongDuration(
int duration);
216 int shortDuration() const;
217 void setShortDuration(
int duration);
219 int veryShortDuration() const;
220 void setVeryShortDuration(
int duration);
222 int humanMoment() const;
223 void setHumanMoment(
int duration);
225 int toolTipDelay() const;
226 void setToolTipDelay(
int delay);
233 void gridUnitChanged();
234 void smallSpacingChanged();
235 void mediumSpacingChanged();
236 void largeSpacingChanged();
237 void veryLongDurationChanged();
238 void longDurationChanged();
239 void shortDurationChanged();
240 void veryShortDurationChanged();
241 void humanMomentChanged();
242 void toolTipDelayChanged();
243 void wheelScrollLinesChanged();
250 std::unique_ptr<UnitsPrivate> d;
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sun Feb 25 2024 18:45:17 by
doxygen 1.10.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.