[Qt-interest] Attach a QWidget to another QWidget

Yong Taro yanicher at gmail.com
Sat Apr 25 00:08:46 CEST 2009


Hi list,

can you give me some ideas for implementing this functionality:

having a QToolBar floating somewhere, I want it to move at the same time 
when the QTextEditor gets moved.

The hierarchy is like this:

QMainWindow
      QTabBar
         QWidget
             QTextEdit

Now the trick is that there is this
void moveEvent( QMoveEvent* event )
which does not gets called when there is this king of hierarchy and
I'm moving the QMainWindow.









More information about the Qt-interest-old mailing list