[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [plasma-framework] src/declarativeimports/plasmacomponents/qml: TextArea.qml: Add backgroundVisible 
From:       Davide Bettio <bettio () kde ! org>
Date:       2014-04-22 9:37:43
Message-ID: E1WcX95-0004Cw-7M () scm ! kde ! org
[Download RAW message or body]

Git commit ac1e50d3aa166e59e64e97bc3a3830580f8ec4b0 by Davide Bettio.
Committed on 22/04/2014 at 09:35.
Pushed by bettio into branch 'master'.

TextArea.qml: Add backgroundVisible property (http://qt-project.org/doc/qt-=
5/qml-qtquick-controls-textarea.html#backgroundVisible-prop) so it will be =
possible to use this componenet to write Notes plasmoid.

Signed-off-by: Davide Bettio <bettio@kde.org>

M  +8    -0    src/declarativeimports/plasmacomponents/qml/TextArea.qml

http://commits.kde.org/plasma-framework/ac1e50d3aa166e59e64e97bc3a3830580f8=
ec4b0

diff --git a/src/declarativeimports/plasmacomponents/qml/TextArea.qml b/src=
/declarativeimports/plasmacomponents/qml/TextArea.qml
index 158e10a..a7fec47 100644
--- a/src/declarativeimports/plasmacomponents/qml/TextArea.qml
+++ b/src/declarativeimports/plasmacomponents/qml/TextArea.qml
@@ -53,6 +53,14 @@ Item {
     property bool errorHighlight
 =

     /**
+     * type:bool
+     * Displays widget background
+     *
+     * The default value is true.
+     */
+    property alias backgroundVisible: base.visible
+
+    /**
      * type:int
      * Current cursor position.
      */
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic