Project

General

Profile

Actions

Support Request #6949

closed

Documentation for Filter Editor qml

Added by hidden about 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Customer:
VW
Department:
Requester's Priority:
Normal
Support Level:
3rd Level
Resolution:
Known Problem
Affected Products:
Platform:
Windows 10 64bit
Topic:
ADTF::FilterSDK
FAQ Links:

Description

Supportanfrage

ähnlich wie beim ADTFDAT File Player möchte ich über das Kontextmenü ("Create pins from playback file") eine Datei einlesen und Pins erzeugen. In der Datei "${ADTF_DIR}/bin/adtf_playback_input_filtereditor.qml" finde ich Funktionen wie:

createOutputPin()
listOutputPins()

Wo sehe ich, wie diese verwendet werden und welche Funktionen noch zur Verfügung stehen?

Lösung

Kommt zur 3.7

Fehlerbehebung:

qmlRegisterType<Example>(uri, 1, 0, "Example");

statt
qmlRegisterType<Example>("ExamplePlugin", 1, 0, "Example");

verwendet. Da die Variable "uri" leer war, konnte das Modul "ExamplePlugin" wohl nicht gefunden werden. Das Modul wird jetzt geladen und ich kann die Klasse in der Qml des Filter verwenden.

Files

ExamplePlugin.zip (2.71 KB) ExamplePlugin.zip hidden, 2019-04-29 12:06
ExampleFilter.qml (935 Bytes) ExampleFilter.qml hidden, 2019-04-29 12:19
Actions

Also available in: Atom PDF