How do I create with Qt 4 a window that remains anchored to the desktop as a widget ? (e.g. like Yahoo Widgets or Google Gadgets).
I intend to give the same characteristics of a widget to a normal window:
I think setting these flags will do what you are looking for:
setWindowFlags(Qt::FramelessWindowHint | Qt::WindowStaysOnBottomHint);
Qt::FramelessWindowHint
will remove the edgesQt::FramelessWindowHint
flag is setQt::WindowStaysOnBottomHint
will keep the application window below all other windows