Hi Folks,
In my project(Qt4) I'm usingthe above method but I'm getting the following error " 'addColSpacing' : is not a member of 'QGridLayout'. "Qt Code:
To copy to clipboard, switch view to plain text mode
Can any one help me in this regard..!!!
Hi Folks,
In my project(Qt4) I'm usingthe above method but I'm getting the following error " 'addColSpacing' : is not a member of 'QGridLayout'. "Qt Code:
To copy to clipboard, switch view to plain text mode
Can any one help me in this regard..!!!
WINNERS DON`T DDIFFERENT THINGS THEY D
THINGS differently.
try to use this
Qt Code:
To copy to clipboard, switch view to plain text mode
You shouldn't use Qt3 support members in new code. Anyway, if you insist, add this to your .pro file:
J-P Nurmi
Yup I got it. Thanks folks...
But still I'm not meeting my requirement. FYI, Please look into the attachment.
There you could find collections of "checkboxes" in one side and other side "spinboxes & checkboxes".
I wanted to reduce the width of the spinboxes. I kept everything in a grid layout and I have tried setColumnMinimumWidth, setRowMinimumHeight, setColSpacing & etc., but nothing works...
Can any one help in this regard..........?
WINNERS DON`T DDIFFERENT THINGS THEY D
THINGS differently.
you can set Size Policy of spinBox to Fixed.
I tried the following method but I'm getting error( 'QSizePolicy::QSizePolicy' : cannot access private member declared in class 'QSizePolicy' ).
spnBx->setSizePolicy(QSizePolicy::Fixed)
How to get this property..???
WINNERS DON`T DDIFFERENT THINGS THEY D
THINGS differently.
use this use
Qt Code:
To copy to clipboard, switch view to plain text mode
If you done mine, could you please explain me little more with an example..?
WINNERS DON`T DDIFFERENT THINGS THEY D
THINGS differently.
read this
http://doc.trolltech.com/4.4/qwidget...izePolicy-prop
in your case, your code should look like
Qt Code:
To copy to clipboard, switch view to plain text mode
Yup I got it.................................
Thanks Spirit,
WINNERS DON`T DDIFFERENT THINGS THEY D
THINGS differently.
Bookmarks