QSkinny 0.8.0
C++/Qt UI toolkit
Loading...
Searching...
No Matches
QskPlatform.h
1/******************************************************************************
2 * QSkinny - Copyright (C) The authors
3 * SPDX-License-Identifier: BSD-3-Clause
4 *****************************************************************************/
5
6#ifndef QSK_PLATFORM_H
7#define QSK_PLATFORM_H
8
9#include "QskGlobal.h"
10
11class QScreen;
12class QPlatformIntegration;
13class QPlatformTheme;
14class QRect;
15class QQuickWindow;
16
17QSK_EXPORT qreal qskGlobalScaleFactor();
18
19QSK_EXPORT bool qskMaybeDesktopPlatform();
20QSK_EXPORT QRect qskPlatformScreenGeometry( const QScreen* );
21
22QSK_EXPORT const QPlatformIntegration* qskPlatformIntegration();
23QSK_EXPORT const QPlatformTheme* qskPlatformTheme();
24
25QSK_EXPORT qreal qskInchesToPixels( const QQuickWindow*, qreal mm );
26QSK_EXPORT qreal qskMMToPixels( const QQuickWindow*, qreal mm );
27
28#endif