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 #1

Updated by hidden almost 4 years ago

  • Description updated (diff)
  • Status changed from New to In Progress
  • Topic set to ADTF::CE
  • Customer set to AUDI
  • Department set to EF
  • Affected Products ADTF 3.6.2 added
  • Platform Windows 10 64bit added
Actions #2

Updated by hidden almost 4 years ago

  • Status changed from In Progress to Customer Feedback Required

Hi Xinjie,

there 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.

Best regards
Sebastian Stern

Actions #3

Updated by hidden almost 4 years ago

In addition to Sebastians reply:

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.


And off topic, please let us know what is your use case and what you want to do with header and description files. Maybe the existing code generation already solves your issue.

Actions #5

Updated by hidden almost 4 years ago

  • Subject changed from properties of ADTF components to No file dialog for property available
  • Description updated (diff)
  • Status changed from Customer Feedback Required to To Be Closed
  • Private changed from Yes to No
  • Resolution set to No Customer Feedback
Actions #8

Updated by hidden almost 4 years ago

  • Status changed from To Be Closed to Closed
Actions

Also available in: Atom PDF