initial plasma6 support

This commit is contained in:
2024-03-07 12:09:46 +02:00
parent eecb128865
commit 4d01b87088
176 changed files with 2569 additions and 3795 deletions

View File

@ -15,11 +15,11 @@
* along with awesome-widgets. If not, see http://www.gnu.org/licenses/ *
***************************************************************************/
import QtQuick 2.2
import QtQuick.Controls 1.3 as QtControls
import QtQuick 2.15
import QtQuick.Controls
QtControls.Button {
Button {
// parent object in which text will be replaced
property var textField
// start and end tags
@ -31,7 +31,7 @@ QtControls.Button {
function updateText() {
// get selected text
var selected = textField.selectedText()
const selected = textField.selectedText()
// remove it from widget
textField.removeSelection()
// insert edited text