PDA

View Full Version : Custom Window Decoration?



BadKnees
22nd March 2009, 14:47
Is it possible to make change window decoration with a custom made, or maybe style it. Like window live messenger.

JimDaniel
22nd March 2009, 15:09
Yes, if you call QWidget::setWindowFlags(Qt::FramelessWindowHint) it will remove the system window. You can implement your own after that, however you want to do it. But you will have to do everything: moving the window when the user clicks and drags, resizing it when the user resizes, closing and minimizing...etc.

MaciekMucha
10th July 2010, 10:31
I know that it is a little bit old Threat, but is there a Tutorial or How To, which describes the way how to do this?
Can I use the "Simple Decoration Example" from the Qt Help, as starting point, or is this a Qt Embedded only Example?

wysota
10th July 2010, 16:27
It's embedded only. You can start by having a look at our wiki, there are examples (even complete solutions) on how to do that.

raven-worx
28th April 2011, 18:44
You can start by having a look at our wiki, there are examples (even complete solutions) on how to do that.
i'm sorry but i think i'm blind.... where are these examples?

thanks in advance!

aamer4yu
28th April 2011, 18:49
i'm sorry but i think i'm blind.... where are these examples?

thanks in advance!

Here !! (http://www.qtcentre.org/wiki/index.php?title=Main_Page)
Hint : ARGB widgets...