[Interest] QWidget resize on ios

Gustavsen Richard Richard.Gustavsen at digia.com
Wed May 7 10:44:36 CEST 2014

>From QWidget::show() documentation:

"This is equivalent to calling showFullScreen(), showMaximized(), or setVisible(true), depending on the platform's default behavior for the window flags."

On iOS, QWidget::show() maps to QWidget::showMaximized(). But this is a sensible default, not a limitation.

Use QWidget::showNormal() to show a widget using the set geometry.


Fra: interest-bounces+richard.gustavsen=digia.com at qt-project.org [interest-bounces+richard.gustavsen=digia.com at qt-project.org] på vegne av Thiago Macieira [thiago.macieira at intel.com]
Sendt: 6. mai 2014 18:36
Til: interest at qt-project.org
Emne: Re: [Interest] QWidget resize on ios

Em ter 06 maio 2014, às 17:40:56, oxygen77.ct escreveu:
> Ok that I can understand but it's still strange that it can't be overridden.

It's not supported on iOS because the QPA plugin has no support for it. Maybe
because the system has no support for it, but I can't tell you for certain
because I don't know iOS's API.

> And for Qmessagebox they should at least be like the one from native ui?

Yes, but that will not happen. There is no port of QtWidgets to the iOS native

The best you can get with it is Windows95 or Fusion styles on iOS. Which are
not touch-enabled.

Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

Interest mailing list
Interest at qt-project.org

More information about the Interest mailing list