diff options
author | Adrian Kummerlaender | 2015-08-15 16:22:05 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2015-08-15 16:22:05 +0200 |
commit | 90da724a56c2ff20617d3e231a6ef877928df482 (patch) | |
tree | bda9514fb386de42217d7467a472f19d0fc911f9 /src/widget | |
parent | d8431223d34476a17835a05d9508e92447f22479 (diff) | |
download | MetaTerm-90da724a56c2ff20617d3e231a6ef877928df482.tar MetaTerm-90da724a56c2ff20617d3e231a6ef877928df482.tar.gz MetaTerm-90da724a56c2ff20617d3e231a6ef877928df482.tar.bz2 MetaTerm-90da724a56c2ff20617d3e231a6ef877928df482.tar.lz MetaTerm-90da724a56c2ff20617d3e231a6ef877928df482.tar.xz MetaTerm-90da724a56c2ff20617d3e231a6ef877928df482.tar.zst MetaTerm-90da724a56c2ff20617d3e231a6ef877928df482.zip |
Expose component settings as properties
Otherwise they are not accessible to JS commands, i.e. they can not be changed in command mode.
Diffstat (limited to 'src/widget')
-rw-r--r-- | src/widget/Highlighter.qml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/widget/Highlighter.qml b/src/widget/Highlighter.qml index e42aeb1..b2db7f6 100644 --- a/src/widget/Highlighter.qml +++ b/src/widget/Highlighter.qml @@ -2,8 +2,7 @@ import QtQuick 2.0 import Qt.labs.settings 1.0 Item { - Settings { - id: settings + property Settings settings : Settings { category: "highlighter" property string defaultColor : "#909636" |