Hi,
i created a set of labels,buttons and text edits. the problem is i want to set them in some layout or qwidget and set it in a certain position of my window.
please tell me which layout/widget i use and the positioning functions
thanks
Ram
Hi,
i created a set of labels,buttons and text edits. the problem is i want to set them in some layout or qwidget and set it in a certain position of my window.
please tell me which layout/widget i use and the positioning functions
thanks
Ram
You can take a look at address-book tutorial or this page, and post specific question if you don't understand something, because right now your question is too "generic".
thanks Zlatomir,
i know what you refereed to, but the whole problem is that i don't know how to set this layout in a some region on the screen
for more explanition, i have a background image for the app and want to set those widgets on a drawn rect of the image
thanks
I don't see the problem, as you can use a fixed-size layout for anything. One option is that you put those few things into one layout and give a fixed position and size to that, or anouther if you use a layout for the whole widget and give fixed sizes to the wanted regions. I hope this was what you needed. Anyway, I would also recommend the address book tutorial, that is a really nice work.
Szilvi
hi,
UI Designer. just drag n drop.want to set those widgets on a drawn rect of the image
Bala
Well, can someone explain me this situation: On Windows, my code works well, on Linux Ubuntu 10.04 LTS Desktop Edition, when I run my app, the app's Main Windows contains some central widget, which to QVBoxLayout is applied (via QWidget::setLayout). Now, once I add QGroupBox with bunch of controls in it, the central widget's layout seems not to work, because QGroupBox is set in upper left corner and no controls inside QGroupBox are visible, since the QGroupBox is not shown properly. I attached screenshot. WHat could be wrong?Screenshot.jpg
Bookmarks