Welcome to mirror list, hosted at ThFree Co, Russian Federation.

FileActivityDialog.qml « tray « gui « src - github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1d75ff22267d7ddd1afad1c917af1494d46c9642 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import QtQml 2.15
import QtQuick 2.15
import QtQuick.Window 2.15

import Style 1.0
import com.nextcloud.desktopclient 1.0 as NC

Window {
    id: dialog

    property alias model: activityModel

    NC.FileActivityListModel {
        id: activityModel
    }   

    width: 500
    height: 500

    Rectangle {
        id: background
        anchors.fill: parent
        color: Style.backgroundColor
    }

    ActivityList {
        isFileActivityList: true
        anchors.fill: parent
        model: dialog.model
    }

    Component.onCompleted: {
        dialog.show();
        dialog.raise();
        dialog.requestActivate();

        Systray.forceWindowInit(dialog);
        Systray.positionWindowAtScreenCenter(dialog);
    }
}