📄 changes22.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Qt Toolkit - Change Notes for Qt 2.2</title><style type="text/css"><!--h3.fn,span.fn { margin-left: 1cm; text-indent: -1cm; }a:link { color: #004faf; text-decoration: none }a:visited { color: #672967; text-decoration: none }body { background: white; color: black; }--></style></head><body bgcolor="#ffffff"><p><table width="100%"><tr><td><a href="index.html"><img width="100" height="100" src="qtlogo.png"alt="Home" border="0"><img width="100"height="100" src="face.png" alt="Home" border="0"></a><td valign="top"><div align="right"><img src="dochead.png" width="472" height="27"><br><a href="classes.html"><b>Classes</b></a>- <a href="annotated.html">Annotated</a>- <a href="hierarchy.html">Tree</a>- <a href="functions.html">Functions</a>- <a href="index.html">Home</a>- <a href="topicals.html"><b>Structure</b> <font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular" align="center" size=32>Qte</font></a></div></table><h1 align="center"> Change Notes for Qt 2.2</h1><br clear="all"><h2>New major features in existing classes</h2><ul><li>QApplication: - "global strut", an adjustable minimum size for interactable control elements like the entries in a listbox, useful for touch-screens. Popup window effects ( setEffectEnabled() ) and more threading support ( lock(), unlock(), locked() ).<li>QCheckBox: - "tristate" is now a property.<li>QClipboard: - text() supports subtypes.<li>QComboBox: - "editable" is now a property that is changeable at runtime<li>QDialog: - support for extensible dialogs ("More...") with setExtension() and setOrientation(). Optional size grip.<li>QFont: - new functions styleStrategy() and setStyleHint()<li>QIconSet: - new constructor that takes both a small and a large pixmap<li>QLabel: - support for scaled pixmap contents, "pixmap" as property<li>QLayout: - improved flexibility with setEnabled(), access to the layouted menu bar with menuBar().<li>QListView: - "showSortIndicator" as property. New function QListViewItem::moveItem() to simplify drag and drop.<li>QMovie: - new functions pushSpace(), pushData(), frameImage(), support for the MNG animation format.<li>QMultiLineEdit: - new functions pasteSubType() and copyAvailable()<li>QObject: - new function normalizeSignalSlot()<li>QPicture: - streaming to and from QDataStream<li>QPopupMenu: - new signal aboutToHide()<li>QRegExp: - new functions setPattern() and find()<li>QRegion: - new function setRects()<li>QScrollView: - new property "staticBackground" to define a pixmap background that does not scroll with the contents.<li>QStatusBar: - "sizeGripEnabled" as property<li>QStyle: - themable menu bars with drawMenuBarItem(). New functions buttonMargin(), toolBarHandleExtent(), sliderThickness()<li>QTabWidget: - new functions currentPageIndex(), setCurrentPage(), new signal currentChanged(). Similar extensions to QTabBar and QTabDialog<li>QVariant: - new subtype QSizePolicy. Necessary for QWidget's new sizePolicy property.<li>QWidget: - new properties "sizePolicy", "ownPalette", "ownFont", "ownCursor" and "hidden". The size policy is now adjustable at runtime with setSizePolicy(). Added convenience slot setDisabled(). Fast geometry mapping functions mapTo() and mapFrom(). On X11, support for a new background mode X11ParentRelative.<li>QWizard: - runtime changeable titles with setTitle(), new signal selected()<li>QWorkspace: - support for more widget flags like WType_Tool. Titlebar blending effects on MS-Windows 98/2000.<p></ul><h2>New Classes</h2><ul><li>QAction - Abstracts a user interface action that can appear both in menus and tool bars. Changing an action's properties, for example using setEnabled(),setOn() or setText(), immediately shows up in all representations.<li>QActionGroup - Combines actions to a group. An action group makes it easier to deal with groups of actions. It allows to add, remove or activate its children with a single call and provides "one of many" semantics for toggle actions.<li>QDial - A rounded rangecontrol (like a speedometer or potentiometer). Both API- and UI-wise the dial is very similar to a QSlider.<li>QMotifPlusStyle - This class implements a Motif-ish look and feel with more sophisticated bevelling as used by the GIMP toolkit (GTK) for Unix/X11.<li>QMutex: - Provides access serialisation between threads.<li>QSemaphore: - A robust integer semaphore. another way of thread serialisation.<li>QThread - Baseclass for platform-independent threads, and a thread safe mechanism for posting events from threads other than the main event loop thread.<li>QWaitCondition - Allows threads to wait/wake on conditions (POSIX condition variables)<p></ul><p><h2>New Modules</h2><p>Modules are major new large components not necessary useful for allQt-based applications. Note that some modules are included in theQt Enterprise Edition but not the Qt Professional Edition.<p><ul> <li> <a href=table.html>Qt Table Module <li> <a href=canvas.html>Qt Canvas Module <li> <a href=network.html>Qt Network Module <li> <a href=xml.html>Qt XML Module</ul><p><address><hr><div align="center"><table width="100%" cellspacing="0" border="0"><tr><td>Copyright
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -