• 13432阅读
  • 6回复

Qt 4.3 发布了 [复制链接]

上一主题 下一主题
离线amidiot
 
只看楼主 倒序阅读 楼主  发表于: 2007-05-30
详情参见:
http://trolltech.com/company/newsroom/announcements/press.2007-05-29.7500695844

主要更新如下:
    * Enhanced support for native Windows Vista™ applications

    * QtScript: An integrated ECMA standard scripting engine

    * Added support for Secure Socket Layer (SSL) communications

    * Faster, higher quality 3D graphics rendering with an improved OpenGL® engine

    * A more flexible Main Window architecture

    * Ability to both render and generate SVG vector graphics images with new SVG file generation

    * Improvements to Qtopia Core, including a new font system and enhanced support for OpenGL ES
离线chai2010

只看该作者 1楼 发表于: 2007-05-31
我现在装了rc1,好像多出了个preferences,里面多了个语言选择.
是不是Qt的这些工具要出中文版了?
离线XChinux

只看该作者 2楼 发表于: 2007-06-04
加入了QtScript和SSL是这好东西。
还发现加入了QWizard/QWizardPage类,这样用来构造向导式的应用就方便得多了。
二笔 openSUSE Vim N9 BB10 XChinux@163.com 网易博客 腾讯微博
承接C++/Qt、Qt UI界面、PHP及预算报销系统开发业务
离线aaniao999

只看该作者 3楼 发表于: 2007-06-05
哎,本来说我也来说下,结果被你们抢现了。
我要说的好处是现在FC下的QT4。3。0把显示不了中文的问题给解决了。
我现在FC7,QT4。3。0,今天突然发现运行的程序终于出现了中文。。。不会再出现以前的[]了
就是字体很难看,全是小楷。。。。。
离线aaniao999

只看该作者 4楼 发表于: 2007-06-05
算了,刚好,看见WHAT'S NEW IN 4.3.0 补充进来,懒得翻assistant的直接看看,z只是没图片


What's New in Qt 4.3

Qt 4.3 provides many improvements and enhancements over the previous releases in the Qt 4 series. This documents covers the most important features in this release, separated by category.
A comprehensive list of changes between Qt 4.2 and Qt 4.3 is included in the changes-4.3.0 file provided with Qt, and is also available online.
A list of other Qt 4 features can be found on the What's New in Qt 4 page.
Highlights
Main Window Styles
QtScript - Application Scripting with ECMAScript
Improved Graphics Support
New Widgets and Desktop Integration Enhancements
Qt Designer Improvements
Extended and Improved Infrastructure
Qtopia Core
Main Window Styles
The main window classes now provide support for different main window paradigms, such as those found in Visual Studio or KDevelop.
Dock widgets occupying the same area can now be arranged in horizontal, vertical or collapsible tabs. Collapsible tabs are oriented according to the location of dock widgets around the main window's central area. suitable



API improvements to QDockWidget enable dock widgets to be given custom title bars and window styles, and also include support for vertical title bars.

Additionally, support for animations has been extended to tool bars, resulting in more sophisticated effects when tool bars and dock widgets are rearranged. See the Main Window demonstration for an extensive tour of these new features.
QtScript - Application Scripting with ECMAScript
This release introduces the QtScript module, providing an script engine for the ECMAScript language, based on the ECMA-262 standard, that is designed to enable easier integration of scripting facilities into end-user applications.

Scripts access application functionality via QObjects that are specifically created and exposed by each application. Information about the available child objects, properties, signals and slots is provided by Qt's object model. This means that, in many cases, script-enabling an application requires little effort on the part of the developer.

