Server IP : 180.180.241.3 / Your IP : 216.73.216.252 Web Server : Microsoft-IIS/7.5 System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Program Files/Malwarebytes/Anti-Malware/QtQuick/Controls/Styles/Desktop/ |
Upload File : |
/**************************************************************************** ** ** Copyright (C) 2021 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the Qt Quick Controls module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:COMM$ ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in ** accordance with the commercial license agreement provided with the ** Software or, alternatively, in accordance with the terms contained in ** a written agreement between you and The Qt Company. For licensing terms ** and conditions see https://www.qt.io/terms-conditions. For further ** information use the contact form at https://www.qt.io/contact-us. ** ** $QT_END_LICENSE$ ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ****************************************************************************/ import QtQuick 2.2 import QtQuick.Controls 1.2 import QtQuick.Controls.Private 1.0 Style { property Component panel: Item { anchors.fill: parent implicitWidth: styleitem.implicitWidth implicitHeight: styleitem.implicitHeight baselineOffset: styleitem.baselineOffset StyleItem { id: styleitem elementType: "checkbox" sunken: control.pressed on: control.checked || control.pressed hover: control.hovered enabled: control.enabled hasFocus: control.activeFocus && styleitem.style == "mac" hints: control.styleHints properties: {"partiallyChecked": (control.checkedState === Qt.PartiallyChecked) } contentHeight: textitem.implicitHeight contentWidth: Math.ceil(textitem.implicitWidth) + 4 property int indicatorWidth: pixelMetric("indicatorwidth") + (macStyle ? 2 : 4) property bool macStyle: (style === "mac") Text { id: textitem text: control.text anchors.left: parent.left anchors.leftMargin: parent.indicatorWidth anchors.verticalCenter: parent.verticalCenter anchors.verticalCenterOffset: parent.macStyle ? 1 : 0 anchors.right: parent.right renderType: Text.NativeRendering elide: Text.ElideRight enabled: control.enabled color: SystemPaletteSingleton.windowText(control.enabled) StyleItem { elementType: "focusrect" anchors.margins: -1 anchors.leftMargin: -2 anchors.top: parent.top anchors.left: parent.left anchors.bottom: parent.bottom width: textitem.implicitWidth + 3 visible: control.activeFocus } } } } }