__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

www-data@216.73.216.148: ~ $
/*
    SPDX-FileCopyrightText: 2021 Kai Uwe Broulik <kde@broulik.de>

    SPDX-License-Identifier: LGPL-2.0-or-later
*/

import QtQuick 2.7
import QtQuick.Window 2.12
import QtQuick.Layouts 1.1
import QtQuick.Controls 2.12 as QQC2
import org.kde.kirigami 2.12 as Kirigami

import org.kde.prison 1.0 as Prison

ColumnLayout {
    id: root

    property var urls: []
    property string mimeType
    property var dummy

    Component.onCompleted: {
        root.Window.window.minimumWidth = Qt.binding(function() {
            return Math.min(Kirigami.Units.gridUnit * 30,
                            root.implicitWidth + Kirigami.Units.gridUnit * 2);
        });
        root.Window.window.minimumHeight = Qt.binding(function() {
            return Math.min(Kirigami.Units.gridUnit * 30,
                            root.implicitHeight + Kirigami.Units.gridUnit * 4);
        });
    }

    Item {
        Layout.fillWidth: true
        Layout.fillHeight: true
        Layout.preferredWidth: barcodeItem.implicitWidth
        Layout.preferredHeight: barcodeItem.implicitHeight

        Prison.Barcode {
            id: barcodeItem
            readonly property bool valid: implicitWidth > 0 && implicitHeight > 0 && implicitWidth <= width && implicitHeight <= height
            anchors.fill: parent
            barcodeType: Prison.Barcode.QRCode
            // Cannot set visible to false as we need it to re-render when changing its size
            opacity: valid ? 1 : 0
            content: textField.text
        }

        QQC2.Label {
            anchors.fill: parent
            horizontalAlignment: Text.AlignHCenter
            verticalAlignment: Text.AlignVCenter
            text: i18nd("purpose_barcode", "Type a URL or some text to generate a QR code")
            wrapMode: Text.WordWrap
            visible: textField.length === 0
        }

        QQC2.Label {
            anchors.fill: parent
            horizontalAlignment: Text.AlignHCenter
            verticalAlignment: Text.AlignVCenter
            text: i18nd("purpose_barcode", "Creating QR code failed")
            wrapMode: Text.WordWrap
            visible: textField.length > 0 && barcodeItem.implicitWidth === 0 && barcodeItem.implicitHeight === 0
        }

        QQC2.Label {
            anchors.fill: parent
            horizontalAlignment: Text.AlignHCenter
            verticalAlignment: Text.AlignVCenter
            text: i18nd("purpose_barcode", "The QR code is too large to be displayed")
            wrapMode: Text.WordWrap
            visible: textField.length > 0 && (barcodeItem.implicitWidth > barcodeItem.width || barcodeItem.implicitHeight > barcodeItem.height)
        }
    }

    QQC2.TextField {
        id: textField
        Layout.fillWidth: true
        text: root.urls[0]
        // Random limit so it doesn't get too large
        maximumLength: 250
        placeholderText: i18nd("purpose_barcode", "Type a URL or some text...")
        Component.onCompleted: forceActiveFocus()
    }
}

Filemanager

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
Filemanager