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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

            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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes