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

UserStatusSelectorDialog.qml « gui « src - github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3f86f8cf9bd25bd990c1dc0064660fac331ea4e9 (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
import QtQuick.Window 2.15

import com.nextcloud.desktopclient 1.0 as NC

Window {
    id: dialog
    
    property NC.UserStatusSelectorModel model: NC.UserStatusSelectorModel {
        onFinished: dialog.close()
    }

    minimumWidth: view.implicitWidth
    minimumHeight: view.implicitHeight
    maximumWidth: view.implicitWidth
    maximumHeight: view.implicitHeight
    width: maximumWidth
    height: maximumHeight

    visible: true

    flags: Qt.Dialog
    
    UserStatusSelector {
        id: view
        userStatusSelectorModel: model
    }
}