1Qt 3.0 beta 5 is not binary compatible with beta 4; any programs 2linked against beta 4 must be recompiled. 3 4Below you will find a description of general changes in the Qt 5Library and Qt Designer followed by a detailed list of changes in the 6API. 7 8 9The Qt Library 10======================================== 11 12Documentation 13------------- 14 15The extensive revision of Qt classes' documentation is complete. The 16front page of the Qt documentation (index.html) has been redesigned 17to provide better access to other documentation than class 18documentation. 19 20OpenGL Module 21------------- 22 23Qt beta 5 provides some fixes which will make rendering GL widgets to 24pixmaps work on a wider range of X servers. 25 26QDateTimeEdit 27------------- 28 29The QDateTimeEdit, QDateEdit and QTimeEdit widgets have been moved 30from the SQL module to the Qt core widget set. All users of Qt can 31now use these widgets. 32 33 34Qt Designer 35======================================== 36 37 - Some bugs related to the .ui.h feature were fixed. 38 39 - The generation of code related to QSqlCursor has been fixed. 40 41 - When removing a slot implementation from the Qt Designer 42 interface, do not accidentally remove a preceding comment. 43 44 - Improved the C++ code indenter in the editor for some C++ 45 constructs, including try-catch blocks. 46 47 48Qt Linguist 49======================================== 50 51 - Fixed problem with loading phrase books containing non-ASCII 52 characters. 53 54 55Qt Classes 56======================================== 57 58QApplication 59------------ 60 61 - Fixed a clipboard bug related to drag-and-drop on X11. 62 63QColorDialog 64------------ 65 66 - Fixed repaint problem. 67 68QComboBox 69--------- 70 71 - Never inserts empty strings in the list. 72 - Use the drop-down listbox's size hint in the combobox if the 73 listbox has been set manually. 74 75QComponentInterface 76------------------- 77 78 - This class has been renamed QComponentInformationInterface. 79 80QComponentServerInterface 81------------------------- 82 83 - This class has been renamed QComponentRegistrationInterface. 84 85QDataBrowser 86------------ 87 88 - The setCursor() function is obsolete and has been removed due to 89 problems with some compilers. Use setSqlCursor() instead. 90 91QDataTable 92---------- 93 94 - Fixed a rare crash when the database is deleted while its popup is 95 still open. 96 - Made setColumnWidth() a public slot like in the base class. 97 - The setCursor() function is obsolete and has been removed due to 98 problems with some compilers. Use setSqlCursor() instead. 99 100QDateTimeEdit 101------------- 102 103 - Fixed the minimumSizeHint() for better behavior in a layout. 104 105QDom 106---- 107 108 - Added a sanity check. 109 110QFileDialog 111----------- 112 113 - Fixed a crash in MotifPlus style. 114 - Use the existing file-icon provider rather than the default 115 Windows one if one is set. 116 117QFont 118----- 119 120 - Fixed background color for more than 8 bits per channel. 121 - Added the font's pixel size to the value returned by key(). 122 123QFtp 124---- 125 126 - Correcty sets the default password to "anonymous". 127 128QGL 129--- 130 131 - Added robustness on X11 for invalid pixmap parameters. 132 133QImage 134------ 135 136 - Fixed loading of BGR BMP files. 137 - Changed the signature of the constructor to accept "const char * 138 const *" objects without a cast. 139 140QLatin1Codec 141------------ 142 143 - Provide the missing mimeName(). 144 145QLibrary 146-------- 147 148 - Construct Unix-specific filenames correctly. 149 150QLineEdit 151--------- 152 153 - Fixed offset for right-aligned text. 154 155QListView 156--------- 157 158 - Fixed a bug with in-place renaming. 159 160QMime 161----- 162 163 - Fixed infinite loop when searching for a mime-source. 164 165QMutex 166------ 167 168 - Unlock the Qt library mutex when enter_loop() is called the first 169 time, rather than when exec() is called. A programmer might call 170 QDialog::exec() and never QApplication::exec(), and then she will 171 wait for the mutex. 172 173QPixmap 174------- 175 176 - Do transformations correctly on big-endian systems. 177 178QPrinter 179-------- 180 181 - Respect the PRINTER environment variable on X11, as stated in the 182 documentation. 183 - Work around a display-context bug on Windows 95 and 98. 184 185QProcess 186-------- 187 188New functions: 189 void clearArguments(); 190 int communication() const; 191 void setCommunication( int c ); 192 193QProgressBar 194------------ 195 196 - Fixed bug in repainting when a background pixmap is set. 197 198QPtrList 199-------- 200 201 - Reverted a semantics change introduced in beta 4 when deleting the 202 current item. 203 204QRegExp 205------- 206 207 - Fixed matchedLength() when used with exactMatch(). This bug 208 affected QRegExpValidator. 209 210QRichText 211--------- 212 213 - Added support for "color" attribute in <hr> tag. 214 - Fixed selectedText(). 215 216QSqlCursor 217---------- 218 219 - Don't generate calculated fields. 220 221QStatusBar 222---------- 223 224 - Made addWidget() and removeWidget() virtual. 225 226QSpinBox 227-------- 228 229 - Fixed the minimumSizeHint() for better behavior in a layout. 230 231QStyle 232------ 233 234 - Allow separator custom menu items to use a different size than 235 specified by the style. 236 237Qt 238-- 239 240 - Renamed Qt::Top, Qt::Bottom, Qt::Left, Qt::Right to Qt::DockTop, 241 Qt::DockBottom, Qt::DockLeft, Qt::DockRight. 242 243QTable 244------ 245 246 - Fixed currentChanged() and valueChanged() emits. 247 248QTextEdit 249--------- 250 251 - Moved eventFilter() from the public slots section to the public 252 section of the class definition. 253 - Reformat after changing tab-stop size. 254 - Implemented undo for clear(). 255 256New function: 257 void zoomTo( int size ); 258 259QTextIStream 260------------ 261 262 - Fixed QTextIStream with a QString. 263 264QToolBar 265-------- 266 267 - Fall back to text property in extension popup if no pixmap label 268 has been set. 269 - Made mainWindow() const. 270 271QToolButton 272----------- 273 274 - Fixed the minimumSizeHint() for better behavior in a layout. 275 276QToolTip 277-------- 278 279 - Fixed the transparent tooltip effect a la Windows 2000. 280 281QUrl 282---- 283 284 - Fixed the return value of QUrl::dirPath() on Windows. 285 - Set ref to nothing when merging URLs. 286 287QUrlOperator 288------------ 289 290 - Added a default parameter for single copy to specify the "to" file 291 name and not just the file path. 292 293New function: 294 QPtrList<QNetworkOperation> copy( const�QString& from, 295 const�QString& to,�bool�move,�bool�toPath�); 296 297QValueList 298---------- 299 300 - Added a return value to remove(), as stated in the documentation. 301 302QWidget 303------- 304 305 - Fixed a bug in QPainter on X11 that caused a crash when paint 306 events were dispatched from other paint events. 307 - Fixed showMaximized() and deferred map handling. 308 - When specifying WDestructiveClose as a widget flag, 309 QWidget::close() does not immediately delete the widget anymore, but 310 calles QObject::deferredDelete() 311 312 313QWorkspace 314---------- 315 316 - Fixed cascade(). 317