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