[Interest] set a border on QWidget

Giuseppe D'Angelo dangelog at gmail.com
Thu May 3 08:41:22 CEST 2012


On 3 May 2012 07:35, Sujan Dasmahapatra <sdh at lmwindpower.com> wrote:
> I want to set a black color border on the QWidget. How can I do that Please
> give some suggestions.
>
>
>
> QWidget *widget = new QWidget(this);
>
> widget->setGeometry(0,0,600,400);
>
> widget->show();
>
>
>
> My widget is showing but I want a border visible. Any help would be
> appreciated, thanks Sujan

I think you're looking for QFrame?

Cheers,
-- 
Giuseppe D'Angelo



More information about the Interest mailing list