PDA

View Full Version : non-rectangular windows , integrating qt



liorm
28th April 2007, 15:13
Hi everyone,

I'm researching the the QT environment, in order to see whether it would fit for our applications, and I wonder if you could tell me of some code samples or example applications for the following needs:

1. a non-rectangular, skinable windows application...

2. embedding an internet browser in the application

And a third question:
3. say I'd like to provide an API from my application, with the window handle, or the OpenGL surface, for non-QT applications to work with. How can I do that?

thanks very much for any idea!,
Lior

jacek
28th April 2007, 15:48
1. a non-rectangular,
See the widgets/shapedclock example.


skinable windows application...
See the widgets/styles and widgets/stylesheet example.


2. embedding an internet browser in the application
If you want a full-featured browser, you can try WebKit (http://webkit.org/) or embed an external browser.


3. say I'd like to provide an API from my application, with the window handle, or the OpenGL surface, for non-QT applications to work with. How can I do that?
You can use plugins (see How to Create Qt Plugins (http://doc.trolltech.com/4.2/plugins-howto.html)), COM or similar mechanism.

marcel
28th April 2007, 18:48
And also check Google Earth to see a more complex example... Also, if you have the possibility, you can also look at Gretag i1 Share, for a skinned app.

Regards

liorm
29th April 2007, 13:56
thanks guys! great help! Marcel, I did find the i1 share (http://www.gretagmacbeth.com/index/communities/i1color/i1freeware.htm) - but it is surrounded by a rectangular window... any mode that removes that?

thanks again,
Lior