Fixing warnings in QScopedPointer test case
[qt-netbsd.git] / dist / changes-1.2
blobd4d2c2ca1599fa19b8192ce6cfa7fe78fdadf303
1 Here is a list of user-visible changes in Qt from 1.1 to 1.2.  As
2 usual, we fixed some bugs, made some more speedups, and improved the
3 documentation.
6 ****************************************************************************
7 *               Changes that might affect runtime behavior                 *
8 ****************************************************************************
10 QGridLayout::addWidget() and addMultiCellWidget(): The align parameter
11 is now interpreted correctly. (Previously up/down and right/left were
12 reversed.) If you have worked around this bug, your widgets may now be
13 incorrectly aligned.
15 QWidget: Every widget is now guaranteed move and resize events. The
16 event is deferred until the first show(). This may cause problems in
17 rare cases involving event filters.
19 ****************************************************************************
20 *               Changes that might generate compile errors                 *
21 *                        when compiling old code                           *
22 ****************************************************************************
24 none
26 ****************************************************************************
27 *               Type changes that might generate warnings:                 *
28 ****************************************************************************
30 none
32 ****************************************************************************
33 *                       Deprecated functions                               *
34 ****************************************************************************
36 QApplication::setColorMode() and colorMode() will be obsoleted. Use
37 setColorSpec() and colorSpec() instead.
39 qchecksum() will be obsoleted. Please use qChecksum() instead.
41 ****************************************************************************
42 *                            New classes                                   *
43 ****************************************************************************
45 QSlider is a widget to input values from a range. If you have been
46 using a standalone QScrollBar, you will probably want to switch to a
47 QSlider.
49 OpenGL/Mesa support: QGLWidget, QGLContext and QGLFormat. To use these
50 classes you need to build the Qt/OpenGL library (qgl) in qt/opengl/src.
52 ****************************************************************************
53 *                      Other changes from 1.1 to 1.2                       *
54 ****************************************************************************
56 QApplication::setColorSpec() can specify private colormaps or
57 non-default visuals
59 New function QButton::setAutoRepeat().
61 QComboBox: New function currentText(), two new insertion policies:
62 AfterCurrent and BeforeCurrent.
64 QCursor: added new global cursor blankCursor.
66 QFont::key(), new function for caching.
68 QFontMetrics::QFontMetrics( const QFont& ) new constructor gives
69 fontmetrics directly for a font. This is much faster than using
70 QWidget::fontMetrics() or QPainter::fontmetrics().
72 QImage: image load/save functions:
73                 QImage( const char *filename )
74                 imageFormat(), load(), loadFromData(), save()
75                 operator>>(), operator<<()
76         XPM support, QImage( const *xpm[] )
77         Alpha channel support: 
78                 hasAlphaBuffer(), setAlphaBuffer()
79                 createAlphaMask(), 
80         Automatic mask generaton: createHeuristicMask() 
81         Filling the entire image: fill()
83 QLCDNumber now supports filled segments:
84         setSegmentStyle(), segmentStyle()
86 QLabel now supports accellerated labels:
87         setBuddy(), buddy() and a  new constructor.
89 QLineEdit new functions:
90         show/hide frame: setFrame(), frame()
91         password entry mode: setEchoMode(), echoMode()
93 QMouseEvent: x() and y() convenience functions.
95 QPainter: new constructor QPainter( const QPaintDevice* ) does automatic
96 begin() and end(). New function flush().
98 QPixmap new functions:
99         serialNumber() for caching purposes.
100         selfMask()  QPixmap( const char *xpm[] )
101         createHeuristicMask()
103 QPopupMenu: Added functions to enable checkmarks:
104         setCheckable(), isCheckable()
106 QScrollBar: sizeHint() implemented.
108 QTabBar now supports keyboard input. New function currentTab().
110 QTabDialog: new function setOKButton().
112 Added support for XFree86 on OS/2.
114 New examples:
115         examples/tooltip demonstrates dynamic tooltips  
116         examples/table demonstrates QTableView
117         examples/hello is a different program
119 examples/xshape has been removed.