Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QProgressDialog does not show as correct size in iOS
Forum Updated to NodeBB v4.3 + New Features

QProgressDialog does not show as correct size in iOS

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 145 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    CellCS
    wrote on last edited by CellCS
    #1
    QQmlEngine::setObjectOwnership(quit_loop, QQmlEngine::CppOwnership);
    QProgressDialog progress(("Loading Data------------"), QString(), 0, 100);
    
    ......(signals)
    
    progress.setRange(0,0);
    
    int progressCode = progress.exec();
    

    In Android, works fine and progress dialog show default size, and resize() functions works. But in iOS, show in the whole screen, and resize() does not work. But when using progress.size(), get QSize(220, 64).

    how could show progressbar Dialog correctly. Thanks
    Simulator Screen Shot - iPad Pro (12.9-inch) (4th generation) - 2020-07-21 at 11.53.45.png

    The same issue was identified six years ago.

    https://interest.qt-project.narkive.com/HxDPUkX5/qwidget-resize-on-ios

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved