move textarea to own class as well

This commit is contained in:
2016-10-20 09:23:18 +03:00
parent 2ea5824fd7
commit 7568ae2a3b
6 changed files with 32 additions and 13 deletions

View File

@ -16,7 +16,6 @@
***************************************************************************/
import QtQuick 2.2
import QtQuick.Controls 1.3 as QtControls
import org.kde.plasma.private.awesomewidget 1.0
import "."
@ -72,12 +71,8 @@ Item {
onUnlock: lock = false
}
QtControls.TextArea {
AWTextEditor {
id: textPattern
width: parent.width
height: parent.height * 4 / 5
textFormat: TextEdit.PlainText
text: plasmoid.configuration.text
}
}