/dist/changes-4.2.0

https://bitbucket.org/ultra_iter/qt-vtl · Unknown · 2506 lines · 1477 code · 1029 blank · 0 comment · 0 complexity · 85fb797ec00de09b2627407e46a576fb MD5 · raw file

  1. Qt 4.2 introduces many new features as well as many improvements and
  2. bugfixes over the 4.1.x series. For more details, see the online
  3. documentation which is included in this distribution. The
  4. documentation is also available at http://qt.nokia.com/doc/
  5. The Qt version 4.2 series is binary compatible with the 4.1.x series.
  6. Applications compiled for 4.1 will continue to run with 4.2.
  7. The Qtopia Core version 4.2 series is binary compatible with the 4.1.x
  8. series except for some parts of the device handling API, as detailed
  9. in Platform Specific Changes below.
  10. ****************************************************************************
  11. * General *
  12. ****************************************************************************
  13. New features
  14. ------------
  15. - QCalendarWidget provides a standard monthly calendar widget with date
  16. selection features.
  17. - QCleanlooksStyle provides the new Cleanlooks style, a clone of the GNOME
  18. ClearLooks style, giving Qt applications a native look on GNOME desktops.
  19. - QCompleter provides facilities for auto completion in text entry widgets.
  20. - QDataWidgetMapper can be used to make widgets data-aware by mapping them
  21. to sections of an item model.
  22. - QDesktopServices provides desktop integration features, such as support
  23. for opening URLs using system services.
  24. - QDialogButtonBox is used in dialogs to ensure that buttons are placed
  25. according to platform-specific style guidelines.
  26. - QFileSystemWatcher enables applications to monitor files and directories
  27. for changes.
  28. - QFontComboBox provides a standard font selection widget for document
  29. processing applications.
  30. - QGraphicsView and related classes provide the Graphics View framework, a
  31. replacement for Qt 3's canvas module that provides an improved API, enhanced
  32. rendering, and more responsive handling of large numbers of canvas items.
  33. - QGLFramebufferObject encapsulates OpenGL framebuffer objects.
  34. - QMacPasteboardMime handles Pasteboard access on Qt/Mac. This obsoletes
  35. QMacMime as the underlying system has changed to support Apple's new
  36. Pasteboard Manager. Any old QMacMime objects will not be used.
  37. - QNetworkInterface represents a network interface, providing information
  38. about the host's IP addresses and network interfaces.
  39. - QResource provides static functions that control resource lookup and
  40. provides a way to navigate resources directly without levels of
  41. indirection through QFile/QFileEngine.
  42. - QSystemTrayIcon allows applications to provide their own icon in the
  43. system tray.
  44. - QTimeLine gives developers access to a standard time line class with which
  45. to create widget animations.
  46. - The QtDBus module provides inter-process communication on platforms
  47. that support the D-BUS protocol.
  48. - The QUndo* classes in Qt's Undo framework provide undo/redo functionality
  49. for applications.
  50. - Support for the Glib event loop to enable integration between Qt and non-Qt
  51. applications on the GNOME desktop environment.
  52. - Improved Accessibility for item-based views and QTextEdit.
  53. - Support for main window animations and tabbed dock widgets.
  54. - Added an SVG icon engine to enable SVG drawings to be used by QIcon.
  55. - Widgets can now be styled according to rules specified in a style sheet,
  56. using a syntax familiar to users of Cascading Style Sheets (CSS). Style
  57. sheets are set using the QWidget::styleSheet property.
  58. - Introduced a new key mapper system which improves the shortcut system by
  59. only testing the real possible shortcuts, such as Ctrl+Shift+= and Ctrl++
  60. on an English keyboard.
  61. - Improved and enhanced QMessageBox to support native look and feel on many
  62. common platforms.
  63. - Experimental support for Qt usage reporting ("metered licenses") on Linux,
  64. Windows and Mac OS X. Reporting is disabled by default.
  65. - A screen magnification utility, pixeltool, is provided. It is designed to help
  66. with the process of fine-tuning styles and user interface features.
  67. - New qrand() and qsrand() functions to provide thread safe equivalents to
  68. rand() and srand().
  69. General improvements
  70. --------------------
  71. - Item views
  72. * Selections are maintained when the layout of the model changes
  73. (e.g., due to sorting).
  74. * Convenience views can perform dynamic sorting of items when the data
  75. in items changes.
  76. * QStandardItem provides an item-based API for use with
  77. QStandardItemModel and the model/view item view classes.
  78. * QStandardItemModel API provides a classic item-based approach to
  79. working with models.
  80. * Single selection item views on Mac OS X cannot change their current
  81. item without changing the current selection when using keyboard
  82. navigation.
  83. - Plastique style has improved support for palettes, and now requires
  84. XRender support on X11 for alpha transparency.
  85. - Tulip containers
  86. * Added typedefs for STL compatability.
  87. * Added function overloads to make the API easier to use.
  88. - Added the Q3TextStream class for compatiblity with Qt 3 and to assist with
  89. porting projects.
  90. - OpenGL paint engine
  91. * Added support for all composition modes of QPainter natively using
  92. OpenGL.
  93. * Fixed a case where very large polygons failed to render correctly.
  94. * Ensured that glClear() is only called in begin() if the
  95. QGLWidget::autoFillBackground() property is true.
  96. * Ensured that a buffer swap is only performed in end() if
  97. QGLWidget::autoBufferSwap() is true.
  98. * Improved text drawing speed and quality.
  99. - Raster paint engine
  100. * Fixed blending of 8 bit indexed images with alpha values.
  101. * Fixed drawing onto QImages that were wider than 2048 pixels.
  102. * Fixed alpha-blending and anti-aliasing on ARGB32 images.
  103. * Improved point drawing performance.
  104. * Fixed issue where lines were drawn between coordinates that were
  105. rounded instead of truncated.
  106. * Ensured that setClipRegion(QRegion()) clips away all painting
  107. operations as originally intended.
  108. Third party components
  109. ----------------------
  110. - Dropped support for MySQL version 3.
  111. - Updated Qt's SQLite version to 3.3.6.
  112. - Updated Qt's FreeType version to 2.2.1.
  113. - Updated Qt's libpng version to 1.2.10.
  114. Build System
  115. ------------
  116. - Auto-detect PostgreSQL and MySQL using pg_config and mysql_config on UNIX
  117. based systems in the configure script
  118. - Added "-system-sqlite" option to configure to use the system's SQLite
  119. library instead of Qt's SQLite version.
  120. - Added QT_ASCII_CAST_WARNINGS define that will output a warning on implicit
  121. ascii to Unicode conversion when set. Only works if the compiler supports
  122. deprecated API warnings.
  123. - Added Q_REQUIRED_RESULT to some functions. This macro triggers a warning
  124. if the result of a function is discarded. Currently only supported by gcc.
  125. - Qt/X11, Qt/Mac and Qtopia Core only:
  126. * Added all QT_NO_* defines to the build key.
  127. - Qt/X11 and Qtopia Core only:
  128. * As in Qt 3, the configure script enables the -release option by
  129. default, causing the Qt libraries to be built with optimizations. If
  130. configured with the -debug option, the debug builds no longer result
  131. in libraries with the _debug suffix.
  132. On modern systems, flags are added to the Qt build to also
  133. generate debugging information, which is then stored in a
  134. separate .debug file. The additional debug information does not
  135. affect the performance of the optimized code and tools like gdb
  136. and valgrind automatically pick up the separate .debug
  137. files. This way it is possible to get useful backtraces even
  138. with release builds of Qt.
  139. * Removed the last vestiges of the module options in the configure
  140. script, previously they were available but did not function.
  141. * Implemented a -build option in the configure script to conditionally
  142. compile only certain sections of Qt.
  143. * Made it possible to build Qt while having "xcode" set as your
  144. QMAKESPEC on OSX.
  145. - Windows only:
  146. * Populated the build key, as done on all the other platforms.
  147. * Fixed dependency generation in Visual Studio Solutions (.sln)
  148. created by qmake.
  149. * Added missing platforms to the Visual Studio project generator (X64,
  150. SH3DSP and EBC).
  151. * Made UIC3 use a temporary file for long command lines.
  152. * Removed the object file (.o) conflicts with MinGW that appeared when
  153. embedding a native resource file which was named the same as a normal
  154. source file.
  155. * Fixed mkspec detection when generating project files outside of QTDIR.
  156. * Removed compiler warnings with MinGW g++ 3.4.5.
  157. ****************************************************************************
  158. * Library *
  159. ****************************************************************************
  160. - QAbstractButton
  161. * Returns QPalette::Button and QPalette::ButtonText for
  162. backgroundRole() and foregroundRole(), respectively, rather than
  163. QPalette::Background and QPalette::Foreground.
  164. * Ensured that nextCheckState() is called only when there is a state
  165. change.
  166. - QAbstractItemModel
  167. * When dropping rows only insert rows that were actually dropped, not
  168. the continuous row count from first to last.
  169. * Added a supportedDragActions property to be used by
  170. QAbstractItemView when starting a drag.
  171. * When updating changed persistent indexes, ignore those that haven't
  172. actually changed.
  173. * Fixed endian issue with createIndex().
  174. * Added FixedString matching for match().
  175. * Changed the sorting algorithm to use a stable sort.
  176. * Added persistentIndexList() function.
  177. - QAbstractItemView
  178. * Added possibility to copy elements to clipboard on read-only views.
  179. * Improved handling of QAbstractItemModel::supportedDropActions().
  180. * Ensured that the current item is selected when using keyboard
  181. search.
  182. * Ensured that the view starts with a valid current index.
  183. * Ensured that data is only committed in currentChanged() if the
  184. editor is not persistent.
  185. * Fixed crash that occurred when a modal dialogs was opened when
  186. closing an editor.
  187. * Added verticalScrollMode and horizontalScrollMode properties.
  188. * Added setItemDelegateForRow() and setItemDelegateForColumn().
  189. * Ensured that existing models are disconnected properly when
  190. replaced.
  191. * Ensured that the doubleClicked() signal is only emitted when the
  192. left button has been double-clicked.
  193. * Changed setSelection(...) to work when given a non-normalized
  194. rectangle.
  195. * Fixed regression for shift-selections in ExtendedSelection for
  196. all views.
  197. * Added dragDropMode property and implemented move support in all of
  198. the views and models.
  199. * For edit triggers SelectedClicked and DoubleClicked, only trigger
  200. editing when the left button is clicked.
  201. * Trigger SelectedClicked editing on mouse release, not mouse press.
  202. * Suppressed the doubleClicked() signal in cases where the clicks
  203. happened on two different items.
  204. * Enabled keyboard search to be programmatically reset by calling
  205. keyboardSearch() with an empty string as argument.
  206. * Don't allow drops on items that don't have the Qt::ItemIsDropEnabled
  207. flag set.
  208. * Added modelAboutToBeReset() and layoutAboutToBeChanged() signals.
  209. * Suppressed assertion in dropMimeData() for cases where mimeTypes()
  210. returns an empty list.
  211. * Ensured consistent behavior of drag and drop when rootIndex() is a
  212. valid model index.
  213. * Made it possible to check a checkbox with only a single click when
  214. using the CurrentChanged edit trigger.
  215. * Ensured that WhatsThis events are propagated when the relevant item
  216. doesn't have a valid "What's This?" value.
  217. * Added PositionAtCenter scrollHint.
  218. * Added support to allow items to be checked and unchecked using the
  219. keyboard.
  220. * Added support for keypad navigation.
  221. - QAbstractProxyModel
  222. * Added default implementations for data(), headerData() and flags()
  223. - QAbstractScrollArea
  224. * Added ability to set a corner widget.
  225. * Added ability to set scroll bar widgets.
  226. * Added support for custom scroll bars.
  227. - QAbstractSpinBox
  228. * Added a hasAcceptableInput() property.
  229. * Ensured that fixup/validate are called for third party subclasses of
  230. QAbstractSpinBox as well.
  231. * Fixed geometry issues when toggling frames on and off for spinboxes.
  232. * Added a property for correctionMode.
  233. * Added a property for acceleration.
  234. - QAbstractPrintDialog
  235. * Fixed handling of existing printer options so that storage of page
  236. ranges using setFromTo() works as expected when printing in PDF format.
  237. - QAction
  238. * Added the setAutoRepeat(bool) function to disable auto-repeating
  239. actions on keyboard shortcuts.
  240. - QApplication
  241. * Added saveStateRequest() and commitDataRequest() signals so that
  242. QApplication does not need to be subclassed to enable session
  243. management in an application.
  244. * Added the styleSheet property to get/set the application style sheet.
  245. * Support sending key events to non-widget objects.
  246. * Ensured that argc and argv as passed to the QApplication constructor
  247. will always be zero-terminated on all platforms after QApplication
  248. consumes command line options for itself.
  249. - QBrush
  250. * Added a constructor that accepts a QImage.
  251. - QButtonGroup
  252. * Added pressed() and released() signals.
  253. * Fixed a bug caused by removing buttons from button groups. Removed the
  254. internal mapping as well.
  255. * Ensured that checkedButton() returns the correct value with
  256. non-exclusive groups.
  257. - QClipboard
  258. * Added support for find text buffer.
  259. - QColor
  260. * Fixed corruption in setRed(), setGreen() and setBlue() for HSV/CMYK
  261. colors.
  262. - QComboBox
  263. * Fixed drawing issues related to certain FocusPolicy values.
  264. * Ensured that the ItemFlags of an Item (ItemIsEnabled,...) are
  265. respected.
  266. * Fixed cases where the popup could be shown completly on screen, but
  267. weren't.
  268. * Added the InsertAlphabetically insert policy.
  269. * Fixed case where a QPixmap could not be displayed using a QIcon.
  270. * Fixed the type of the modelColumn property from bool to int.
  271. * Updated documentation to clarify the differences between activated(),
  272. highlighted() and currentIndexChanged(), and describe what they
  273. actually mean.
  274. * Updated the behavior to ensure that, if the combobox isn't editable,
  275. the Qt::DisplayRole rather than the Qt::EditRole is used to query the
  276. model.
  277. - QCoreApplication
  278. * Added flags to enable/disable application-wide features such as
  279. delayed widget creation.
  280. - QCursor
  281. * Added support for the newly added Qt::OpenHandCursor and
  282. Qt::ClosedHandCursor enum values.
  283. - QDate
  284. * Support dates all the way down to Julian Day 1 (2 January 4713 B.C.)
  285. using the Julian calendar when appropriate.
  286. - QDateTime
  287. * Fixed parsing issue in fromString(const QString &, Qt::DateFormat).
  288. - QDateTimeEdit
  289. * Added the calendarPopup property to enable date selection using the
  290. new QCalendarWidget class.
  291. * Added a setSelectedSection() function to allow the currently selected
  292. section to be programmatically set.
  293. - QDesktopWidget
  294. * Remove a potential out-of-bounds read.
  295. - QDialog
  296. * Improved stability in cases where the default button is deleted.
  297. - QDir
  298. * Improved support for i18n file paths in QDir::tempPath().
  299. * Improved support for UNC paths when the application is run from a
  300. share.
  301. * Ensured that mkpath() properly supports UNC paths.
  302. * Obsoleted QDir::convertSeparators().
  303. * Introduced QDir::toNativeSeparators() and QDir::fromNativeSeparators().
  304. * Added a QDebug streaming operator.
  305. - QDirModel
  306. * Fixed conversion from bytes to larger units in QDirModel in the file
  307. size display.
  308. * Remove hardcoded filtering of the '.' and '..' entries.
  309. - QErrorMessage
  310. * Made qtHandler() work in cases where the message handler is invoked
  311. from threads other than the GUI thread.
  312. - QEvent
  313. * Added the KeyboardLayoutChange event type which is sent when the
  314. keyboard layout changes.
  315. - QFile
  316. * Improved support for UNC paths when the application is run from a
  317. share.
  318. * Added support for physical drives (e.g., "//./Physical01").
  319. * Ensured that QFile::error() and QIODevice::errorString() are set
  320. whenever possible when errors occur.
  321. * Renamed readLink() to symLinkTarget().
  322. - QFileDialog
  323. * Fixed a case where view mode got disabled.
  324. - QFileInfo
  325. * Improved support for UNC paths when the application is run from a
  326. share.
  327. * Improved support for drive-local relative paths, such as "D:".
  328. * Renamed readLink() to symLinkTarget().
  329. - QFlags
  330. * Added the testFlag() convenience function.
  331. - QFont
  332. * Added NoFontMerging as a flag to QFont::StyleStrategy.
  333. - QFontDatabase
  334. * Added functions for handling application-local fonts at run-time:
  335. addApplicationFont(), removeApplicationFont(),
  336. applicationFontFamilies(), etc.
  337. - QFontDialog
  338. * Enabled support for custom window titles.
  339. - QFontMetrics/QFontMetricsF
  340. * Added the elidedText() function.
  341. * Added the averageCharWidth() function.
  342. - QFrame
  343. * Fixed a rendering issue when showing horizontal and vertical lines
  344. created using Designer.
  345. - QFtp
  346. * Improved parsing of the modified date in list().
  347. * Ensured that all data has been received when downloading, before the
  348. data connection is closed.
  349. * Added support for FTP servers that reject commands with a 202 response.
  350. - QGLFormat
  351. * Added the openGLVersionFlags() function.
  352. * Added support for setting the swap interval for a context
  353. (i.e., syncing to the vertical retrace).
  354. * Added support for setting red, green and blue buffer sizes.
  355. - QGLWidget
  356. * Fixed a resource leak that could occur when binding QImages with the
  357. bindTexture() function.
  358. * Fixed renderText() to produce proper output when depth buffering is
  359. enabled.
  360. * Fixed bindTexture() to respect premultiplied QImage formats.
  361. * Ensured that the updatesEnabled property is respected.
  362. - QGradient
  363. * Added default constructors and setter functions for all gradients and
  364. their attributes.
  365. - QGridLayout
  366. * Do not segfault if cellRect() is called before setGeometry(),
  367. even though the result is documented to be undefined.
  368. * Fixed maximum size handling when adding spacing.
  369. - QGroupBox
  370. * Activating a group box by a shortcut will now show the focus rectangle.
  371. * Added the clicked() signal
  372. - QHash
  373. * Prevent conversion of iterator or const_iterator to bool
  374. (e.g., if (map->find(value))) because the conversion always returned
  375. true. Qt 4.1 code that doesn't compile because of this change was most
  376. probably buggy.
  377. * Added the uniqueKeys() function.
  378. - QHeaderView
  379. * Use the current resize mode to determine section sizes when
  380. new rows are inserted.
  381. * Recover the internal state if other widgets steal the mouse release
  382. event.
  383. * Ensure that moved sections can be removed without asserting.
  384. * Be more robust with regards to arguments sent to the rowsInserted slot.
  385. * Let the stretchLastSection property override the globalResizeMode in
  386. the resizeSections() function.
  387. * Renamed ResizeMode::Custom to ResizeMode::Fixed.
  388. * Added the swapSections() convenience function.
  389. * Added a more "splitter-like" resize mode.
  390. * Added the possibility for the user to turn off stretch mode by
  391. resizing the header section. This includes the stretchLastSection
  392. property.
  393. * Added the minimumSectionSize property.
  394. * Get the section size hint from the Qt::SizeHintRole, if set.
  395. * Added the ResizeToContents resize mode.
  396. * Ensure that all header contents are centered by default.
  397. * Improved the internal structure to be more memory efficient.
  398. - QHostAddress
  399. * Added QDataStream streaming operators.
  400. - QHttp
  401. * Support percent-encoded paths when used with a proxy server.
  402. * Improved handling of unexpected remote socket close.
  403. - QHttpHeader
  404. * Improved support for case-insensitive header searching.
  405. - QIcon
  406. * Fixed issue where actualSize() might return a larger value than the
  407. requested size.
  408. * Fixed improper pixmap caching
  409. * Added QDataStream operators for QIcon.
  410. * Added the Selected mode.
  411. - QImage
  412. * Added support for 16 bit RGB format.
  413. * Added QPoint overloads to various (int x, int y) functions.
  414. * Added support for faster/better rotation of images by 90/180/270
  415. degrees.
  416. * convertToFormat() now supports the color lookup table.
  417. * Improved algorithm for smooth scaling to produce better results.
  418. - QImageReader
  419. * Ensured that size() returns an invalid QSize if the image I/O handler
  420. does not support the QImageIOHandler::Size extension.
  421. * Added support for reading negative BMP images.
  422. * Improved handling of invalid devices.
  423. * Added optimizations to ensure that the most likely formats and plugins
  424. are tested first when reading unknown image formats.
  425. * Improved reading of BMP images from sequential QIODevices.
  426. * Support for scaledSize() with JPEG images.
  427. * It is now possible to query the supported options of an image by
  428. calling supportedOptions().
  429. * Stability fixes for the built-in XBM reader.
  430. - QImageWriter
  431. * Ensured that an error is reported when attempting to write an image
  432. to a non-writable device.
  433. * It is now possible to query the supported options of an image by
  434. calling supportedOptions().
  435. - QIODevice
  436. * Fixed a casting bug in QIODevice::getChar().
  437. * Improved reading performance significantly by using an internal buffer
  438. when a device is opened in buffered mode.
  439. * Some behavioral differences have been introduced:
  440. + The following functions now need to call the base implementation
  441. when reimplemented: atEnd(), bytesAvailable(), size(), canReadLine().
  442. + pos() should return the base implementation directly.
  443. + QIODevice now handles the device position internally. seek() should
  444. always end up calling the base implementation.
  445. - QItemDelegate
  446. * Use a widget's USER property to set and get the editor data.
  447. * Removed unnecessary assertions.
  448. * Added the clipping property to enable clipping when painting.
  449. * When the model specifies a font, resolve the font over the existing
  450. one rather than replacing it.
  451. * Fixed issue with rendering of selected pixmaps.
  452. * Ensured that QItemEditorFactory is called with the variant's
  453. userType() so that the factory can distinguish between multiple user
  454. types.
  455. * Ensured that Key_Enter is propagated to the editor before data is
  456. committed, so that the editor has a chance to perform custom input
  457. validation/fixup.
  458. * Let the line edit grow to accomodate long strings.
  459. * Made it easer to subclass the item delegate.
  460. * Added support for keypad navigation.
  461. - QItemSelectionModel
  462. * Improved overall speed, particularly when isSelected() is used.
  463. * Added functions for getting the selected rows or columns.
  464. * Ensured that the current index is updated when it is being removed.
  465. * Ensure that QAbstractItemView::clearSelection() only clears the
  466. selection and not the current index.
  467. * Added the hasSelection() function.
  468. * Fixed some connection leaks (connections were not disconnected) when
  469. an QItemSelectionModel was deleted. This should also speed up some
  470. special cases.
  471. - QKeySequence
  472. * Added a set of platform-dependent standard shortcuts.
  473. * Fixed incorrect parsing of translated modifiers.
  474. - QLabel
  475. * Added support for text selection and hyperlinks.
  476. * Improved handling of scaled pixmaps.
  477. * Made handling of QMovie safer to avoid object ownership issues.
  478. - QLibrary
  479. * Added support for hints to control how libraries are opened on UNIX
  480. systems.
  481. * Added errorString() to report the causes of errors when libraries
  482. fail to load.
  483. * Added easier way to debug plugin loading: Setting QT_DEBUG_PLUGINS=1
  484. in the environment will enable debug message printing on the
  485. console.
  486. * Increased the number of acceptable file name suffixes used to
  487. recognize library files.
  488. - QLineEdit
  489. * Ensured that the Unicode context menu gets shown if language
  490. extensions are present.
  491. * Ensured that editingFinished() is not emitted if a validator is set
  492. and the text cannot be validated.
  493. * Ctrl+A now triggers select all on all platforms.
  494. * Call fixup on focusOut() if !hasAcceptableInput().
  495. * Added auto-completion support with the setCompleter() function.
  496. * Fixed painting errors when contents margins were set.
  497. * Invalid text set using setText() can now be edited where previously
  498. it had to be deleted before new text could be inserted.
  499. * Use SE_LineEditContents to control the contents rect of each
  500. QLineEdit.
  501. - QListView
  502. * Added the batchSize property.
  503. * Don't un-hide currently hidden rows when new rows are inserted.
  504. * Fixed partial repainting bug that occurred when alternatingRowColors
  505. was enabled.
  506. * Ensured that the resize mode is not reset in setViewMode() if it was
  507. already set.
  508. * Fixed crash that occurred when the first item was hidden and
  509. uniformItemSizes was set.
  510. * Added the wordWrap property for wrapping item text.
  511. * Allow the user to select items consecutively when shift-selecting.
  512. * Ensured that only the top item is selected when the user clicks on
  513. an area with several items are stacked on top of each other.
  514. * Optimized hiding and showing of items.
  515. * Fixed issue where dragging an item in Snap mode did not respect the
  516. scroll bar offsets.
  517. * Fixed issue in Snap mode where a (drag and) drop did not always
  518. query the item that existed in the corresponding cell for an enabled
  519. Qt::ItemIsDropEnabled flag.
  520. - QListWidget/QTreeWidget/QTableWidget
  521. * Ensured the dataChanged() signal is emitted when flags are set on an
  522. item.
  523. * Removed unnecessary assertions.
  524. * Added more convenience functions in QListWidget, QTableWidget and
  525. QTreeWidget for selecting, hiding, showing, expanding and collapsing
  526. nodes.
  527. * Ensured that changes to items are reported.
  528. - QLocale
  529. * Fixed bug in the string-to-number functions which sometimes caused
  530. them to fail on negative numbers which contained thousand-
  531. separators.
  532. * Implemented the numberOptions property for specifying how
  533. string-to-number and number-to-string conversions should be
  534. performed.
  535. - QMainWindow
  536. * Added support for tabbed dock widgets.
  537. * Enhanced look and feel of dock widget handling. When a dock widget
  538. hovers over a main window, the main window animates the existing
  539. dock widgets and main area to show how it will accept the dock
  540. widget if dropped.
  541. * Fixed issues related to insertToolBarBreak().
  542. - QMap
  543. * Prevent conversion of iterator or const_iterator to bool
  544. (e.g., if (map->find(value))), because the conversion always
  545. returned true. Qt 4.1 code that doesn't compile because of this
  546. change was most probably buggy.
  547. * Added the uniqueKeys() function.
  548. - QMenu
  549. * Added the aboutToHide() signal.
  550. * Added the isEmpty() accessor function.
  551. * Clear menuAction() when setMenu(0)
  552. * Added support for widgets in menus via QWidgetAction.
  553. * Collapse multiple consecutive separators. This can be turned off
  554. with the collapsibleSeparators property.
  555. * Made scrollable menus wrap, just like non-scrollable ones.
  556. - QMessageBox
  557. * Updated the API to allow more than 3 buttons to be used.
  558. * Added support to display buttons in the order required by
  559. platform-specific style guidelines.
  560. * Added support for display of informative text using the
  561. informativeText property.
  562. * Added the detailedText property to allow detailed text to be
  563. displayed.
  564. * Improved sizing of message box (especially on Mac OS X).
  565. * Changed the behavior so that long text strings are automatically
  566. wrapped.
  567. * Updated icon handling to use QStyle::standardIcon() where possible.
  568. - QMetaObject
  569. * Added the userProperty() and normalizedType() functions.
  570. - QMetaType
  571. * Ensured that all type names are normalized before registering them.
  572. * Added support for handling Qt's integer typedefs: qint8, qint16,
  573. etc.
  574. - QModelIndex
  575. * Added the flags() convenience function.
  576. - QMutexLocker, QReadLocker, and QWriteLocker
  577. * These classes now track the state of the lock they are holding.
  578. They will not unlock on destruction if unlock() has been called.
  579. - QObject
  580. * thread() will always return a valid thread, even if the object was
  581. created before QApplication or in a non-QThread thread.
  582. * When thread() returns zero, events are no longer sent to the object.
  583. (Previous versions of Qt would send posted events to objects with no
  584. thread; this does not happen in Qt 4.2).
  585. * Added support for dynamically added properties via the new
  586. property(), setProperty(), and dynamicPropertyNames() functions.
  587. * Fixed a crash that could occur when a child deleted its sibling.
  588. - QPainter
  589. * Fixed a crash the occurred when drawing cosmetic lines outside the
  590. paint device boundaries.
  591. * Fixed a pixel artifact issue that occurred when drawing cosmetic
  592. diagonal lines.
  593. * Fixed opaque backgrounds so that they are identical on all
  594. platforms.
  595. * Optimized drawing of cosmetic lines at angles between 315 and 360
  596. degrees.
  597. * Added the setRenderHints() function.
  598. * Fixed a memory corruption issue in drawEllipse().
  599. - QPixmap
  600. * Fixed crash caused by setting a mask or alpha channel on a pixmap
  601. while it was being painted.
  602. * Changed load() and save() to no longer require a format string.
  603. * Ensured that grabWidget() works before the specified widget is first
  604. shown.
  605. - QPluginLoader
  606. * Added errorString() to report the causes of errors when plugins fail
  607. to load.
  608. - QPrinter
  609. * Added support for PostScript as an output format on all platforms.
  610. * Significantly reduced the size of the generated output when using
  611. the PostScript and PDF drivers.
  612. * Fixed issue where fromPage()/toPage() returned incorrect values when
  613. generating PDF files.
  614. * Ensured that setOutputFormat() preserves previously set printer
  615. properties.
  616. * Updated setOutputFileName() to automatically choose PostScript or
  617. PDF as the output format for .ps or .pdf suffixes.
  618. - QProcess
  619. * Added support for channel redirection to allow data to be redirected
  620. to files or between processes.
  621. - QPushButton
  622. * Ensured that, when a menu is added to a push button, its action is
  623. also added to enable keyboard shortcuts.
  624. - QRect, QRectF, QRegion
  625. * Renamed unite(), intersect(), subtract(), and eor() to united(),
  626. intersected(), subtracted(), and xored() respectively.
  627. * Added QRegion::intersects(QRegion) and QRegion::intersects(QRect).
  628. * Fixed case where rect1 & rect2 & rect3 would return a non-empty
  629. result for disjoint rectangles.
  630. - QRegExp
  631. * Added RegExp2 syntax, providing greedy quantifiers (+, *, etc.).
  632. * Marks (QChar::isMark()) are now treated as word characters,
  633. affecting the behavior of '\b', '\w', and '\W' for languages
  634. that use diacritic marks (e.g., Arabic).
  635. * Fix reentrancy issue with the regexp cache.
  636. - QScrollArea
  637. * Added the ensureWidgetVisible() function to facilitate scrolling to
  638. specific child widgets in a scroll area.
  639. - QScrollBar
  640. * Ensured that a SliderMove action is triggered when the slider value is
  641. changed through a wheel event.
  642. - QSet
  643. * Added QSet::iterator and QMutableSetIterator.
  644. - QSettings
  645. * Store key sequences as readable entries in INI files.
  646. * Detect NFS to prevent hanging when lockd isn't running.
  647. - QShortcut
  648. * Added the setAutoRepeat(bool) function to disable auto-repeating
  649. actions on keyboard shortcuts.
  650. - QSize
  651. * Fixed potential overflow issue in scale().
  652. - QSlider
  653. * Added support for jump-to-here positioning.
  654. - QSortFilterProxyModel
  655. * Handle source model changes (e.g., data changes, item insertion
  656. and removal) in a fine-grained manner, so that the proxy model
  657. behaves more like a "real" model.
  658. * Added sortRole, filterRole and dynamicSortFilter properties.
  659. * Perform stable sorting of items.
  660. * Fixed support for drag and drop operations where one item is dropped
  661. on top of another.
  662. * Ensure that persistent indexes are updated when the layout of the
  663. source model changes.
  664. * Made match() respect the current sorting and filtering settings.
  665. * Forward mimeTypes() and supportedDropActions() calls to source
  666. models.
  667. * Added the ability to filter on all the columns.
  668. * Added the filterChanged() function to enable custom filtering to be
  669. implemented.
  670. - QSqlQuery
  671. * Added execBatch() for executing SQL commands in a batch. Currently
  672. only implemented for the Oracle driver.
  673. * Fixed a case where executedQuery() would not return the executed
  674. query.
  675. - QSqlRelationalTableModel
  676. * Fixed issue related to sorting a relational column when using the
  677. PostgreSQL driver.
  678. * revertAll() now correctly reverts relational columns.
  679. - QStackedLayout
  680. * Fixed crash that occurred when removing widgets under certain
  681. conditions.
  682. - QStackedWidget
  683. * Fixed crash that occurred when removing widgets under certain
  684. conditions.
  685. * Fixed issue where the size hint of the current widget would not be
  686. respected.
  687. - QStandardItemModel
  688. * Added an item-based API for use with QStandardItem.
  689. * Reimplemented sort().
  690. * Added the sortRole property.
  691. - QStatusBar
  692. * Added the insertWidget() and insertPermanentWidget() functions.
  693. - QString
  694. * Added support for case-insensitive comparison in compare().
  695. * Added toUcs4() and fromUcs4() functions.
  696. - QStyle
  697. * Added the following style hint selectors:
  698. SH_Slider_AbsoluteSetButtons, SH_Slider_PageSetButtons,
  699. SH_Menu_KeyboardSearch, SH_TabBar_ElideMode, SH_DialogButtonLayout,
  700. SH_ComboBox_PopupFrameStyle, SH_MessageBox_TextInteractionFlags,
  701. SH_DialogButtonBox_ButtonsHaveIcons, SH_SpellCheckUnderlineStyle,
  702. SH_MessageBox_CenterButtons, SH_Menu_SelectionWrap,
  703. SH_ItemView_MovementWithoutUpdatingSelection.
  704. * Added the following standard pixmap selectors:
  705. SP_DirIcon, SP_DialogOkButton, SP_DialogCancelButton,
  706. SP_DialogHelpButton, SP_DialogOpenButton, SP_DialogSaveButton,
  707. SP_DialogCloseButton, SP_DialogApplyButton, SP_DialogResetButton,
  708. SP_DialogDiscardButton, SP_DialogYesButton, SP_DialogNoButton,
  709. SP_ArrowUp, SP_ArrowDown, SP_ArrowLeft, SP_ArrowRight, SP_ArrowBack,
  710. SP_ArrowForward.
  711. * Added PE_PanelScrollAreaCorner and PE_Widget as primitive element
  712. selectors.
  713. * Added PM_MessageBoxIconSize and PM_ButtonIconSize as pixel metric
  714. selectors.
  715. * Added SE_LineEditContents and SE_FrameContents as sub-element
  716. selectors.
  717. * Added SE_FrameContents to control the contents rectangle of a
  718. QFrame.
  719. - QSvgHandler
  720. * Improved style sheet parsing and handling.
  721. * Added support for both embedded and external style sheets.
  722. * Improved parsing of local url() references.
  723. * Improved coordinate system handling.
  724. * Fixed issue where the viewbox dimensions would be truncated to integer
  725. values.
  726. * Fixed support for gradient transformations.
  727. * Fixed opacity inheritance behavior.
  728. * Added support for gradient spreads.
  729. * Fixed gradient stop inheritance behavior.
  730. * Fixed parsing of fill and stroke properties specified in style sheets.
  731. * Added support for reading and writing the duration of animated SVGs.
  732. * Fixed incorrect rendering of SVGs that do not specify default viewboxes.
  733. * Fixed radial gradient rendering for the case where no focal point is
  734. specified.
  735. - QSyntaxHighlighter
  736. * Added various performance improvements.
  737. - Qt namespace
  738. * Added ForegroundRole and BackgroundRole, allowing itemviews to use
  739. any QBrush (not just QColor, as previously) when rendering items.
  740. * Added NoDockWidgetArea to the ToolBarArea enum.
  741. * Added NoToolBarArea to the DockWidgetArea enum.
  742. * Added GroupSwitchModifier to the KeyboardModifiers enum. It
  743. represents special keys, such as the "AltGr" key found on many
  744. keyboards.
  745. * Added several missing keys to the Key enum: Key_Cancel, Key_Printer,
  746. Key_Execute, Key_Sleep, Key_Play and Key_Zoom.
  747. * Added OpenHandCursor and ClosedHandCursor for use with QCursor.
  748. - QTabBar
  749. * QTabBar text can now be elided; this is controlled by the elideMode
  750. property.
  751. * You can now turn on or off the "scroll buttons" for the tab bar with
  752. the usesScrollButtons property.
  753. * Non-pixmap based styles will now fill the background of the tab with
  754. the palette's window role.
  755. - QTabletEvent:
  756. * Ensured that QTabletEvents are dispatched with the proper relative
  757. coordinates.
  758. * Added proximity as another type of a tablet event (currently only sent
  759. to QApplication).
  760. - QTableView
  761. * Added API for spanning cells.
  762. * Ensured that cells are selected when the user right clicks on them.
  763. * Added a corner widget.
  764. * Added the setSortingEnabled property.
  765. - QTableWidget
  766. * Added the clearContents() function to enable the contents of the view
  767. to be cleared while not resetting the headers.
  768. * QTableWidget now uses stable sorting.
  769. * Allow sorting of non-numerical data.
  770. * Add convenience table item constructor that takes an icon as well as
  771. a string.
  772. - QTabWidget
  773. * Added missing selected() Qt3Support signal.
  774. * Clarified documentation for setCornerWidget().
  775. * Ensured that the tab widget's frame is drawn correctly when the tab
  776. bar is hidden.
  777. * Ensured that the internal widgets have object names.
  778. * Added iconSize, elideMode, and usesScrollButtons as properties (see
  779. QTabBar).
  780. - QTcpSocket
  781. * Fixed a rare data corruption problem occurring on heavily loaded
  782. Windows servers.
  783. - QTemporaryFile
  784. * Added support for file extensions and other suffixes.
  785. * Fixed one constructor which could corrupt the temporary file path.
  786. - QTextBrowser
  787. * Fixed various bugs with the handling of relative URLs and custom
  788. protocols.
  789. * Added isBackwardAvailable(), isForwardAvailable(), and
  790. clearHistory() functions.
  791. - QTextCodec
  792. * Allow locale-dependent features of Qt, such as QFile::exists(), to
  793. be accessed during global destruction.
  794. - QTextCursor
  795. * Added columnNumber(), blockNumber(), and insertHtml() convenience
  796. functions.
  797. - QTextDocument
  798. * Added convenience properties and functions: textWidth, idealWidth(),
  799. size, adjustSize(), drawContents(), blockCount, maximumBlockCount.
  800. * Added support for forced page breaks before/after paragraphs and
  801. tables.
  802. * Added CSS support to the HTML importer, including support for
  803. CSS selectors.
  804. * Added defaultStyleSheet property that is applied automatically for
  805. every HTML import.
  806. * Improved performance when importing HTML, especially with tables.
  807. * Improved pagination of tables across page boundaries.
  808. - QTextEdit
  809. * Fixed append() to use the current character format.
  810. * Changed mergeCurrentCharFormat() to behave in the same way as
  811. QTextCursor::mergeCharFormat, without applying the format to the
  812. word under the cursor.
  813. * QTextEdit now ensures that the cursor is visible the first time the
  814. widget is shown or when replacing the contents entirely with
  815. setPlainText() or setHtml().
  816. * Fixed issue where the setPlainText() discarded the current character
  817. format after the new text had been added to the document.
  818. * Re-added setText() as non-compatibility function with well-defined
  819. heuristics.
  820. * Added a moveCursor() convenience function.
  821. * Changed the default margin from 4 to 2 pixels for consistency with
  822. QLineEdit.
  823. * Added support for extra selections.
  824. - QTextFormat
  825. * Fixed the default value for QTextBlockFormat::alignment() to return
  826. a logical left alignment instead of an invalid alignment.
  827. * Added UnderlineStyle formatting, including SpellCheckUnderline.
  828. - QTextStream
  829. * Added the pos() function, which returns the current byte-position
  830. of the stream.
  831. - QTextTableCell
  832. * Added the setFormat() function to enable the cell's character format
  833. to be changed.
  834. - QThread
  835. * Related to changes to QObject, currentThread() always returns a
  836. valid pointer. (Previous versions of Qt would return zero if called
  837. from non-QThread threads; this does not happen in Qt 4.2).
  838. - QToolBar
  839. * Introduced various fixes to better support tool buttons, button
  840. groups and comboboxes in the toolbar extension menu.
  841. * Fixed crash that occurred when QApplication::setStyle() was called
  842. twice.
  843. - QToolButton
  844. * Fixed an alignment bug for tool buttons with multi-line labels and
  845. TextUnderIcon style.
  846. - QToolTip
  847. * Added the hideText() convenience function.
  848. * Added the showText() function that takes a QRect argument specifying
  849. the valid area for the tooltip. (If you move the cursor outside this
  850. area the tooltip will hide.)
  851. * Added a widget attribute to show tooltips for inactive windows.
  852. - QTranslator
  853. * Added support for plural forms through a new QObject::tr() overload.
  854. * Ensured that a LanguageChange event is not generated if the
  855. translator fails to load.
  856. * Fixed a bug in isEmpty().
  857. * Added Q_DECLARE_TR_FUNCTIONS() as a means for declaring tr()
  858. functions in non-QObject classes.
  859. - QTreeView
  860. * Ensured that no action is taken when the root index passed to
  861. setRootIndex() is the same as the current root index.
  862. * When hiding items the view no longer performs a complete re-layout.
  863. * Fixed possible segfault in isRowHidden().
  864. * Significantly speed up isRowHidden() for the common case.
  865. * Improved row painting performance.
  866. * After expanding, fetchMore() is called on the expanded index giving
  867. the model a way to dynamically populate the children.
  868. * Fixed issue where an item could expand when all children were
  869. hidden.
  870. * Added support for horizontal scrolling using the left/right arrow
  871. keys.
  872. * Added a property to enable the focus rectangle in a tree view to be
  873. shown over all columns.
  874. * Added more key bindings for expanding and collapsing the nodes.
  875. * Added the expandAll() and collapseAll() slots.
  876. * Added animations for expanding and collapsing branches.
  877. * Take all rows into account when computing the size hint for a
  878. column.
  879. * Added the setSortingEnabled property.
  880. * Fixed the behavior of the scrollbars so that they no longer
  881. disappear after removing and re-inserting items while the view is
  882. hidden.
  883. * Fixed memory corruption that could occur when inserting and removing
  884. rows.
  885. * Don't draw branches for hidden rows.
  886. - QTreeWidget
  887. * Added the const indexOfTopLevelItem() function.
  888. * Improved item insertion speed.
  889. * Fixed crash caused by calling QTreeWidgetItem::setData() with a
  890. negative number.
  891. * QTreeWidget now uses stable sorting.
  892. * Made construction of single column items a bit more convenient.
  893. * Added the invisibleRootItem() function.
  894. * Made addTopLevelItems() add items in correct (not reverse) order.
  895. * Ensured that the header is repainted immediately when the header
  896. data changes.
  897. - QUiLoader
  898. * Exposed workingDirectory() and setWorkingDirectory() from
  899. QAbstractFormBuilder to assist with run-time form loading.
  900. - QUrl
  901. * Added errorString() to improve error reporting.
  902. * Added hasQuery() and hasFragment() functions.
  903. * Correctly parse '+' when calling queryItems().
  904. * Correctly parse the authority when calling setAuthority().
  905. * Added missing implementation of StripTrailingSlash in toEncoded().
  906. - QVariant
  907. * Added support for all QMetaType types.
  908. * Added support for QMatrix as a known meta-type.
  909. * Added support for conversions from QBrush to QColor and QPixmap,
  910. and from QColor and QPixmap to QBrush.
  911. * Added support for conversions between QSize and QSizeF, between
  912. QLine and QLineF, from long long to char, and from unsigned long
  913. long to char.
  914. * Added support for conversions from QPointF to QPoint and from QRectF
  915. to QRect.
  916. * Fixed issue where QVariant(Qt::blue) would not create a variant of
  917. type QVariant::Color.
  918. * Added support for conversions from int, unsigned int, long long,
  919. unsigned long long, and double to QByteArray.
  920. - QWhatsThis
  921. * Improved look and feel.
  922. - QWidget
  923. * Delayed creation: Window system resources are no longer allocated in
  924. the QWidget constructor, but later on demand.
  925. * Added a styleSheet property to set/read the widget style sheet.
  926. * Added saveGeometry() and restoreGeometry() convenience functions for
  927. saving and restoring a window's geometry.
  928. * Fixed memory leak for Qt::WA_PaintOnScreen widgets with null paint
  929. engines.
  930. * Ensured that widget styles propagate to child widgets.
  931. * Reduced flicker when adding widget to layout with visible parent.
  932. * Fixed child visibility when calling setLayout() on a visible widget.
  933. * Speed up creation/destruction/showing of widgets with many children.
  934. * Avoid painting obscured widgets when updating overlapping widgets.
  935. - QWorkspace
  936. * Resolved issue causing the maximized controls to overlap with the
  937. menu in reverse mode.
  938. * Fixed issue where child windows could grow a few pixels when
  939. restoring geometry in certain styles.
  940. * Ensured that right-to-left layout is respected when positioning new
  941. windows.
  942. * Fixed crash that occurred when a child widget did not have a title
  943. bar.
  944. * Fixed issue where maximized child windows could be clipped at the
  945. bottom of the workspace.
  946. - quintptr and qptrdiff
  947. * New integral typedefs have been added.
  948. - Q3ButtonGroup
  949. * Fixed inconsistencies with respect to exclusiveness of elements in
  950. Qt 3.
  951. * Fixed ID management to be consistent with Qt 3.
  952. - Q3Canvas
  953. * Fixed several clipping bugs introduced in 4.1.0.
  954. - Q3CanvasView
  955. * Calling setCanvas() now always triggers a full update.
  956. - Q3Grid, Q3Hbox, Q3VBox
  957. * Fixed layout problem.
  958. - Q3IconView
  959. * Fixed a case where selected icons disappeared.
  960. - Q3ListBox
  961. * Fixed inconsistencies in selectAll() with respect to Qt 3.
  962. * Fixed possible crash after deleting items.
  963. - Q3ListView
  964. Fixed possible crash in Q3ListView after calling clear().
  965. Fixed inconsistent drag and drop behavior with respect to Qt 3.
  966. - Q3Process
  967. * Stability fixes in start().
  968. - Q3Socket
  969. * No longer (incorrectly) reports itself as non-sequential.
  970. - Q3Table
  971. * Improved behavior for combobox table elements.
  972. ****************************************************************************
  973. * Database Drivers *
  974. ****************************************************************************
  975. - Interbase driver
  976. * Fixed data truncation for 64 bit integers on 64 bit operating
  977. systems.
  978. - MySQL driver
  979. * When using MySQL 5.0.7 or larger, let the server do the text
  980. encoding conversion.
  981. * Added UNIX_SOCKET connection option.
  982. * Improved handling of TEXT fields.
  983. - OCI driver
  984. * Improved speed for meta-data retrieval.
  985. * Fixed potential crash on Windows with string OUT parameters.
  986. * Improved handling of mixed-case table and field names.
  987. - ODBC driver
  988. * Improved error reporting if driver doesn't support static result
  989. sets.
  990. * Improved support for the Sybase ODBC driver.
  991. - SQLite driver
  992. * QSqlDatabase::tables() now also returns temporary tables.
  993. * Improved handling of mixed-case field names.
  994. ****************************************************************************
  995. * QTestLib *
  996. ****************************************************************************
  997. - Added "-silent" options that outputs only test failures and warnings.
  998. - Reset failure count when re-executing a test object
  999. - Added nicer output for QRectF, QSizeF, and QPointF
  1000. ****************************************************************************
  1001. * Platform Specific Changes *
  1002. ****************************************************************************
  1003. Qtopia Core
  1004. -----------
  1005. - Fixed the -exceptions configure switch.
  1006. - Fixed a build issue preventing the use of MMX instructions when
  1007. available.
  1008. - Fixed leak of semaphore arrays during an application crash.
  1009. - Fixed cases where the wrong cursor was shown.
  1010. - Fixed cases where QWidget::normalGeometry() would return wrong value.
  1011. - Allow widgets inside QScrollArea to have a minimum size larger than the
  1012. screen size.
  1013. - Allow (0,0) as a valid size for top-level windows.
  1014. - VNC driver
  1015. * Fixed keyboard shortcut problem when using the VNC driver.
  1016. * Fixed issue with the VNC driver that prevented client applications to
  1017. connect in some cases.
  1018. * Fixed a leak of shared memory segments in the VNC driver.
  1019. * Reduced CPU consumption in the VNC driver.
  1020. * Implemented dynamic selection of the underlying driver for the VNC and
  1021. transformed screen drivers.
  1022. * Improved error handling when clients connects to the server.
  1023. - Graphics system
  1024. * Introduced new API for accelerated graphics hardware drivers.
  1025. * Implemented support for multiple screens.
  1026. * QScreen has binary incompatible changes. All existing screen drivers
  1027. must be recompiled.
  1028. * QWSWindow, QWSClient, QWSDisplay and QWSEvent have binary
  1029. incompatible changes. QWSBackingStore has been removed.
  1030. Existing code using these classes must be recompiled.
  1031. * Added support for OpenGL ES in QGLWidget.
  1032. * Implemented support for actual screen resolution in QFont.
  1033. * Removed internal limitation of 10 display servers.
  1034. * Improved memory usage when using screens with depths less than 16
  1035. bits-per-pixel.
  1036. * Fixed 16 bits-per-pixel screens on big-endian CPUs.
  1037. * Optimized CPU usage when widgets are partially hidden.
  1038. * Improved detection of 18 bits-per-pixel framebuffers.
  1039. * Improved performance when using a rotated screen with 18 or 24
  1040. bits-per-pixel depths.
  1041. * Improved speed of drawing gradients.
  1042. * Introduced the QWSWindowSurface as a technique to create
  1043. accelerated paint engines derived from QPaintEngine.
  1044. * Implemented the Qt::WA_PaintOnScreen flag for top-level widgets.
  1045. * Extended QDirectPainter to include non-blocking API and support for
  1046. overlapping windows. Existing code that subclasses QDirectPainter
  1047. must be recompiled.
  1048. * Implemented QWSEmbedWidget which enables window embedding.
  1049. * Removed hardcoded 72 DPI display limitation.
  1050. - Device handling
  1051. * QWSMouseHandler has binary incompatible changes. All existing mouse
  1052. drivers must be recompiled.
  1053. * Fixed an issue of getting delayed mouse events when using the
  1054. vr41xx driver.
  1055. * Improved event compression in the vr41xx mouse handler.
  1056. * Improved algorithm for mouse calibration which works for all
  1057. screen orientations.
  1058. * Fixed an issue causing mouse release events with wrong positions
  1059. when using a calibrated and filtered mouse handler on a rotated
  1060. screen.
  1061. * Made the tty device configurable for the Linux framebuffer screen
  1062. driver.
  1063. * Fixed a deadlock issue when using drag and drop and a calibrated
  1064. mouse handler.
  1065. * Autodetection of serial mice is turned off to avoid disrupt serial
  1066. port communication. Set QWS_MOUSE_PROTO to use a serial mouse.
  1067. - QVFb
  1068. * Fixed an issue preventing QVFb from starting on some systems.
  1069. * Added support for dual screen device emulation in QVFb.
  1070. - QCopChannel
  1071. * Added a flush() function so that the QWS socket can be flushed,
  1072. enabling applications to ensure that QCop messages are delivered.
  1073. Linux and UNIX systems
  1074. ----------------------
  1075. - Printing
  1076. * Improved CUPS support by sending PDF instead of Postscript to
  1077. CUPS on systems that have a recent CUPS library, improving the
  1078. print quality.
  1079. * Added a new and improved QPrintDialog.
  1080. * Improved font embedding on systems without FontConfig.
  1081. - QApplication
  1082. * When available, use Glib's mainloop functions to implement event
  1083. dispatching.
  1084. - QPlastiqueStyle
  1085. * Added support to enable KDE icons to be automatically used on
  1086. systems where they are available.
  1087. - QTextCodec
  1088. * Uses iconv(3) (when available) to implement the codec returned by
  1089. QTextCodec::codecForLocale(). The new codec's name is "System"
  1090. (i.e., QTextCodec::codecForLocale()->name() returns "System"
  1091. when iconv(3) support is enabled).
  1092. AIX
  1093. ---
  1094. - The makeC++SharedLib tool is deprecated; use the "-qmkshrobj" compiler
  1095. option to generate shared libraries instead.
  1096. X11
  1097. ---
  1098. - Added support to internally detect the current desktop environment.
  1099. - QAbstractItemView
  1100. * Fixed assertion caused by interrupting a drag and drop operation
  1101. with a modal dialog on X11.
  1102. * Ensured that release events dispatched when closing a dialog
  1103. with a double click, are not propagated through to the window
  1104. underneath.
  1105. - QCursor
  1106. * Fixed crash occuring when the X11 context had been released before
  1107. the cursor was destructed.
  1108. - QGLWidget
  1109. * Fixed crashes that could occur with TightVNC.
  1110. * Improved interaction between QGLWidget and the Mesa library.
  1111. - QMenu
  1112. * Made it possible for popup menus to cover the task bar on KDE.
  1113. - QMotifStyle
  1114. * Ensured that the font set on a menu item is respected.
  1115. - QX11EmbedContainer, QX11EmbedWidget
  1116. * Added missing error() functions.
  1117. - QX11PaintEngine
  1118. * Increased speed when drawing polygons with a solid pixmap brush.
  1119. * Fixed masked pixmap brushes.
  1120. * Increased QImage drawing performance.
  1121. - Motif Drop support
  1122. * Support for drops from Motif applications has been refactored and is
  1123. now working properly. QMimeData reports non-textual data offered in
  1124. Motif Drops using a MIME type of the form "x-motif-dnd/ATOM", where
  1125. ATOM is the name of the Atom offered by the Motif application.
  1126. - Font rendering
  1127. * Improved stability when rendering huge scaled fonts.
  1128. * Enabled OpenType shaping for the Latin, Cyrillic, and Greek
  1129. writing systems.
  1130. * Improved sub-pixel anti-aliasing.
  1131. * Improved font loading speed.
  1132. Mac OS X
  1133. --------
  1134. - Mac OS 10.2 support dropped.
  1135. - QuickDraw support in QPaintEngine dropped; everything folded into the
  1136. CoreGraphics support.
  1137. - All libraries in Qt are now built as frameworks when -framework mode is
  1138. selected (default) during the configuration process.
  1139. - Many accessibility improvements, including better VoiceOver support. The
  1140. following widgets have had their accessibilty updated for this release:
  1141. QSplitter, QScrollBar, QLabel, QCheckBox, QRadioButton, QTabBar,
  1142. QTabWidget, QSlider, and QScrollBar.
  1143. - Hidden files are now reported as hidden by QFileInfo, QDirModel, etc.
  1144. - Windows now have a transparent size grips, an attribute for specifying an
  1145. opaque size grip was added.
  1146. - Metrowerks generator has been removed.
  1147. - Ensured that the anti-aliasing threshold setting is followed.
  1148. - Added a standard "Minimize" menu item to Assistant's Window menu.
  1149. - The documentation now has "Xcode-compatible" links so that it can be added
  1150. into Xcode's documentation viewer. This needs to be done by the developer
  1151. as regenerating Xcode's index takes quite a long time
  1152. - QAbstractScrollArea
  1153. * Improved look and feel by aligning the scroll bars with the size
  1154. grip.
  1155. - QClipboard
  1156. * Data copied to the clipboard now stays available after the
  1157. application exits.
  1158. * Added support for the Find clipboard buffer.
  1159. * Fixed encoding of URLs passed as MIME-encoded data.
  1160. - QComboBox
  1161. * Improved the popup sizing so it's always wide enough to display its
  1162. contents.
  1163. * Improved the popup placement so it stays on screen and does not
  1164. overlap the Dock.
  1165. * The minimumSizeHint() and sizeHint() functions now honor
  1166. minimumContentsLength.
  1167. - QKeyEvent
  1168. * The text() of a QKeyEvent is filled with the control character if
  1169. the user pressed the real Control key (Meta in Qt) and another key.
  1170. This brings the behavior of Qt on Mac OS X more in line with Qt on
  1171. other platforms.
  1172. - QLibrary
  1173. * Removed the dependency on dlcompat for library loading and resolving
  1174. in favor of native calls. This means that you can unload libraries
  1175. on Mac OS X 10.4 or later, but not on 10.3 (since that uses dlcompat
  1176. itself).
  1177. - QMacStyle
  1178. * QMacStyle only uses HITheme for drawing now (no use of Appearance
  1179. Manager).
  1180. * Fixed placement of text on buttons and group boxes for non-Latin
  1181. locales.
  1182. * Fixed rendering of small and mini buttons.
  1183. * Attempt to be a bit smarter before changing a push button to bevel
  1184. button when the size gets too small.
  1185. * Draws the focus ring for line edits when they are near the "top" of
  1186. the widget hierarchy.
  1187. * Ensured that the tickmarks are drawn correctly.
  1188. * Implemented the standardIconImplementation() function.
  1189. * Fixed the look of line edits.
  1190. * "Colorless" controls now look better.
  1191. * Fixed the sort indicator.
  1192. * Improved the look of text controls, such as QTextEdit, to fit in
  1193. better with the native style.
  1194. - QMenu
  1195. * Popups no longer show up in Expose.
  1196. * Ensured that the proper PageUp and PageDown behavior are used.
  1197. - QMenuBar
  1198. * Added support for explicit merging of items using QAction::MenuRole.
  1199. * Added support for localization of merged items.
  1200. - QMessageBox
  1201. * A message box that is set to be window modal will automatically
  1202. become a sheet.
  1203. * Improved the look of the icons used to fit in with the native style.
  1204. - QPainter
  1205. * Fixed off-by-one error when drawing certain primitives.
  1206. * Fixed off-by-many error when drawing certain primitives using a
  1207. scaling matrix.
  1208. * Fixed clipping so that setting an empty clip will clip away
  1209. everything.
  1210. * Fixed changing between custom dash patterns.
  1211. * Added combinedMatrix() which contains both world and viewport/window
  1212. transformations.
  1213. * Added the setOpacity() function.
  1214. * Added MiterJoins that are compliant with SVG miter joins.
  1215. - QPainterPath
  1216. * Added the arcMoveTo() and setElementPosition() functions.
  1217. - QPixmap
  1218. * Added functions to convert to/from a CGImageRef (for CoreGraphics
  1219. interoperability).
  1220. * Fixed various Qt/Mac masking and alpha transparency issues.
  1221. - QPrinter
  1222. * Made QPrinter objects resuable.
  1223. - QProcess
  1224. * Always use UTF-8 encoding when passing commands.
  1225. - QScrollBar
  1226. * Improved handling of the case where the scrollbar is to short to
  1227. draw all its controls.
  1228. - QTextEdit
  1229. * Improved the look of the widget to fit in with the native style.
  1230. - QWidget
  1231. * All HIViewRefs inside Qt/Mac are created with the
  1232. kWindowStandardHandlerAttribute.
  1233. * Added the ability to wrap a native HIViewRef with create().
  1234. * Windows that have parents with the WindowStaysOnTopHint also get the
  1235. WindowStaysOnTopHint.
  1236. Windows
  1237. -------
  1238. - Ensured that widgets do not show themselves in a hover state if a popup
  1239. has focus.
  1240. - Fixed issues with rendering system icons on 16 bits-per-pixel displays.
  1241. - Fixed issue where fonts or colors would be reset on the application
  1242. whenever windows produced a WM_SETTINGSCHANGE event.
  1243. - Fixed a bug with Japanese input methods.
  1244. - Compile SQLite SQL plugin by default, as on all the other platforms.
  1245. - Fixed build issue when not using Precompiled Headers (PCH).
  1246. - Made Visual Studio compilers older than 2005 handle (NULL == p)
  1247. statements, where p is of QPointer type.
  1248. - Fixed HDC leak that could cause applications to slow down significantly.
  1249. - Ensured that timers with the same ID are not skipped if they go to different
  1250. HWNDs.
  1251. - Improved MIME data handling
  1252. * Resolved an issue related to drag and drop of attachments from some
  1253. applications.
  1254. * Resolved an issue where pasting HTML into some applications would
  1255. include parts of the clipboard header.
  1256. * Improved support for drag and drop of Unicode text.
  1257. * Made it possible to set an arbitrary hotspot on the drag cursor on
  1258. Windows 98/Me.
  1259. - ActiveQt
  1260. * Fixed issues with the compilation of code generated by dumpcpp.
  1261. * Made ActiveQt controls behave better when inserted into Office
  1262. applications.
  1263. * Ensured that slots and properties are generated for hidden functions and
  1264. classes.
  1265. * Ensured that the quitOnLastWindowClosed property is disabled when
  1266. QApplication runs an ActiveX server.
  1267. * Ensured that controls become active when the user clicks into a subwidget.
  1268. * Added support for CoClassAlias class information to give COM class a
  1269. different name than the C++ class.
  1270. - QAccessible
  1271. * Ensured that the application does not try to play a sound for
  1272. accessibility updates when no sound is registered.
  1273. - QAxBase
  1274. * Fixed potential issue with undefined types.
  1275. - QDir
  1276. * Fixed bug where exists() would return true for a non-existent drive
  1277. simply because the specified string used the correct syntax.
  1278. * Improved homePath() to work with Japanese user names.
  1279. - QFileDialog
  1280. * Added support for relative file paths in native dialogs.
  1281. * Enabled setLabelText() to allow context menu entries to be changed.
  1282. * Ensured that users are denied entry into directories where they
  1283. don't have execution permission.
  1284. * Disabled renaming and deleting actions for non-editable items.
  1285. * Added a message box asking the user to confirm when deleting files.
  1286. - QFileInfo
  1287. * Fixed absoluteFilePath() to return a path that begins with the
  1288. current drive label.
  1289. - QGLWidget
  1290. * Fixed usage of GL/WGL extension function pointers. They are now
  1291. correctly resolved within the context in which they are used.
  1292. - QGLColormap
  1293. * Fixed cases where the colormap was not applied correctly.
  1294. - QMenu
  1295. * Made it possible for popup menus to cover the task bar.
  1296. - QPrinter
  1297. * Added support for printers that do not have a DEVMODE.
  1298. * Fixed a drawing bug in the PDF generator on Windows 98/Me.
  1299. * Made it possible to programmatically change the number of copies
  1300. to be printed.
  1301. * Fixed possible crash when accessing non-existent printers.
  1302. - QProcess
  1303. * Fixed lock-up when writing data to a dead child process.
  1304. - QSettings
  1305. * Fixed bug causing byte arrays to be incorrectly stored on
  1306. Win95/98/Me.
  1307. * Allow keys to contain HKEY_CLASSES_ROOT and HKEY_USERS to allow all
  1308. registry keys to be read and prevent unintentional use of
  1309. HKEY_LOCAL_MACHINE.
  1310. * Fall back to the local machine handle if a key does not start with a
  1311. handle name.
  1312. - QUdpSocket
  1313. * Introduced fixes for UDP broadcasting on Windows.
  1314. - QWhatsThis
  1315. * Improved native appearance.
  1316. - QWidget
  1317. * Top-level widgets now respect the closestAcceptableSize of their
  1318. layouts.
  1319. * Ensured that getDC() always returns a valid HDC.
  1320. - QWindowsStyle
  1321. * We no longer draw splitter handles in Windows style. This resolves
  1322. an inconsistency with XP style, so that the two styles can use the
  1323. same layout interchangeably. Note that it is fully possible to style
  1324. splitter handles (if a custom style or handle is required) using
  1325. style sheets.
  1326. * Disabled comboboxes now have the same background color as disabled
  1327. line edits.
  1328. - QWindowsXPStyle
  1329. * Made QPushButton look more native when pressed.
  1330. * Improved the look of checked tool buttons.
  1331. * Defined several values that are not present in MinGW's header files.
  1332. ****************************************************************************
  1333. * Significant Documentation Changes *
  1334. ****************************************************************************
  1335. - Updated information about the mailing list to be used for porting issues
  1336. (qt-interest).
  1337. - Demos / Examples
  1338. * Added a new directory containing desktop examples and moved the
  1339. Screenshot example into it.
  1340. * Added a new Chat client network example which uses QUdpSocket to
  1341. broadcast on all QNetworkInterface's interfaces to discover its
  1342. peers.
  1343. * The Spreadsheet demo now uses the QItemDelegate, QCompleter, and
  1344. QDateTimeEdit with calendar popup.
  1345. * An OpenGL button is added to some of the demos to toggle usage of
  1346. the OpenGL paint engine.
  1347. * Fixed crash resulting from incorrect painter usage in the Image
  1348. Composition example
  1349. ****************************************************************************
  1350. * Tools *
  1351. ****************************************************************************
  1352. Assistant
  1353. ---------
  1354. - Middle clicking on links will open up new tabs.
  1355. - Added "Find as you type" feature to search documentation pages.
  1356. - Added "Sync with Table of Contents" feature to select the current page in
  1357. the contents.
  1358. - Fixed issue where activating a context menu over a link would cause the
  1359. link to be activated.
  1360. - Provides a default window title when not specified in a profile.
  1361. - Fixed JPEG viewing support for static builds.
  1362. - Fixed crash that could occur when opening Assistant with old and invalid
  1363. settings.
  1364. - Fixed display of Unicode text in the About dialog.
  1365. Designer
  1366. --------
  1367. - Added QWidget and the new widgets in this release to Designer's widget
  1368. box.
  1369. - Updated the dialog templates to use the new QDialogButtonBox class.
  1370. - Backup files created by Designer no longer overwrite existing files.
  1371. - Promoted widgets inherit the task menu items of the base class.
  1372. - Enums are no longer ordered alphabetically in the property editor.
  1373. - Fixed issue where shortcuts could be corrupted in certain situations.
  1374. - Line endings in .ui files now match the standard line endings for the
  1375. platform the files are created on.
  1376. - Ensured that a warning is displayed whenever duplicate connections are
  1377. made in the connections editor.
  1378. - Added shortcuts for the "Bring to Front" and "Send to Back" form editor
  1379. actions.
  1380. - Added new 22 x 22 icons.
  1381. - Fixed selection of dock widgets in loaded forms.
  1382. - Made QWidget::windowOpacity a designable property.
  1383. - Numerous improvements and fixes to the action and property editors.
  1384. - Windows only
  1385. * The default mode is Docked Window.
  1386. - Mac OS X only
  1387. * Preview of widgets is no longer modal.
  1388. * Passing really long relative paths into the resource will no longer
  1389. cause a crash.
  1390. Linguist
  1391. --------
  1392. - Added a new "Check for place markers" validation feature.
  1393. - Added the "Search And Translate" feature.
  1394. - Added the "Batch translation" feature.
  1395. - Added support for editing plural forms.
  1396. - Extended the .ts file format to support target language, plural forms,
  1397. source filename, and line numbers.
  1398. - Added the "Translated Form Preview" feature.
  1399. - Added placeholders for "hidden" whitespace (i.e., tabs and newlines) in
  1400. the translation editor.
  1401. lupdate
  1402. -------
  1403. - Added the -extensions command-line option in order to recursively scan
  1404. through a large set of files with the specified extensions.
  1405. - Made lupdate verbose by default (use -silent to obtain the old behavior).
  1406. - Improved parsing of project files.
  1407. - Fixed some issues related to parsing C++ source files.
  1408. lrelease
  1409. --------
  1410. - Made lrelease verbose by default (use -silent to obtain the old behavior).
  1411. - Disabled .qm file compression by default (pass -compress to obtain the old
  1412. behavior).
  1413. moc
  1414. ---
  1415. - Fixed support for enums and flags defined in classes that are themselves
  1416. declared in namespaces.
  1417. - Added support for the -version and -help command line options (for
  1418. consistency with the other tools).
  1419. rcc
  1420. ---
  1421. - Added support for the -binary option to generate resources that are
  1422. registered at run-time.
  1423. qmake
  1424. -----
  1425. - Added support for an Objective C compiler on platforms that support it via
  1426. OBJECTIVE_SOURCES. Additionally, Objective C precompiled headers are
  1427. generated as necessary.
  1428. - Added support for a qt.conf to allow easy changing of internal target
  1429. directories in qmake.
  1430. - Added support for the recursive switch (-r) in shadow builds.
  1431. - Introduced QMAKE_CFLAGS_STATIC_LIB to allow modified flags to be
  1432. passed to temporary files when compiling a static library.
  1433. - Added a target.targets for extra qmake INSTALLS. The $files() function
  1434. is now completely consistent with wildcard matching as specified to
  1435. input file variables.
  1436. - Added QMAKE_FUNC_* variables to EXTRA_COMPILERS for late evaluation
  1437. of paths to be calculated at generation time. $$fromfile() will no
  1438. longer parse input file multiple times.
  1439. - Added support for -F arguments in LIBS line in the Xcode generator.
  1440. - $$quote() has changed to only do an explicit quote, no escape sequences
  1441. are expanded. A new function $$escape_expand() has been added to allow
  1442. expansion of escape sequences: \n, \t, etc.
  1443. - Added a $$QMAKE_HOST variable to express host information about the
  1444. machine running qmake.
  1445. - Added a $$replace() function.
  1446. - Ensured that PWD is always consulted first when attempting to resolve an
  1447. include for dependency analysis.
  1448. - Added support for UTF-8 encoded text in .pro files.
  1449. - Variables $$_PRO_FILE_ and $$_PRO_FILE_PWD_ added for features to detect
  1450. where the .pro really lives.
  1451. - Added QMAKE_FRAMEWORK_VERSION to override the version inside a .framework,
  1452. though VERSION is still the default value.
  1453. - Added support for custom bundle types on Mac OS X.
  1454. - Added support for Mac OS X resources (.rsrc) in REZ_FILES.
  1455. qt3to4
  1456. ------
  1457. - qt3to4 now appends to the log file instead of overwriting it.
  1458. - Fixed one case where qt3to4 was inserting UNIX-style line endings on
  1459. Windows.
  1460. - Added the new Q3VGroupBox and Q3HGroupBox classes to ease porting.
  1461. - Updated the porting rules for this release.
  1462. uic
  1463. ---
  1464. - Added support for more variant types: QStringList, QRectF, QSizeF,
  1465. QPointF, QUrl, QChar, qlonglong, and qulonglong.
  1466. - Fixed code generated by uic for retranslating item view widgets so that
  1467. the widgets are not cleared when they are retranslated.
  1468. - Ensured that no code is generated to translate empty strings.
  1469. uic3
  1470. ----
  1471. - Added line numbers to warnings.
  1472. - Ensured that warnings show the objectName of the widget in question.
  1473. - Added support for word wrapping in labels when converting files from uic3
  1474. format.
  1475. - Ensured that the default layouts are respected when converting files from
  1476. uic3 format.
  1477. - Ensured that double type properties are handled correctly.