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
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
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 ****************************************************************************
26 ****************************************************************************
27 * Type changes that might generate warnings: *
28 ****************************************************************************
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 ****************************************************************************
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
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
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()
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.
115 examples/tooltip demonstrates dynamic tooltips
116 examples/table demonstrates QTableView
117 examples/hello is a different program
119 examples/xshape has been removed.