summaryrefslogtreecommitdiffstats
path: root/changes-3.5
blob: 129b523ccd5242ed38682599ca253598e667a3d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Qt 3.5 is a new feature release. It is not backwards compatible with any
prior TQt3 version due to changes in the QStyle API.

****************************************************************************
*                           General                                        *
****************************************************************************

General Improvements
--------------------

- Technical

    * Modify TQStyle API to work without retquiring direct access to Qt-specific objects
      See "TQStyle API Change" section below

TQStyle API Change
---------------------

The following style function definitions have changed:

drawPrimitive
drawControl
drawControlMask
subRect
drawComplexControl
drawComplexControlMask
querySubControlMetrics
querySubControl
pixelMetric
sizeFromContents
styleHint
stylePixmap
visualRect
drawTDEStylePrimitive
polish
unPolish

The following new functions have been added:
applicationPolish
applicationUnPolish
installObjectEventHandler
removeObjectEventHandler
objectEventHandler
widgetActionRequest

Additionally, SH_UnderlineAccelerator has been extended with a new style hint, SH_HideUnderlineAcceleratorWhenAltUp

Porting an existing style to the new API is relatively straightforward; simply update the function definitions in the existing style with the new definition prototypes and cast the passed pointer to TQWidget or TQObject where appropriate.