Commit 2f0936a1 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.PropertyEditor: adding missing functionality



Adding missing functionality from FileWidget.

Change-Id: Icc2237039cdcaf49d39bd714928dcf88ce797f14
Reviewed-by: default avatarAlessandro Portale <alessandro.portale@digia.com>
parent a8c154b8
......@@ -36,12 +36,15 @@ QWidget { //This is a special spinBox that does color coding for states
property bool enabled: true
property variant backendValue;
property variant baseStateFlag;
property alias filter: fileWidget.filter
property alias showComboBox: fileWidget.showComboBox
minimumHeight: 22;
layout: HorizontalLayout {
spacing: 4
FileWidget {
id: fileWidget
enabled: (isBaseState || backendValues.id.value != "") && urlEdit.enabled
fileName: backendValue.value;
onFileNameChanged: {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment