On 01/19/2013 03:47 AM, Jake Thomas Petroules wrote:
As many OS/WM utility methods were removed from Qt 5, we need to
reimplement their functionality in the QtWindowsExtras, QtMacExtras,
and QtX11Extras libraries.
For example, in QtMacExtras we have a unified toolbar implementation
that replaces setUnifiedTitleAndToolbar(), and converter functions to
replace QPixmap::toMacCGImageRef(), QPixmap::fromMacCGImageRef() as
well as other type conversions, etc. Morten also has some clipboard
functionality pending as well as a utility function to set the dock
menu to a QMenu, native widgets, and some other stuff. Similarly,
QtX11Extras has QX11Info ported from Qt 4 and I imagine may have more
functionality in the future..
Windows is no different, and there is a lot that could fit into such a
library, including but not limited to:
* Replacements for native API converter functions
(QPixmap::toWinHBITMAP(), QPixmap::fromWinHBITMAP(),
QPixmap::toWinHICON(), QPixmap::fromWinHICON()... I think there was
also a QMenu::wceMenu() that gave an HMENU and a similar function for
Windows itself (not CE) would be great)
* Taskbar functionality for Windows 7/8 (jump lists, overlay
icons, progress indicators, thumbnail toolbars, thumbnail tab previews)
* DWM interaction (enable/disable composition, extend frame into
client area)
This is important functionality usable by a large number of Windows
apps, clearly evidenced by the former presence of some of this
functionality in Qt 4. I have a decent amount of code implementing
much of this functionality already, just awaiting contribution...
I'm sure there is more I haven't thought of as well. Perhaps some
Windows 8 APIs?
+1 Some of this was also promised after the 5.0.0 release was out.
Jake Petroules
Petroules Corporation (www.petroules.com <http://www.petroules.com>)
Email: jake.petrou...@petroules.com <mailto:jake.petrou...@petroules.com>
Telephone: +1 (970) 587-3821
On Jan 18, 2013, at 12:16 PM, Laszlo Papp <lp...@kde.org
<mailto:lp...@kde.org>> wrote:
On Thu, Jan 17, 2013 at 8:58 PM, Jake Thomas Petroules
<jake.petrou...@petroules.com <mailto:jake.petrou...@petroules.com>>
wrote:
As we have a QtMacExtras and QtX11Extras, could someone please
create a QtWindowsExtras as well?
Could you please elaborate about the use case?
Laszlo
_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development
_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development