Warning, /education/khangman/src/qml/LetterElement.qml is written in an unsupported language. File is not indexed.
0001 // SPDX-FileCopyrightText: 2012 Laszlo Papp <lpapp@kde.org> 0002 // SPDX-FileCopyrightText: 2014 Rahul Chowdhury <rahul.chowdhury@kdemail.net> 0003 // SPDX-License-Identifier: LGPL-2.1-or-later 0004 0005 import QtQuick 0006 import org.kde.khangman 0007 0008 Rectangle { 0009 property string letterText: ""; 0010 property int letterPixelSize: 40; 0011 0012 color: Qt.rgba(0, 0, 0, 0); 0013 width: 48; 0014 height: 48; 0015 0016 Text { 0017 id: letterId; 0018 text: letterText; 0019 color: KHangMan.letterColor; 0020 font { 0021 pixelSize: letterPixelSize; 0022 bold: true; 0023 capitalization: Font.AllUppercase; 0024 } 0025 0026 anchors { 0027 horizontalCenter: parent.horizontalCenter; 0028 verticalCenter: parent.verticalCenter; 0029 } 0030 } 0031 } 0032