Project

General

Profile

Actions

Support Request #11367

closed

No file dialog for property available

Added by hidden almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Customer:
AUDI
Department:
EF
Requester's Priority:
Normal
Support Level:
2nd Level
Resolution:
No Customer Feedback
Product Issue Numbers:
Affected Products:
Platform:
Windows 10 64bit
Topic:
ADTF::CE
FAQ Links:

Description

Supportanfrage

We have a question about properties of ADTF components.

Assume that we set a property to a plugin, where users can give a path as input in ADTF Configuration Editor. See Picture 1.

Abbildung 1
However this is not so user-friendly. We found that in some Plugins or services from ADTF there is better way. For example, to give media description file to ADTF Media Description Service, users can select file from menu. See Picture 2.

Abbildung 2
Also, when clicking edit the path, existence of the path will be checked. User can see the path is correct or not (green means path exists, orange means path doesn't exist). See Picture 3.

Abbildung 3
Our question: How to achieve this ? Is there any example?

Thank you for your support in advance!

Lösung

Here should be an example within the delivered examples of ADTF3 "ce_external_property_module_example".
With this example it is possible to use a filename list like the one shown in your pictures.
It can also be used as a base to write your own CE-Module(mainly in qml) to enhance the property editor with a custom editor for your own or existing property types.

If you have any further questions let me know.

I guess your property is of type cString, than it is really a string.

What you want and need is change it to cFilename, then the feature will appear. This works also for cFilenameList, depends on your use case. So please update the property type and recompile including plugin description generation. Note: update the property also in your existing Projects.


Files

image001.png (3.45 KB) image001.png hidden, 2020-06-03 10:45
image002.png (7.72 KB) image002.png hidden, 2020-06-03 10:45
image003.png (18.7 KB) image003.png hidden, 2020-06-03 10:45
Actions

Also available in: Atom PDF