mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-15 17:37:12 -05:00
50fe3dd711
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.
31 lines
490 B
QML
31 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()
|
|
}
|
|
}
|
|
}
|
|
|
|
|