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

Suggestion to be able to move a Sheet on Mac before it is shown

XMLWordPrintable

    • macOS

      It would be nice to be able to move the position of the Sheet window on Mac before it is shown.

      Currently it is dropped down from the center of the parent top level window, which is reasonable in most cases.

      It is possible to move the sheet after the window is shown and the drop down effect is complete.

      Consider the following code:

      • It would be reasonable to expect that the sheet would be moved from the default center drop down position when move is called explicitly on the sheet before it is shown.
      • The Sheet in the example is dropped down from the center of the toplevel parent.
        #include <QtGui>
        #include <QDebug>

      int main(int argc, char *argv[])
      {
      QApplication app(argc, argv);
      QWidget m;
      m.resize(60,60);
      m.show();
      QWidget w(&m, Qt::Sheet );
      w.move(450,450);
      w.show();
      return app.exec();
      }

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

            richard Richard Moe Gustavsen
            admin Administrator
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes