This commit is contained in:
LubuWest 2019-06-25 20:59:10 +02:00
commit d48847d183
135 changed files with 8879 additions and 3693 deletions

View file

@ -30,6 +30,7 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>.
import QtQuick 2.0
import QtQuick.Controls 2.3
import "qrc:/js/service.js" as Service
import "qrc:/js/helper.js" as Helperjs
import "qrc:/qml/genericqml"
@ -37,7 +38,7 @@ import "qrc:/qml/genericqml"
Rectangle{
id:permissionDialog
x: mm
width: messageColumn.width-5*mm
width: messageColumn.width-3*mm
height:root.height/3
function updatePerms(){
for (var i=0;i<groupModel.count;i++)
@ -64,6 +65,7 @@ Rectangle{
x:0.5*mm
y:0.5*mm
text: qsTr("Friends")
font.pixelSize: 2*mm
}
ListView {
id: contactView
@ -95,6 +97,7 @@ Rectangle{
Text{
color:"grey"
text:contact.screen_name
font.pixelSize: 2*mm
}
MouseArea{
anchors.fill: parent
@ -125,6 +128,7 @@ Rectangle{
x:contactView.width+2*mm
y:0.5*mm
text: qsTr("Groups")
font.pixelSize: 2*mm
}
ListView {
id: groupView
@ -156,6 +160,7 @@ Rectangle{
Text{
color:"grey"
text:group.groupname
font.pixelSize: 2*mm
}
MouseArea{
anchors.fill: parent
@ -178,8 +183,10 @@ Rectangle{
else {groupstatus="neutral"} }
}
}
BlueButton{
MButton{
x:0.5*mm
height: 6*mm
width: 8*mm
anchors.bottom: parent.bottom
anchors.bottomMargin:1
text:"\uf0c7"
@ -190,8 +197,10 @@ Rectangle{
Service.savePermissions(db,perms)
}
}
BlueButton{
MButton{
x:contactView.width+2*mm
height: 6*mm
width: 8*mm
anchors.bottom: parent.bottom
anchors.bottomMargin:1
text:"\u2713"