1Here is a list of user-visible changes in Qt from 1.2 to 1.30. As 2usual, we fixed some bugs, made some more speedups, and improved the 3documentation. 4 5Keyboard accelerators and traversal are significantly improved. 6 7Two new extensions included with Qt 1.30. They are not part of the library: 8 9Netscape plugin support. You can now write portable Netscape plugins 10using Qt. See the qt/extensions/nsplugin directory in the distribution. 11 12The ImageIO extension library gives a framework for adding new image 13formats, including PNG and JPEG in this release. See the qt/extensions/imageio 14directory in the distribution. 15 16The OpenGL extension for Qt now resides in qt/extensions. 17 18 19**************************************************************************** 20* New classes * 21**************************************************************************** 22 23* QProgressBar displays a progress bar. 24 25* QProgressDialog uses QProgressBar to give the user feedback during long 26 operations, as well as a means of aborting. 27 28* QMovie supports animated GIFs and incremental loading of images. 29 30* QHBoxLayout and QVBoxLayout are convenience classes giving a simpler 31 interface to QBoxLayout. 32 33* QValidator provides a mechanism for validating input. 34 35 36**************************************************************************** 37* Enhancements from 1.2 to 1.30 * 38**************************************************************************** 39 40QFont now supports charsets latin1 through latin9. 41 42New command-line arguments: -style motif and -style windows are 43accepted, as well as -style=motif and -style=windows, -visual, -ncols, 44-cmap. 45 46QMultiLineEdit is usable for much bigger documents than in 1.2 47 48More sizeHint() functions added, some existing ones tweaked. 49 50Many widgets have improved look and feel, particularly changes to 51Windows GUI style to match Windows more closely. 52 53Improved Postscript output. 54 55Color handling has been improved; better 32-to-8 conversion; Qt 56prefers to use Macintosh/Netscape color cube in 8-bit mode; more and 57better dithering support. 58 59GIF and PPM support. 60 61QMessageBox has a number of new static functions to replace the 62venerable message(): information(), warning(), critical() and about(). 63 64QPopupMenu can now display icon and text in the same item. 65 66QPopupMenu::exec() to pop up a synchronous popup menu. 67 68QListBox now supports multi selection. 69 70QWidget::setBackgroundMode() gives a powerful way of managing widget 71backgrounds, to reduce flicker. 72 73QWidget::setIcon() now works under both X11 and Windows. 74 75The file dialog now remembers the previously selected directory. 76 77QApplication::setWinStyleHighlightColor() sets the highlight color in 78windows style. 79 80QApplication::setDoubleClickInterval() sets the double click timeout 81 82The layout example is new and more informative. 83 84There is a new openGL example; extension/opengl/examples/box/ shows 85how to control an openGL widget using Qt user interface components. 86 87 88**************************************************************************** 89* Changes that might affect runtime behavior * 90**************************************************************************** 91 92Tab/Shift-Tab handling has been improved a lot; this means that 93widgets which couldn't get keyboard focus before now can. 94 95Some widgets (buttons, tab bars, tab dialogs) semi-automatically set 96up keyboard accelerators. ( setText("E&xit") will give Alt-X as an 97accelerator.) In some very rare cases, this will cause changes of 98behaviour. 99 100The QColor::light() function now works, and anything which relied on 101its buggy behaviour might be a little darker than expected until changed, 102usually just recompiling (the default argument has also changed). 103 104The colors used have been tuned a bit; pixmaps that "know" the RGB 105values of colorGroup().background() and the like will look just a tiny 106bit wrong. 107 108QApplication calls setlocale to the local environment, except for 109LC_NUMERIC which is set to the C locale. This means that input/output 110of floating point numbers will always use '.' as the decimal separator, 111while all other locale dependant operations will use the default locale. 112 113 114**************************************************************************** 115* Changes that might generate compile errors * 116* when compiling old code * 117**************************************************************************** 118 119none 120 121**************************************************************************** 122* Type changes that might generate warnings: * 123**************************************************************************** 124 125none 126 127**************************************************************************** 128* Deprecated functions * 129**************************************************************************** 130 131QApplication::setColorMode() 132 - see QApplication::setColorSpec(int) 133QRegion::xor() 134 - see QRegion::eor() 135QMessageBox::message() 136 - see QMessageBox::information/warning/critical 137QMultiLineEdit::getCursorPosition() 138 - see QMultiLineEdit::cursorPosition() 139QTabDialog::setOKButton() 140 - see QTabDialog::setOkButton() 141 142**************************************************************************** 143* New public/protected functions added to existing classes * 144**************************************************************************** 145 146QAccel::repairEventFilter() 147QApplication::activeModalWidget() 148QApplication::activePopupWidget() 149QApplication::allWidgets() 150QApplication::doubleClickInterval() 151QApplication::hasGlobalMouseTracking() 152QApplication::processEvents(int) 153QApplication::processOneEvent() 154QApplication::setDoubleClickInterval(int) 155QApplication::setGlobalMouseTracking(bool) 156QApplication::setWinStyleHighlightColor(QColor const &) 157QApplication::winStyleHighlightColor() 158QApplication::x11ProcessEvent(_XEvent *) 159QBoxLayout::className() const 160QButton::accel() const 161QButton::animateClick() 162QButton::enabledChange(bool) 163QButton::setAccel(int) 164QComboBox::clearValidator() 165QComboBox::setStyle(GUIStyle) 166QComboBox::setValidator(QValidator *) 167QComboBox::validator() const 168QDir::convertSeparators(char const *) 169QFrame::sizeHint() const 170QGridLayout::addColSpacing(int, int) 171QGridLayout::addRowSpacing(int, int) 172QGridLayout::className() const 173QImage::convertDepth(int, int) const 174QImage::create(QSize const &, int, int, QImage::Endian) 175QImage::createAlphaMask(int) const 176QImage::inputFormats() 177QImage::outputFormats() 178QImage::pixel(int, int) const 179QImage::pixelIndex(int, int) const 180QImage::setPixel(int, int, unsigned int) 181QImage::valid(int, int) const 182QImageIO::inputFormats() 183QImageIO::outputFormats() 184QLabel::movie() const 185QLabel::setMovie(QMovie const &) 186QLayout::className() const 187QLineEdit::clearValidator() 188QLineEdit::setValidator(QValidator *) 189QLineEdit::sizeHint() const 190QLineEdit::validator() const 191QListBox::clearSelection() 192QListBox::focusOutEvent(QFocusEvent *) 193QListBox::highlighted(char const *) 194QListBox::isMultiSelection() const 195QListBox::isSelected(int) const 196QListBox::selected(char const *) 197QListBox::selectionChanged() 198QListBox::setMultiSelection(bool) 199QListBox::setSelected(int, bool) 200QListBox::toggleCurrentItem() 201QMenuBar::heightForWidth(int) const 202QMenuBar::leaveEvent(QEvent *) 203QMenuBar::separator() const 204QMenuBar::setSeparator(QMenuBar::Separator) 205QMenuData::changeItem(QPixmap const &, char const *, int) 206QMenuData::insertItem(QPixmap const &, char const *, QObject const *, char const *, int) 207QMenuData::insertItem(QPixmap const &, char const *, QPopupMenu *, int, int) 208QMenuData::insertItem(QPixmap const &, char const *, int, int) 209QMessageBox::about(QWidget *, char const *, char const *) 210QMessageBox::aboutQt(QWidget *, char const *) 211QMessageBox::buttonText(int) const 212QMessageBox::critical(QWidget *, char const *, char const *, char const *, char const *, char const *, int, int) 213QMessageBox::critical(QWidget *, char const *, char const *, int, int, int) 214QMessageBox::icon() const 215QMessageBox::iconPixmap() const 216QMessageBox::information(QWidget *, char const *, char const *, char const *, char const *, char const *, int, int) 217QMessageBox::information(QWidget *, char const *, char const *, int, int, int) 218QMessageBox::setButtonText(int, char const *) 219QMessageBox::setIcon(QMessageBox::Icon) 220QMessageBox::setIconPixmap(QPixmap const &) 221QMessageBox::setStyle(GUIStyle) 222QMessageBox::standardIcon(QMessageBox::Icon, GUIStyle) 223QMessageBox::warning(QWidget *, char const *, char const *, char const *, char const *, char const *, int, int) 224QMessageBox::warning(QWidget *, char const *, char const *, int, int, int) 225QMultiLineEdit::cursorPoint() const 226QMultiLineEdit::cursorPosition(int *, int *) const 227QMultiLineEdit::getMarkedRegion(int *, int *, int *, int *) const 228QPainter::drawPoints(QPointArray const &, int, int) 229QPainter::drawWinFocusRect( int, int, int, int, const QColor & ) 230QPalette::detach() 231QPicture::data() const 232QPicture::isNull() const 233QPicture::setData(char const *, unsigned int) 234QPicture::size() const 235QPixmap::convertFromImage(QImage const &, int) 236QPixmap::load(char const *, char const *, int) 237QPixmap::loadFromData(unsigned char const *, unsigned int, char const *, int) 238QPopupMenu::exec() 239QPopupMenu::setActiveItem(int) 240QRegion::eor(QRegion const &) const 241QSize::transpose() 242QTabBar::setCurrentTab(QTab *) 243QTabBar::setCurrentTab(int) 244QTabBar::setShape(QTabBar::Shape) 245QTabBar::shape() const 246QTabBar::tab(int) 247QTabBar::tabList() 248QTabDialog::addTab(QWidget *, QTab *) 249QTabDialog::hasOkButton() const 250QTabDialog::selected(char const *) 251QTabDialog::setTabBar(QTabBar *) 252QTabDialog::showPage(QWidget *) 253QTabDialog::styleChange(GUIStyle) 254QTabDialog::tabBar() const 255QTabDialog::tabLabel(QWidget *) 256QTableView::minViewX() const 257QTableView::minViewY() const 258QTableView::updateTableSize() 259QToolTip::font() 260QToolTip::palette() 261QToolTip::setFont(QFont const &) 262QToolTip::setPalette(QPalette const &) 263QWidget::backgroundMode() const 264QWidget::create(unsigned int, bool, bool) 265QWidget::destroy(bool, bool) 266QWidget::focusProxy() const 267QWidget::focusWidget() const 268QWidget::isVisibleToTLW() const 269QWidget::setBackgroundMode(QWidget::BackgroundMode) 270QWidget::setFixedHeight(int) 271QWidget::setFixedWidth(int) 272QWidget::setFocusProxy(QWidget *) 273QWidget::setMaximumHeight(int) 274QWidget::setMaximumWidth(int) 275QWidget::setMinimumHeight(int) 276QWidget::setMinimumWidth(int) 277QWidget::setTabOrder(QWidget *, QWidget *) 278QWidget::update(QRect const &) 279