Qml interface
Closed, ResolvedPublic

Description

The plan is to write a new QQuickWidget that will manage the timeline display.

Related Objects

StatusAssignedTask
Resolvedjlskuz
Resolvedmardelle
mardelle created this task.Jan 15 2017, 6:01 PM

QML Internationalization

Current QML is using qsTr("string") to provide translated strings, while the rest of the code uses i18n("string").
Is there any difference between the two?

Fixed, thanks. We now require the KDeclarative package to compile

Great!
I was also wondering about old dialogs that are still useful : SpacerDialog, ClipDurationDialog… They obviously require porting on the logic side, but do we keep the view side as-is or do we take this opportunity to port them to QML as well ?

Other info about QML: I am porting the EffectList to an AbstractItemModel. From there, it should be straightforward to use the model to build the right clic menu of the timeline. Stay tuned, I'm polishing and will be pushing soon.

I saw the recent downgrading from QtQuick 2.8 to 2.6 in assetList.qml. However, the file is using the property "attachedImage" from Drag, and this is only available in 2.8 (cf http://doc.qt.io/qt-5/qml-qtquick-drag.html#imageSource-attached-prop)
Can you see if we can do without it ?

Hmm, the problem is that QtQuick 2.8 is only available with Qt 5.8, which is not yet widely available. On my Qt 5.7 system, it prevented the effect and transition widget to load. I will make some tests to see if we can get a conditional loading or something of that kind that works on both systems

frdbr moved this task from Feature ideas to Refactoring on the Kdenlive board.Nov 12 2017, 7:00 PM
jlskuz closed this task as Resolved.Nov 12 2023, 1:12 PM