Results 1 to 3 of 3

Thread: qt_rubberband blocking events of pushbutton

  1. #1
    Join Date
    Sep 2010
    Location
    Norway
    Posts
    12
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Exclamation qt_rubberband blocking events of pushbutton

    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

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: qt_rubberband blocking events of pushbutton

    Quote Originally Posted by mrandreas View Post
    (or the rubber fuckup as I now call it)
    There, there...
    The fuckup is usually in the interface between the keyboard and the chair.

    Can you please explain your problem a little bit better. I do not understand your problem.
    Explain in detail what you do and what you see or experience.
    The, explain in detail what you want to do and what you expect to see or experience.

  3. #3
    Join Date
    Sep 2010
    Location
    Norway
    Posts
    12
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: qt_rubberband blocking events of pushbutton

    The fuckup is usually in the interface between the keyboard and the chair.
    I would say always. If the fuckup is in my office please let me know.

    The QMainWindow has by default the child QRubberband (by default not visible and disables). It's objectname is qt_rubberband. In our application. It is blocking events in the upper left corner.

    If I'm stuck with the same problem one more houre I will go into the details...

    Andreas

Similar Threads

  1. Non-Gui thread blocking gui
    By Valheru in forum Qt Programming
    Replies: 17
    Last Post: 12th February 2010, 11:11
  2. qt_rubberband
    By zgulser in forum Qt Programming
    Replies: 4
    Last Post: 28th January 2009, 14:17
  3. Non blocking Gui Qthread in qt3
    By triperzonak in forum Newbie
    Replies: 2
    Last Post: 13th September 2008, 14:06
  4. ports blocking
    By babu198649 in forum General Programming
    Replies: 3
    Last Post: 4th August 2008, 15:51
  5. Blocking ftp
    By lni in forum Qt Programming
    Replies: 1
    Last Post: 21st December 2007, 08:18

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.