An open API service indexing awesome lists of open source software.

https://github.com/danieloneill/fauxn

QML implementation of a "mock" Android phone.
https://github.com/danieloneill/fauxn

Last synced: 6 months ago
JSON representation

QML implementation of a "mock" Android phone.

Awesome Lists containing this project

README

          

# Fauxn
QML implementation of a "mock" Android phone.

![Example GIF](example.gif)

Contents of phone are passed via **contents** property as a **Component**:

```qml
import QtQuick 2.15

Window {
width: 900
height: 900
title: 'Fauxn'

Fauxn {
id: fauxn
anchors.centerIn: parent
contents: Item {
Image {
source: fauxn.landscape ? 'example_landscape.png' : 'example_portrait.png'
fillMode: Image.Pad
anchors.centerIn: parent
width: sourceSize.width
height: sourceSize.height
}
}
}
}
```

This is tested against Qt 6.2.