Quote Originally Posted by kokonomutsu View Post
Hi everyone!
I'm a newbie and I want to ask about the position of Object in QT user interface.
Every thing was created by code, not use *.ui.
- First, I create a QHBoxLayout, How can I locate it in the screen and How can I resize it?
Read Layout Management and read through the Layout Examples. Layouts size their content within constraints you provide to occupy the space available in the container the layout is applied to.
- Second, In QHBoxLayout I create array of labels. How can I locate and resize them?
See the last response.
- Third, I want to create two demension array of labels and display in a screen? I must to create many QHBoxLayout or how another way to do it?
QGridLayout or QHboxLayout nested in QVBoxLayout