for the hints. I put all items on a grid layout, set sizing policy to expanding
of the central widget, the layout, the widgets but it still did not help... What
else should I look for?
try again using
put all widgets in a grid layout or separate left area from
right area with a splitter.
this depend of design you want to offer to
but, the more important, open the sizepolicy property of left part
qtablewidget and modify the horizontal strecth of left side
play with the preview, reisze the mainwindow and tell me if
there is something that could be what you want to do?...
Sandor a écrit :
It might be obvius just I cannot get around with
There is a QMainWindow which serves as the main
application window. There are some elements on it, two QTableWidgets on the
left hand side, one QTableWidget, some QLineEdits, QComboBoxes, QLabels on
the right hand side. I would like to get the two QTableWidgets on the left
hand side resized when the QMainWindow is resized. I tried with the
documentation and with the tutorial and cannot figure out what I am doing
wrong. I use Qt Designer where I tried to put the QTableWidgets into a
vertical and a grid layout (dropping there), setting size policies, size
increments, base sizes without any luck.
Can someone please tell me what I should be
doing? Also, it would be good to know which signal is emitted when the
QMainWindow is resized...