About 2,570,000 results
Open links in new tab
  1. c++ - Qt QHBoxLayout percentage size - Stack Overflow

    How can I maintain an aspect ratio between two QHBoxLayouts? For instance I want a QHBoxLayout to be one third of the entire window width and the other to be two thirds of the …

  2. python - QHBoxLayout (size, resize, move) - Stack Overflow

    Dec 4, 2019 · The task of QHBoxLayout is to distribute widgets horizontally using as information the sizeHint, sizePolicy, minimum and maximum sizes, etc. and will use the maximum …

  3. How to align the layouts QHBoxLayout and QVBoxLayout?

    May 29, 2017 · How to align the layouts QHBoxLayout and QVBoxLayout? Asked 8 years, 6 months ago Modified 6 years, 6 months ago Viewed 17k times

  4. How exactly does addStretch work in QBoxLayout? - Stack Overflow

    Dec 8, 2013 · vbox = QtGui.QHBoxLayout() vbox.addStretch(1) vbox.addWidget(ok) vbox.addStretch(2) vbox.addWidget(cancel) you will see that the second spacer item grows …

  5. qt designer - QHBoxLayout with Fixed Width - Stack Overflow

    Mar 15, 2024 · I've designed the following form using Qt Designer. When the main window is resized, I want to keep the left side layout (the QHBoxLayout) at a fixed size and expand only …

  6. How to align children in a QHBoxLayout Left, Center and Right

    This will create a QHBoxlayout with all the children floated on the left. I would like leftLabel to be on the left, centerLabel at the center, and rightContent to the extreme right.

  7. How to set different size of layouts in Qt? - Qt Forum

    Apr 24, 2020 · I put on the central widget QHBoxLayout in Qt Designer. Then I put 2 QVBoxLayout's in this QHBoxLayout. They occupy the space of equal width, as can be seen …

  8. QGridLayout vs QHBoxLayout & QVBoxLayout - Stack Overflow

    Sep 29, 2012 · Use QGridLayout. Explanations: With QVBoxLayout and QHBoxLayout, the number of column per rows is not fixed (or the inverse if you use these layout the other way), …

  9. Align every widget of a QHBoxLayout to the top - Stack Overflow

    Mar 6, 2018 · I'm trying to align every widgets in a QHBoxlayout to the top but what I get is every widget seems centered. I think this is due to there different sizes. For instance with: from …

  10. python - Adjust widths of QHBoxLayout - Stack Overflow

    Nov 12, 2014 · Adjust widths of QHBoxLayout Asked 11 years, 1 month ago Modified 11 years, 1 month ago Viewed 10k times