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,8 +16,6 @@
***************************************************************************/
import QtQuick 2.0
import QtQuick.Controls 1.3 as QtControls
import QtQuick.Dialogs 1.2 as QtDialogs
import org.kde.plasma.private.desktoppanel 1.0
import "."
@ -57,12 +55,8 @@ Item {
groups: general.dpTagRegexp
}
QtControls.TextArea {
AWTextEditor {
id: textPattern
width: parent.width
height: parent.height * 4 / 5
textFormat: TextEdit.PlainText
text: plasmoid.configuration.text
}
}