jsmith
5th November 2009, 06:24
hi,
I have developed one application in which on top of pixmap i am able to drag and drop labels.
Now i am porting that application from QWidget to QGLwidget to display map using textures to increase the smoothness. There is no problem with map. But when i drag and drop labels with out specifying stylesheet for background color it is get corrupted as shown in below screenshot. But when i specify background color for label it is working fine. But i don't want that color.
This application is working fine in QWidget eventhough without specifying color.below is screenshot(correct.png)
Please help me why this happening.
Thanks in advance.
I have developed one application in which on top of pixmap i am able to drag and drop labels.
Now i am porting that application from QWidget to QGLwidget to display map using textures to increase the smoothness. There is no problem with map. But when i drag and drop labels with out specifying stylesheet for background color it is get corrupted as shown in below screenshot. But when i specify background color for label it is working fine. But i don't want that color.
This application is working fine in QWidget eventhough without specifying color.below is screenshot(correct.png)
Please help me why this happening.
Thanks in advance.