A set of examples are included to show how classes and functions written in C++ can be exposed to the script engine, including a port of the Calculator example which shows how a QtScript can be used with a user interface created with Qt Designer.
Improved Graphics Support
To improve graphics performance on Windows, this release includes an experimental Direct3D paint engine to provide native hardware acceleration on Windows systems with suitable graphics hardware. Although we have conducted internal testing with a selection of graphics cards, we cannot guarantee that this feature will work correctly with all hardware or drivers. Please report feedback on this feature via the Task Tracker.
Qt's interoperability with the Scalable Vector Graphics (SVG) file format has been improved by the introduction of the QSvgGenerator class, a paint device that can be used to save Qt rendering operations in the form of an SVG drawing. This class can be used alongside the existing QSvgWidget and QSvgRenderer classes to provide full input/output support for vector graphics.
The OpenGL paint engine has been heavily improved to take advantage of new features in modern graphics hardware. Through the extensive usage of fragment programs, users with suitable graphics hardware can expect to experience much faster and higher quality rendering when OpenGL is used. Support for an additional anti-aliasing mode for OpenGL allows developers to choose between high quality rendering or speed when older or less-capable hardware is used.
The QTransform class adds support for arbitrary matrix operations on two-dimensional coordinates, allowing perspective transformations to be applied to 2D graphics.
Support for set operations on paths has been added to QPainterPath, improving support for clipping and animations.
An object bounding mode for gradients that enables them to be defined in terms of the bounding rectangle of the objects they are applied to.
New Widgets and Desktop Integration Enhancements
Applications running on Windows Vista automatically support animations and other Vista-related enhancements through the use of the new QWindowsVistaStyle class, providing a widget style that gives Qt applications a native look and feel on Windows Vista.
Qt 4.3 also provides a number of new and redesigned widgets, including the QWizard class which supports application wizard functionality in a variety of native styles, including one for Windows Vista applications.





Unified toolbar support on Mac OS X improves the look and feel of applications by blending adjacent toolbars and window title bars together.

Qt's range of model/view classes has been expanded to include the QColumnView class, an animated list view similar to that found on small-screen devices.
The QMdiArea class provides an Multiple Document Interface (MDI) widget that is intended to provide a more consistent API for developers to use and more predictable behavior for users. The API has been designed to be very similar to that provided by QWorkspace in order to make porting between the two widgets a straightforward task.

On X11, QFileDialog has been optimized to perform better with directories containing large numbers of files, automatically updates when files are added or removed, and has a brand new look and feel.
A platform-independent way to notify users about activity in a window is provided by the QApplication::alert() function. This alerts the user by using the appropriate notification mechanism for their chosen platform and environment.
QWidget now provides a locale property that can be used to give individual windows, dialogs and widgets different look and feel different languages and regions.
Almost all standard widgets can be styled with Qt Style Sheets, making it easier to customize the appearance of applications.
An enhanced layout system accommodates many special cases for Mac OS X, enabling Mac OS X style to provide a faithful Mac look and feel.
Qt Designer Improvements
Qt Designer has seen a number of improvements since Qt 4.2, many of which are focused on making the application easier to use. Other improvements track other additions and new features in Qt, such as new widgets and support for application scripting.
Support for dynamic properties enables standard Qt widgets and user-created forms to be customized with extra information from within Qt Designer.

