Add screenshot

master
Kuba Orlik 3 years ago
parent ea4e485632
commit 173c01bd86

@ -3,4 +3,6 @@
A simple widget written in QML in python that lets you ask for a psecific point
on a map from commandline (cli), like zenity does. It displays a map, and double
clicking on the map causes the window to close and the coordinates to be printed
on STD.
on stdout;
![](./screenshot.png)

@ -40,27 +40,6 @@ ApplicationWindow {
center: QtPositioning.coordinate(52.397445910207296, 16.90215638925963) // Poznań
zoomLevel: 14
MapParameter {
type: "layer"
property var name: "trees"
property var source: "trees-source"
property var layerType: "circle"
property var minzoom: 15.0
}
MapParameter {
type: "paint"
property var layer: "trees"
property var circleRadius: 3
property var circleColor: "#223b53"
property var circleStrokeColor: "white"
property var circleStrokeWidth: 1
property var circleOpacity: 1
}
MapParameter {
type: "layer"

@ -26,7 +26,6 @@ if __name__ == "__main__":
) # https://stackoverflow.com/questions/4938723/what-is-the-correct-way-to-make-my-pyqt-application-quit-when-killed-from-the-co
app = QGuiApplication(sys.argv)
engine = QQmlApplicationEngine()
print("HELLO")
engine.load(os.path.join(application_path, "main.qml"))
if not engine.rootObjects():
sys.exit(-1)

Binary file not shown.

After

Width:  |  Height:  |  Size: 237 KiB

Loading…
Cancel
Save