How to obtain winId of qml Window?
Unsolved
QML and Qt Quick
-
Hello there! I'm writing a dock application touchscreen-oriented in Qml, but the only way I could find of setting it as a dock (so that it's made unmovable, unresizeable, frameless, always on top, not affected by showDesktop and MinimizeAllWindows, etc.. is to set in main.cpp this attribute:
KWindowSystem::setType(window.winId(), NET::Dock);
I used a
QQuickWidget
to display the qml code, and set that QQuickWidget to dock
now I need to create another window, child of the main "dock" window, and this window should too be marked as dock. How can I do? can I get the winId of that window from c++, so that I can set it using setType too?I know it's a bit confusing but I'm confused too, it's the first time I'm doing something not 100% Qml... thanks in advance!
-