mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-05 11:34:50 -04:00

Test QML activity changed for a simplified version of drbob's rsqml-models. It requests JSON documents from the libresapilocalserver and shows them raw. Updated Android documentation. Moved Android qmake section to the end of libretroshare.pro and openpgpsdk.pro to avoid static linking errors.
30 lines
490 B
QML
30 lines
490 B
QML
import QtQuick 2.2
|
|
import QtQuick.Layouts 1.1
|
|
import "."
|
|
|
|
Rectangle {
|
|
id: appButton
|
|
property alias icon: appIcon.source
|
|
|
|
signal buttonClicked
|
|
|
|
width: parent.height
|
|
height: parent.height
|
|
color: "#00000000"
|
|
|
|
Image {
|
|
id: appIcon
|
|
anchors.centerIn: parent
|
|
width: 25
|
|
height: 25
|
|
}
|
|
MouseArea {
|
|
hoverEnabled: false
|
|
anchors.fill: parent
|
|
onClicked: {
|
|
appButton.buttonClicked()
|
|
}
|
|
}
|
|
}
|
|
|
|
|