Q_INVOKABLE needs to be outside the /// @cond INTERNAL_DOCS
This commit is contained in:
parent
a7068cb991
commit
3f53070185
@ -135,14 +135,6 @@ public:
|
|||||||
*/
|
*/
|
||||||
QQmlPropertyMap *iconSizes() const;
|
QQmlPropertyMap *iconSizes() const;
|
||||||
|
|
||||||
/**
|
|
||||||
* @return a size rounded tothe nearest inferior standard icon size.
|
|
||||||
* sizes larger than iconSizes.huge, it will be returned unmodified
|
|
||||||
* @param int size the size we want to be rounded down
|
|
||||||
* @see iconSizes
|
|
||||||
*/
|
|
||||||
Q_INVOKABLE static int roundToIconSize(int size);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return Pixel value for large spacing between elements.
|
* @return Pixel value for large spacing between elements.
|
||||||
* @since 5.0
|
* @since 5.0
|
||||||
@ -168,6 +160,14 @@ public:
|
|||||||
int shortDuration() const;
|
int shortDuration() const;
|
||||||
/// @endcond
|
/// @endcond
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a size rounded tothe nearest inferior standard icon size.
|
||||||
|
* sizes larger than iconSizes.huge, it will be returned unmodified
|
||||||
|
* @param int size the size we want to be rounded down
|
||||||
|
* @see iconSizes
|
||||||
|
*/
|
||||||
|
Q_INVOKABLE static int roundToIconSize(int size);
|
||||||
|
|
||||||
Q_SIGNALS:
|
Q_SIGNALS:
|
||||||
void devicePixelRatioChanged();
|
void devicePixelRatioChanged();
|
||||||
void gridUnitChanged();
|
void gridUnitChanged();
|
||||||
|
Loading…
Reference in New Issue
Block a user