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. Scroll bar problems
Qt 6.11 is out! See what's new in the release blog

Scroll bar problems

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 1.1k Views 1 Watching
  • 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.
  • M Offline
    M Offline
    mannu
    wrote on last edited by
    #1

    Hey

    i ma developing an applicaqtion ofr a symbian device. i have set minimum size to all the widgets and ensured that they are all placed in a groupBox. But i am not able to get a clear layout, neither on device nor on simulator. Here is the code i am working with

    @
    QScrollArea *scrollArea = new QScrollArea;

    ui->centralWidget->adjustSize();
    QFormLayout *frmLout = new QFormLayout;
    frmLout->addWidget(ui->groupBox);
    frmLout->addWidget(ui->groupBox_2);
    frmLout->addWidget(ui->groupBox_3);
    frmLout->addWidget(ui->groupBox_4);
    frmLout->addWidget(ui->groupBox_5);
    frmLout->addWidget(ui->groupBox_6);
    frmLout->addWidget(ui->groupBox_7);
    scrollArea->widgetResize
    scrollArea->setLayout(frmLout);
    scrollArea->widgetResizable();
    QScrollBar *scrlBar = new QScrollBar;
    scrollArea->setVerticalScrollBar(scrlBar);
    setCentralWidget(scrollArea);
    

    @

    I need to add a scroll bar such that if the device is not able to display all the data on its screen, they can use the scrollBar. Kindly help.

    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