1st step at porting to the new QML framwork

so far only the dialog