import QtQuick 2.0
import QtQuick.Controls 1.2
import "qrc:/qml/genericqml"

Rectangle{
    color:"white"
    width:infoBoxText.contentWidth
    height:infoBoxText.contentHeight
    Text{id:infoBoxText
        anchors.top:closeButton.bottom
        anchors.topMargin: mm
        textFormat: Text.RichText
        wrapMode: Text.Wrap
        text: "<b>Friendiqa v0.1 </b><br>Licensed under GPL 3<br> "+
              "Profile <a href='https://freunde.ma-nic.de/profile/friendiqa'>https://freunde.ma-nic.de/profile/friendiqa</a><br>"+
              "Sourcecode: <a href='https://github.com/LubuWest/Friendiqa'>https://github.com/LubuWest/Friendica</a><br>"+
               "C++ code by <a href='https://kirgroup.com/profile/fabrixxm'>Fabio</a><br>"+
               "QML and Javascript code by <a href='https://freunde.ma-nic.de/profile/marco'>Marco</a><br>"+
               "Qt Framework <a href='https://www.qt.io'>www.qt.io</a><br>"+
               "Icons by <a href='http://fontawesome.io'>FontAwesome</a><br>"+
               "Folder Icon by <a href='https://github.com/KDE/breeze-icons'>KDE Breeze Icons</a>"
         onLinkActivated:{
            Qt.openUrlExternally(link)}
     }
     BlueButton{
            id:closeButton
            anchors.top: parent.top
            anchors.topMargin: 1*mm
            anchors.right: parent.right
            anchors.rightMargin: 1*mm
        text:   "\uf057"
        onClicked:{configStack.pop()}
     }
}