1Qt 3.0 Beta6 is not binary compatible with Beta5; any programs linked 2against Beta5 must be recompiled. 3 4Below you will find a description of general changes in the Qt 5Library, Qt Designer and Qt Assistant. Followed by a detailed list of 6changes in the API. 7 8 9The Qt Library 10======================================== 11 12QCom postponed 13-------------- 14 15Previous Qt 3.0 betas introduced a module called QCom that provides a 16COM-like component system. The feedback we received on this module 17during the 3.0 beta phase has been mixed. Many users think this module 18lacks the intuitiveness and compactness that they have learned to 19expect from a Qt API. Therefore, we have made the difficult decision 20to withdraw the QCom API from the Qt 3.0 release. We will continue to 21develop this API until it is evolved enough for our customers, and 22will include the improved version in a later release. 23 24We apologize for any inconvenience the QCom API change has 25caused. This decision was made as part of our ongoing efforts to 26maintain the soundness and quality of Qt. 27 28Please note that the new plugin functionality in 3.0 will still be 29provided. This includes using custom widgets in Qt Designer, as well 30as runtime addition of styles, codecs, SQL drivers, and image format 31handlers. This functionality is now available through a substantially 32simplified API. 33 34Also also note that it will still be convenient to add custom plugin 35capabilities to Qt 3.0 applications, since the new QLibrary class will 36still be available. This class takes care of the low-level, 37platform-dependent issues regarding loading of DLLs and obtaining 38pointers to the functions exported by the DLLs. 39 40 41Qt Designer 42======================================== 43 44 - Improvements to the Designer reference manual. 45 46 - Improved the C++ code indenter in the editor for numbers and 47 handling of parenthesis. 48 49 50Qt Assistant 51======================================== 52 53 - Added a context menu with common commands. 54 55 - Allow multiple windows to be opened and added the common shortcut 56 that Shift+Click on a link opens the link in a new window. 57 58 59Qt Functions 60======================================== 61 62QAccel 63------ 64 65 - Try harder to ensure that accelerators continue to work when a top 66 level widget is reparented into another window. 67 68QColor 69----- 70 71 - X11 only: better heuristic to decide if you use black or white when a 72 color could not be allocated. 73 - win32 only: improve color allocation on 8bit displays, e.g. when 74 using a terminal server. 75 76QComboBox 77--------- 78 79 - Added a new function to be able to set a custom line edit. 80 81New function: 82 virtual void setLineEdit( QLineEdit *edit ); 83 84QCString 85-------- 86 87 - Implemented a dummy out-of-line destructor for QCString to help the 88 compiler to optimize the number of conflicts as the location of a vtable 89 is now known. 90 91QCursor 92------- 93 94 - win32 only: Added a constructor that takes a platform specific handle. 95 96New function: 97 QCursor( HCURSOR ); (win32 only) 98 99QDateTime and QDateTimeEdit 100--------------------------- 101 102 - win32 only: better handling of localization settings. 103 104QDockWindow 105----------- 106 107 - Remeber last size of an undocked window, so when it is docked and 108 undocked again, use this size again. 109 110QDom 111---- 112 113 - Fixed an infinite loop in QDomDocument::toString(). 114 115QFileDialog 116----------- 117 118 - Improved handling of "~" to make it work as a directory. 119 120QFileInfo 121--------- 122 123 - win32 only: permissions respects the read-only attribute now. 124 125QIconView 126--------- 127 128 - Added a function to find out whether an item in a view is currently 129 being renamed. 130 - Fixed a crash. 131 132New function: 133 bool isRenaming() const; 134 135QInputDialog 136------------ 137 138 - Improved the handling of double input formats. 139 140QListView 141--------- 142 143 - Added a function to find out whether an item in a view is currently 144 being renamed. 145 - Fixed a possible infinite loop. 146 - Improved spacing handling for columns that can show a sort indicator. 147 148New function: 149 bool isRenaming() const; 150 151QMainWindow 152----------- 153 154 - Make menuAboutToShow() protected to allow customized dock menus. 155 - Fixed spacing problem for menu bars. 156 157QMap 158---- 159 160 - Fixed infinite looping in count( const Key& k ). 161 162QObject 163------- 164 165 - The slot deferredDelete() was renamed to deleteLater() to be more 166 intuitive. Code that used deferredDelete() has to be adjusted for the 167 new name. 168 169New function: 170 void deleteLater(); 171 172QPainter 173-------- 174 175 - Fixed bounding rectangle when printing richtext. 176 - Restore brush origin in QPainter::restore(). 177 178QPixmap 179------- 180 181 - X11 with render extension only: better support for alpha blending: 182 - QPixmap::xForm() keeps now the alpha channel information 183 - alpha channel information is kept when copying QPixamps 184 - alpha blending works with QMovie 185 - tiling pixmaps with alpha channel works now 186 187QPrinter 188-------- 189 190 - Unix only: fixed dashed line drawing when using high resolution 191 printing. 192 - Better printing detection on Irix. 193 194QRadioButton 195------------ 196 197 - Fixed focus problem for radio buttons in a button group. 198 199QSqlCursor 200---------- 201 202 - Fixed primeInsert() to work if the primary key of the edit buffer has 203 changed. 204 - Changing primary index keys now also works if the cursor's position 205 moved in the meantime. 206 207QStyle 208------ 209 210 - Added a base value (CC_CustomBase) for custom defined primitives, 211 controls, etc. -- this allows custom widgets to use the new style 212 engine. 213 - Fixed spacing problem for custom menu items. 214 - Improved the look of the Motif plus and the SGI style. 215 216QTable 217------ 218 219 - Fixed a crash when drag source is the current table editor widget. 220 - Fixed a bug that prevented having different colors in different cells. 221 222QTabletEvent 223------------ 224 225 - Improved Watcom tablet support to allow multiple devices to be used. 226 227QTextEdit 228--------- 229 230 - Better handling for font sizes in the font tag. 231 - Parse the qt tag again. 232 - Fixed text() for read-only documents. 233 - Improved right mouse button menu handling. 234 - New function to pass the position to the createPopupMenu() function for 235 improved flexibility. 236 237New function: 238 virtual QPopupMenu *createPopupMenu( const QPoint& pos ); 239 240QThread 241------- 242 243 - Unix only: Make sure that the seconds and nano-seconds in the sleep 244 functions are within the limits. 245 246QUrlInfo 247-------- 248 249 - Added the concept of invalid QUrlInfo objects. This is useful in 250 conjunction with QUrlOperator::info(). 251 252New function: 253 bool isValid() const; 254 255QWizard 256------- 257 258 - Set the previous pages nextEnabled to TRUE if we add a page to the end 259 of a wizard. 260 261QWMatrix 262-------- 263 264 - mapRect() returns always a valid QRect now. 265 266QWorkspace 267---------- 268 269 - Update the titlebar when toggling shaded/non-shaded. 270 - Update the titlebar to be deactivated when the application's activation 271 status changes. 272 - Improve placement of document windows. 273