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.
- Host: GitHub
- URL: https://github.com/danieloneill/fauxn
- Owner: danieloneill
- License: gpl-3.0
- Created: 2021-10-14T18:39:16.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-14T19:02:01.000Z (over 4 years ago)
- Last Synced: 2025-02-12T10:18:51.609Z (over 1 year ago)
- Language: QML
- Size: 1.78 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fauxn
QML implementation of a "mock" Android phone.

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.