Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 10

Qt-interest Archive, March 2002
style of widget


Message 1 in thread

hello,
i would like specifications about the style of the widget 
i e to create a main widget without border. I ve seen a fonction like :
Qt::WStyle_Customize|Qt::WStyle_NoBorder

but i don't know how to use it .



thanks for help



stephane b


Message 2 in thread

i believe you can just pass that in the constructor
ex:
QWidget *myWidget = new QWidget( 0, "myWidget", 
Qt::WStyle_Customize|Qt::WStyle_NoBorder);   

On Saturday 30 March 2002 04:25 pm, stepahne B wrote:
> hello,
> i would like specifications about the style of the widget
> i e to create a main widget without border. I ve seen a fonction like :
> Qt::WStyle_Customize|Qt::WStyle_NoBorder
>
> but i don't know how to use it .
>
>
>
> thanks for help
>
>
>
> stephane b