qt-interest@trolltech.com
[Top] [All Lists]

Re: how gui appearance of a dialog can be made better?????

Subject: Re: how gui appearance of a dialog can be made better?????
From: "R. Reucher"
Date: Fri, 25 Feb 2005 15:13:00 +0100
On Friday 25 February 2005 15:07, R. Reucher wrote:
> On Friday 25 February 2005 14:54, darpan kamboj wrote:
> > hi all
> >      How i can change the dialog style and background coloring of a
> > dialog?.
>
> You have to setup a new style for your application (=> QStyle,
> QApplication).
>
> Take a look at the "themes" example which comes with the Qt source code (=>
> $QTDIR/examples/themes/)
BTW, if you only want to change the background color of dialog, you can do 
that without changing the application style. See 

void QWidget::setPaletteBackgroundColor( const QColor & )
(http://doc.trolltech.com/3.3/qwidget.html#setPaletteBackgroundColor)

Regards, René
-- 
René Reucher
BATCOM IT Services

Tel: +49 160 94957806
FAX: +49 6359 205423
rene.reucher@xxxxxxxxxxxxx
http://www.batcom-it.net/

--
List archive and information: http://lists.trolltech.com/qt-interest/

<Prev in Thread] Current Thread [Next in Thread>