sky
29th July 2011, 12:28
Hi,
Is there anyway I can make a QWidget Translucent/Transparent without using the Qt::Window hint on the QWidget?
Problem is I am trying to write a plugin and if I set the Qt::Window hint QWidget is taking the coordinates I set in setGeometry relative to the screen. Due to this I am not able to embed the plugin widget inside the html.
Also, I embed the plugin in the html as follows:
<object type="application/x-qt-plugin" classid="MyWidget" name="widget" height=600 width=800 ></object>
Is there any way I can pas the width and height values(600,800) to the constructor of MyWidget ?
Sky
Is there anyway I can make a QWidget Translucent/Transparent without using the Qt::Window hint on the QWidget?
Problem is I am trying to write a plugin and if I set the Qt::Window hint QWidget is taking the coordinates I set in setGeometry relative to the screen. Due to this I am not able to embed the plugin widget inside the html.
Also, I embed the plugin in the html as follows:
<object type="application/x-qt-plugin" classid="MyWidget" name="widget" height=600 width=800 ></object>
Is there any way I can pas the width and height values(600,800) to the constructor of MyWidget ?
Sky