Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 697393
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T03:09:48+00:00 2026-05-14T03:09:48+00:00

Once I have programmed GUI with Java and have used Form Layouts. Form layout

  • 0

Once I have programmed GUI with Java and have used Form Layouts. Form layout (if I am not mistaken that is from SWT library) made possible to give right, left, top and bottom adges of any GUI element (widget) with respect to other widgets in the same widget (parent widget) or with respect to the adges of parent widget. So it was possible to control the future of widgets that are inside of another one, when that “another widget” is being resized.

In Qt I have find the QFormLayout which is similar to Java one, but seems I can’t handle with widgets as flexible in terms of relative positioning, as it was with Java’s Form Layout.

So are there any other means to give a widget position with respect to the others (without overloading resizeEvent function) as that was in Java?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T03:09:49+00:00Added an answer on May 14, 2026 at 3:09 am

    It’s hard to understand what you need exactly, but Qt has a plethora of layout options. QFormLayout, it so happens, is not what you need here (it’s meant for forms in the web-sense: labels with text input boxes).

    But QBoxLayout (and its subclasses) and QGridLayout probably are what you need. I was always able to satisfy all my layout needs in Qt with combinations of these. See some examples of their usage in the Qt demo and I’m sure you’ll have your problem solved.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have once again fleshed out Ruby, after two years of not touching it,
I'm using html2fpdf for creating PDF documents. Now once I have created that, I
I once have noticied when my Adobe Reader was updating, I saw a small
Once you have your first set of requirements and design done where do you
Once you have uploaded your source code to Heroku, is it possible to download
Here's an example: http://jsfiddle.net/7g8GD/1/ Once you have entered an invalid input and hit enter
Interview question- Often its pretty easier to debug a program once you have trouble
I am having trouble piping through sed. Once I have piped output to sed,
Strings are immutable, meaning, once they have been created they cannot be changed. So,
I understand that the title might not be descriptive enough, but I'm making a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.