Top "Qlayout" questions

The QLayout class, part of the Qt framework, is the base class of geometry managers.

QGridLayout, 3 panes, not expanding properly

I'm trying to layout a window (all in code) with a QGridLayout. I can add widgets to the layout and …

qt qgridlayout qlayout
QGridLayout different column width

I am trying to create a layout looking like this: _________ | | | |1 | 2 | |__|______| | 3 | 4 | |____|____| Basically, I want cell number 1 the first row to be …

python pyqt pyqt4 qlayout qgridlayout
How can I set a layout to a tab in QTabWidget?

I have created a QTabWidget (with no tabs) using the Qt Design tool, and now I need to create tabs …

c++ qt qlayout
How to align the layouts QHBoxLayout and QVBoxLayout?

I want to do this layout for my window: So I tried to create a QHBoxLayout layout to put the 3 …

python pyqt pyqt4 qlayout
Align to the right text from QLabel and QLineEdit

I have a QLabel just below a QLineEdit with the same size and alignment properties: QLineEdit *lineEdit = new QLineEdit("999"); lineEdit-&…

c++ qt qlayout
How to programatically resize a QMainWindow to its minimum size

When I have a QMainWindow with a grid layout, when resizing it with the mouse, it won't go below some …

c++ qt qt-creator resize qlayout
QScrollArea with dynamically changing contents

I have a QScrollArea with some buttons in it, like shown on the picture. The idea of the layout is: 1. …

c++ qt desktop-application qscrollarea qlayout
Set Vertical Alignment of QFormLayout QLabel

I'm using PySide/PyQt, but this is a general Qt question. Is there a way to set up a QFormLayout …

qt pyqt alignment pyside qlayout