No one has any ideas? I suppose I could just do it in code like the example shows, but using the designer would definitly be the best way if it worked.
No one has any ideas? I suppose I could just do it in code like the example shows, but using the designer would definitly be the best way if it worked.
But what exactly doesn't work? Which part you're not able to do with designer?
That's as close as I can get with doing everything from within designer. Two lines of external code needed.
Spockmeat (25th May 2006)
Oh thanks, the problem was I needed to stick in one more line:
I thought that was something that could be set in the designer. Really, I wish more of the examples would be done in the disigner and not straight code, or perhaps both, it'd make it easier to know which settings can be set and where.Qt Code:
To copy to clipboard, switch view to plain text mode
joro (20th January 2009)
Hi,
i want to hide widget(s). But with that i want to shrink the size of Dialog.
i am using 4 or 5 QGroupBox and under it other widgets. when i hide one QGroupBox using hide(), other boxes adjust there size in free space. I want to shrink the Dialog Box when i hide the QGroupBox .
<BR>
You can use the same solution. Take a look at the archive in my previous post in this thread.
Bookmarks