bugfixes timeline refresh and screenshots

This commit is contained in:
LubuWest 2022-03-03 21:39:41 +01:00
commit 4ffae4ac31
13 changed files with 46 additions and 101 deletions

View file

@ -43,16 +43,14 @@ import "qrc:/qml/genericqml"
Rectangle {
id:calendarrectangle
// y:1
width:parent.width//-mm
height:parent.height//-5*mm
// anchors.fill: parent
color: Material.backgroundColor//'#fff'
width:parent.width
height:parent.height
color: Material.backgroundColor
property date currentTime: new Date()
property int offsetTime: currentTime.getTimezoneOffset() * 60 * 1000
property var events:[]
property var eventdays:[]
function showEvents(friend){
if(friend=="backButton"){Service.eventsfromdb(db,login.username,function(eventArray,dayArray){
events=eventArray;
@ -90,8 +88,6 @@ Rectangle {
}
BlueButton{
x:mm
y:mm
z:2
visible: !wideScreen
fontColor: "grey"
@ -128,9 +124,6 @@ Rectangle {
updatenews.login();
updatenews.setSyncAll(false);
updatenews.events();
// Service.getEvents(db,login, calendartab,function(){
// showEvents("")
// })
}}
Connections{
@ -140,8 +133,7 @@ Rectangle {
calBusy.running=false;
showEvents("")
}
}
}
MButton{
id: calendartabstatusButton
@ -167,7 +159,6 @@ Rectangle {
onClicked: {calendartabmenu.popup()}
}
ListView{
id: calendarView
y:2*root.fontFactor*osSettings.bigFontSize//8*mm