Project

General

Profile

Actions

Support Request #11882

closed

Define more than one Filter Editor

Added by hidden over 3 years ago. Updated over 3 years ago.

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

Description

Supportanfrage

I am trying to implement 2 different QML-Scripts and using setEditor()-function to make them both inside one adtfplugin(filter).

But it seems that only the last QML-Script is considered. And in context menu also only the last QML-script will be shown.

Like this inside constructor:

SetEditor("Create Dyn. Pins & Properties", "adtf_generate_dyn_pins.qml");
SetEditor("Create Dynamic Properties", "adtf_generate_dyn_props.qml");

My question is, is it possible to add 2 different qml script in one constructor? such as one qml for dynamic properties and another one for dynamic pins, and in context menu also 2 functionalities.

Lösung

Please use the free function adtf::streaming::set_editors() (https://support.digitalwerk.net/adtf/v3/adtf_html/graph__element__editors_8h.html#a132ad1e66f57645e810918a701177ddc) instead. This functions accepts a list of editors.

Actions #1

Updated by hidden over 3 years ago

  • Project changed from Public Support to 11
  • Status changed from New to In Progress
  • Topic set to ADTF::Common
  • Customer set to AUDI
  • Department set to EF
Actions #4

Updated by hidden over 3 years ago

Hi Boyan Qian

please use the free function adtf::streaming::set_editors() (https://support.digitalwerk.net/adtf/v3/adtf_html/graph__element__editors_8h.html#a132ad1e66f57645e810918a701177ddc) instead. This functions accepts a list of editors.

Regards,

Martin

Actions #5

Updated by hidden over 3 years ago

  • Project changed from 11 to Public Support
  • Subject changed from Is possible, implement 2 QML-Script in one adtfplugin to Define more than one Filter Editor
  • Description updated (diff)
  • Status changed from In Progress to To Be Closed
  • Private changed from Yes to No
  • Resolution set to Solved Issue
Actions #6

Updated by hidden over 3 years ago

  • Status changed from To Be Closed to Closed
Actions

Also available in: Atom PDF