It is very easy to make the Qt's widget transparent.
source code : https://github.com/crystalcoding/HappyHacking/tree/master/qt/mama-win
this->setWindowOpacity(0.5); //Make the widget half-transparent
For X11, Qt needs a composition manager. For Windows, it will just work. This method is available for widget or subclass of widget. Undermodule QtGui
No comments:
Post a Comment