2021-09-09 12:18:22 +03:00
|
|
|
import QtQuick.Window 2.15
|
|
|
|
|
|
|
|
import com.nextcloud.desktopclient 1.0 as NC
|
|
|
|
|
|
|
|
Window {
|
|
|
|
id: dialog
|
|
|
|
|
|
|
|
property NC.UserStatusSelectorModel model: NC.UserStatusSelectorModel {
|
2021-10-14 11:45:17 +03:00
|
|
|
onFinished: dialog.close()
|
2021-09-09 12:18:22 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
minimumWidth: view.implicitWidth
|
|
|
|
minimumHeight: view.implicitHeight
|
|
|
|
maximumWidth: view.implicitWidth
|
|
|
|
maximumHeight: view.implicitHeight
|
2021-10-12 11:56:37 +03:00
|
|
|
width: maximumWidth
|
|
|
|
height: maximumHeight
|
2021-09-09 12:18:22 +03:00
|
|
|
|
|
|
|
visible: true
|
|
|
|
|
|
|
|
flags: Qt.Dialog
|
|
|
|
|
|
|
|
UserStatusSelector {
|
|
|
|
id: view
|
|
|
|
userStatusSelectorModel: model
|
|
|
|
}
|
|
|
|
}
|