Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-67506

Signals QWindow::widthChanged/heightChanged() not-working for foreign windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.9.0
    • None

      For example:

      QWindow *window; window = QWindow::fromWinId(myid);
      connect(window,SIGNAL(widthChanged(int)),this,SLOT(widthTest(int)));
      // other code
      window->setWidth(200);
      void Myclass::widthTest(int y) {  qDebug()<< "RESIZE width"; } 
      

      There is no connection error of the slot, the signal does not work. This is also suitable for signal heightChanged(int). Other class signals work.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            lavey_13 Lavey13 Lavey13
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes