diff options
author | Janne Kangas <janne.kangas@qt.io> | 2018-11-23 09:55:09 +0200 |
---|---|---|
committer | Janne Kangas <janne.kangas@qt.io> | 2018-11-26 10:30:40 +0000 |
commit | e2d959a3f87e604b7a917570c8f8381d6b20ea78 (patch) | |
tree | 5fa1653ddb4d55e400c840564b11c3951d1a07d4 /src/Authoring/Studio/Palettes/Inspector/InspectorControlView.cpp | |
parent | 90ebe745c90932d272233939bf665f71c4d67f6b (diff) |
Make datainput select and management dialogs clearer
- add tooltips
- keep current controller datainput always visible regardless of filtering
- add "(Current)" after the datainput name to indicate that it is not
filtered due to being the active controller
- change datainput selector code to follow _parentView naming convention
- update selection on datainput rename
- react properly to "Delete" key
Change-Id: I7ec47f32ebd01cfa10b243544a2a0dde7c0d07e7
Task-id: QT3DS-2718
Task-id: QT3DS-2719
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Diffstat (limited to 'src/Authoring/Studio/Palettes/Inspector/InspectorControlView.cpp')
-rw-r--r-- | src/Authoring/Studio/Palettes/Inspector/InspectorControlView.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Authoring/Studio/Palettes/Inspector/InspectorControlView.cpp b/src/Authoring/Studio/Palettes/Inspector/InspectorControlView.cpp index 456a21b0..49b4e373 100644 --- a/src/Authoring/Studio/Palettes/Inspector/InspectorControlView.cpp +++ b/src/Authoring/Studio/Palettes/Inspector/InspectorControlView.cpp @@ -608,7 +608,7 @@ void InspectorControlView::showDataInputChooser(int handle, int instance, const { if (!m_dataInputChooserView) { const QVector<EDataType> acceptedTypes; - m_dataInputChooserView = new DataInputSelectView(acceptedTypes); + m_dataInputChooserView = new DataInputSelectView(acceptedTypes, this); connect(m_dataInputChooserView, &DataInputSelectView::dataInputChanged, this, [this](int handle, int instance, const QString &controllerName) { bool controlled = |