__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
/*
SPDX-FileCopyrightText: 2017 Lim Yuen Hoe <yuenhoe86@gmail.com>
SPDX-License-Identifier: LGPL-2.1-or-later
*/
import QtQuick 2.2
import QtQuick.Controls 2.10
import QtQuick.Layouts 1.1
import org.kde.kirigami 2.12 as Kirigami
import org.kde.kquickcontrolsaddons 2.0 as KQCA
import Ubuntu.OnlineAccounts 0.1 as OA
ColumnLayout
{
id: root
property var folder: folderField.text
property var accountId
property var urls
property var mimeType
Kirigami.Heading {
text: i18nd("purpose_nextcloud", "Select an account:")
visible: list.count !== 0
}
ScrollView {
id: scroll
Layout.fillWidth: true
Layout.fillHeight: true
Component.onCompleted: scroll.background.visible = true
ListView {
id: list
clip: true
model: OA.AccountServiceModel {
id: serviceModel
serviceType: "dav-storage"
}
delegate: Kirigami.BasicListItem {
text: model.displayName
}
onCurrentIndexChanged: {
if (currentIndex === -1) {
root.accountId = undefined
return
}
root.accountId = serviceModel.get(list.currentIndex, "accountId")
}
Kirigami.PlaceholderMessage {
anchors.centerIn: parent
width: parent.width - (Kirigami.Units.largeSpacing * 4)
visible: list.count === 0
text: i18nd("purpose_nextcloud", "No account configured")
}
}
}
Button {
Layout.alignment: Qt.AlignRight
text: i18nd("purpose_nextcloud", "Configure Accounts")
icon.name: "applications-internet"
onClicked: KQCA.KCMShell.openSystemSettings("kcm_kaccounts")
}
Label {
Layout.fillWidth: true
text: i18nd("purpose_nextcloud", "Upload to folder:")
}
TextField {
id: folderField
Layout.fillWidth: true
text: "/"
onTextChanged: {
// Setting folder to undefined disables the Run button
root.folder = text !== "" ? text : undefined
}
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| barcodeplugin_config.qml | File | 2.93 KB | 0644 |
|
| bluetoothplugin_config.qml | File | 1.69 KB | 0644 |
|
| kdeconnectplugin_config.qml | File | 1.83 KB | 0644 |
|
| nextcloudplugin_config.qml | File | 2.19 KB | 0644 |
|
| phabricatorplugin_config.qml | File | 3.88 KB | 0644 |
|
| reviewboardplugin_config.qml | File | 2.63 KB | 0644 |
|
| saveasplugin_config.qml | File | 985 B | 0644 |
|
| youtubeplugin_config.qml | File | 1.92 KB | 0644 |
|