The property editor has been updated to support the new margin and spacing properties added to Qt as part of improvements to the layout system.
Selection handling has been improved to allow properties to be changed when more than one widget has been selected.
Drag and drop support has been extended to allow widgets to be dragged to the object inspector. Additionally, images can be dragged from the resource editor to the action editor and to image/icon properties in the property editor.
A new preferences dialog introduces the ability to set tool window fonts (added at the request of Japanese customers).
Improved selection behaviour in the signal slot editor by introducing transparent connection labels and ensuring that widgets are selected in preference to connection labels.
Improved handling of promoted widgets makes it easier and more convenient to work with placeholders for custom widgets; promotion candidates are now displayed in the form's context menu. Multiple widgets in a selection can now be promoted at the same time.
Custom widget plugin support has been extended to provide error reporting for cases where plugins fail to load. Additionally, Qt Designer is now able to scan for newly installed custom widget plugins.
Qt Designer's configuration options have been extended to allow the default form editor grid setting to be set, enabling the grid setting to be specified on a per-form basis.
Enabled multi-line plain and rich text editing for labels.
Extended and Improved Infrastructure
The QtNetwork module has been extended to include support for Secure Socket Layer (SSL) communications via the QSslSocket class. As a result, QHttp is now able to provide support for the HTTPS protocol.
Qt's network proxying facilties have been extended to cover HTTP CONNECT proxying, and also include support for Cram-MD5 and NTLM authentication.
The QtXml module has been expanded with classes to provide a streaming API for handling XML: QXmlStreamReader and QXmlStreamWriter complement Qt's existing range of SAX and DOM-based classes.
Support for the MSYS environment for MinGW on Windows.
Qt's threading has been enhanced to include support for timed try-locks in QMutex, QReadWriteLock and QSemaphore. Additionally, a BlockingQueuedConnection connection type has been introduced to complement DirectConnection and QueuedConnection.
QThread has been updated to provide an idealThreadCount() function. This takes various system-specific factors into account to determine the optimal number of threads that can be run on a given system.
The event system has been extended to allow events to be posted with specific priorities, enabling applications to prioritize certain types of event depending on the activities they are performing.
QDir has been enhanced with the addSearchPath() function to provide an extensible mechanism, allowing search paths to be added at run time to Qt's resource system.
The new QDirIterator class provides a convenient and less resource-intensive way to traverse large directory structures.
Qtopia Core
As in Qt 4.2, many improvements to Qt's graphics support and rendering performance are specific to Qtopia Core. These include general speed optimizations, accelerated graphics API improvements, and additional support for OpenGL ES.
A new font subsystem has been implemented that allows glyphs rendered at run time to be shared between applications. A new pre-rendered font format (QPF2) has also been implemented together with a new makeqpf tool to generate them.
In addition, support for custom font engine plugins has been added through the QAbstractFontEngine and QFontEnginePlugin classes
离线chwoozy

只看该作者 5楼 发表于: 2007-06-13
版本变更的中文翻译已经出来了
•    加强对Windows Vista™ 本地应用的支持
•    QtScript 集成的ECMA 标准脚本引擎
•    加强对SSL(安全套接字层)通讯的支持
•    使用改进的OpenGL® 引擎,更快,更高质量地绘制3D 图形
•    更加灵活的主窗口架构
•    使用新一代SVG 文件,能渲染并生成SVG矢量图形图象
•    改进了Qtopia Core,包括新字体系统和加强了对OpenGL ES 的支持

加强了对Vista 本地应用开发的支持
增加了对Vista 风格、控制和动画的综合支持,从而Qt开发者能在下一代Windows 平台上开发出具有良好外观和感觉的应用。有了Qt 4.3, 基于Qt的应用现在已经完全符合Vista的风格准则,而且还利用了最新的Vista 创新。实际上,Qt Linguist 已经凭借4.3 版本获得了Vista 认证,标明它已经满足了微软Vista 兼容性准则的要求。

奇趣科技开发工具产品总监Naren Karattup 说道,“奇趣科技会不断努力使得跨平台软件开发更容易,更有力。我们在这方面的成就表现在Qt 4.3 Linguist 已经获得了Vista 认证。有了Qt 4.3,在所有主要操作系统上,创造出具有本地外观和感觉的应用将不再有障碍。除Linux 和Mac平台之外,开发者还可以轻松地把开发选定在为Vista 和以前的Windows 版本之上。”

Qt 4.3集成了新的ECMA脚本引擎
Qt 4.3 中加入了与ECMA标准兼容的全新脚本引擎QtScript。QtScript与Qt 创新的信号-槽机制(Signals and Solts mechanism)集成,可更方便地进行对象之间的通信,QtScript还集成了Qt应用中的C++和脚本编码。QtScript作为Qt 4.3桌面版的部分, 可供Qt商业客户使用;作为Qt 开源版的部分时,供开源开发者使用。QtScript是基于ECMA脚本(Java脚本)最通用版本-ECMA Standard 262之上的。

有关Qt 和Qtopia Core 4.3 包含的新特性的更多信息, 敬请访问: http://www.trolltech.com/qt43
[ 此贴被chwoozy在2007-06-13 20:51重新编辑 ]
离线numega
只看该作者 6楼 发表于: 2007-07-01
感謝大俠的中譯。
快速回复
限100 字节
 
上一个 下一个