mrandreas
12th October 2010, 11:29
The class: QRubberband (objectname: qt_rubberband) are blocking events. The QMainWindow has a QRubberBand. By default it will be lockated in Point(0,0) with a size(100,30) or something like that. I want to have a QPushButton with a Menu in the area. What would be the correct thing to do with the QMainWindow rubberband.
I have tried to move, resize, delete, change parent, setstylesheet (0,0). Setting the properties in a eventFilter. But the rubberband (or the rubber fuckup as I now call it) seems to have a mind of its own. It will keep it' posistion and size so far. However it should be afraid! I will kill it one or another way.... that xxxxx arg.
please help me! It should be a easy thing...
Andreas
I have tried to move, resize, delete, change parent, setstylesheet (0,0). Setting the properties in a eventFilter. But the rubberband (or the rubber fuckup as I now call it) seems to have a mind of its own. It will keep it' posistion and size so far. However it should be afraid! I will kill it one or another way.... that xxxxx arg.
please help me! It should be a easy thing...
Andreas