This class can be used to give move and resize ability to any top level QWidget with Qt::FramelessWindowHint flag set.
No need to change your existing code.
Its very easy to use. Just two lines of code.
Qt Code:
FramelessHelper fh; fh.activateOn(myWidget);To copy to clipboard, switch view to plain text mode
Only tested on Ubuntu 10.10.
source http://qt-apps.org/content/show.php?content=138161
PS -> Although its version 1.0, treat it as alpha quality code ( in other words, no testing done )
Bookmarks