What's New in Qt 4.6
|
See the QGraphicsEffect class documentation for more information.
The QtXmlPatterns module can now be used to validate schemas, either through C++ APIs in the Qt application, or using the xmlpatternsvalidator command line utility. The implementation of XML Schema Validation supports the specification version 1.0 in large parts.
See the XML Processing and QXmlSchema class documentation for more information.
As more of Qt, and more of the applications built on Qt go 3D, API's should be provided to simplify this. Mainly, the new API aims to make it more easy to create 3D applications with OpenGL. It will also unify the Qt OpenGL codebase, and enable cross-platform 3D codebase.
The main features of the Qt3D enablers are currently: Math primitives for matrix multiplication, vectors, quaternions (client-side), and API for vertex and fragment shaders, GLSL/ES. Future research will, among other things include stencils, scissors, vertex buffers and arrays, texture manipulation, and geometry shaders.
Qt 4.6 comes with new classes for handling audio. These classes provide low-level access to the system's audio system. By specifying the audio format (QAudioFormat) and supplying audio data through a QIODevice, you get direct access to the functionality of the sound device. The API also comes with functions to query audio devices for which audio formats they support.
See the QtMultimedia Module documentation for more information.
Links to new classes, functions, macros, and other items introduced in Qt 4.6.
Class QNetworkCacheMetaData:
AttributesMap | attributes () const |
void | setAttributes ( const AttributesMap & attributes ) |
Class QXmlStreamReader:
QString | readElementText ( ReadElementTextBehaviour behaviour ) |
bool | readNextStartElement () |
void | skipCurrentElement () |
Class QPrintPreviewWidget:
int | pageCount () const |
Class QNetworkReply:
void | ignoreSslErrors ( const QList<QSslError> & errors ) |
bool | isFinished () const |
bool | isRunning () const |
Class QStyleOptionGraphicsItem:
qreal | levelOfDetailFromTransform ( const QTransform & worldTransform ) |
Class QWebPage:
QWebFrame * | frameAt ( const QPoint & pos ) const |
bool | shouldInterruptJavaScript () |
Class QSyntaxHighlighter:
void | rehighlightBlock ( const QTextBlock & block ) |
Class QAbstractXmlNodeModel:
QSourceLocation | sourceLocation ( const QXmlNodeModelIndex & index ) const |
Class QSystemLocale:
virtual QLocale | fallbackLocale () const |
Class QDBusConnection:
bool | connect ( const QString & service, const QString & path, const QString & interface, const QString & name, const QStringList & argumentMatch, const QString & signature, QObject * receiver, const char * slot ) |
bool | disconnect ( const QString & service, const QString & path, const QString & interface, const QString & name, const QStringList & argumentMatch, const QString & signature, QObject * receiver, const char * slot ) |
Class QWebFrame:
void | contentsSizeChanged ( const QSize & size ) |
QWebElement | documentElement () const |
QWebElementCollection | findAllElements ( const QString & selectorQuery ) const |
QWebElement | findFirstElement ( const QString & selectorQuery ) const |
void | loadFinished ( bool ok ) |
void | loadStarted () |
void | render ( QPainter * painter, RenderLayer layer, const QRegion & clip = QRegion() ) |
QRect | scrollBarGeometry ( Qt::Orientation orientation ) const |
void | setFocus () |
Class QWebHitTestResult:
QWebElement | element () const |
QWebElement | enclosingBlockElement () const |
QWebElement | linkElement () const |
Class QScriptString:
quint32 | toArrayIndex ( bool * ok = 0 ) const |
Class QGraphicsLayout:
void | addChildLayoutItem ( QGraphicsLayoutItem * layoutItem ) |
Class QHelpSearchEngine:
int | hitCount () const |
Class QGraphicsScene:
QGraphicsItem * | activePanel () const |
bool | isActive () const |
QGraphicsItem * | itemAt ( const QPointF & position, const QTransform & deviceTransform ) const |
QGraphicsItem * | itemAt ( qreal x, qreal y, const QTransform & deviceTransform ) const |
QList<QGraphicsItem *> | items ( const QPointF & pos, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform & deviceTransform = QTransform() ) const |
QList<QGraphicsItem *> | items ( const QRectF & rect, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform & deviceTransform = QTransform() ) const |
QList<QGraphicsItem *> | items ( const QPolygonF & polygon, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform & deviceTransform = QTransform() ) const |
QList<QGraphicsItem *> | items ( const QPainterPath & path, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform & deviceTransform = QTransform() ) const |
QList<QGraphicsItem *> | items ( qreal x, qreal y, qreal w, qreal h, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform & deviceTransform = QTransform() ) const |
bool | sendEvent ( QGraphicsItem * item, QEvent * event ) |
void | setActivePanel ( QGraphicsItem * item ) |
void | setSelectionArea ( const QPainterPath & path, const QTransform & deviceTransform ) |
void | setSelectionArea ( const QPainterPath & path, Qt::ItemSelectionMode mode, const QTransform & deviceTransform ) |
Class QNetworkRequest:
QObject * | originatingObject () const |
void | setOriginatingObject ( QObject * object ) |
Class QGraphicsItem:
bool | acceptTouchEvents () const |
bool | filtersChildEvents () const |
QGraphicsItem * | focusItem () const |
QGraphicsItem * | focusProxy () const |
QGraphicsEffect * | graphicsEffect () const |
Qt::InputMethodHints | inputMethodHints () const |
bool | isActive () const |
bool | isBlockedByModalPanel ( QGraphicsItem ** blockingPanel = 0 ) const |
bool | isPanel () const |
QGraphicsItem * | panel () const |
PanelModality | panelModality () const |
QGraphicsObject * | parentObject () const |
qreal | rotation () const |
qreal | scale () const |
void | setAcceptTouchEvents ( bool enabled ) |
void | setActive ( bool active ) |
void | setFiltersChildEvents ( bool enabled ) |
void | setFocusProxy ( QGraphicsItem * item ) |
void | setGraphicsEffect ( QGraphicsEffect * effect ) |
void | setInputMethodHints ( Qt::InputMethodHints hints ) |
void | setPanelModality ( PanelModality panelModality ) |
void | setRotation ( qreal angle ) |
void | setScale ( qreal factor ) |
void | setTransformOriginPoint ( const QPointF & origin ) |
void | setTransformOriginPoint ( qreal x, qreal y ) |
void | setTransformations ( const QList<QGraphicsTransform *> & transformations ) |
void | setX ( qreal x ) |
void | setY ( qreal y ) |
void | stackBefore ( const QGraphicsItem * sibling ) |
QGraphicsObject * | toGraphicsObject () |
const QGraphicsObject * | toGraphicsObject () const |
QPointF | transformOriginPoint () const |
QList<QGraphicsTransform *> | transformations () const |
Class QNetworkProxyFactory:
void | setUseSystemConfiguration ( bool enable ) |
Class QNetworkAccessManager:
QNetworkReply * | deleteResource ( const QNetworkRequest & request ) |
Class QWebView:
QPainter::RenderHints | renderHints () const |
void | setRenderHint ( QPainter::RenderHint hint, bool enabled = true ) |
void | setRenderHints ( QPainter::RenderHints hints ) |
Class QDBusPendingCall:
QDBusPendingCall | fromCompletedCall ( const QDBusMessage & msg ) |
QDBusPendingCall | fromError ( const QDBusError & error ) |
Class QScriptEngineDebugger:
DebuggerState | state () const |
Class QWebSettings:
void | clearMemoryCaches () |
QString | defaultTextEncoding () const |
void | enablePersistentStorage ( const QString & path = QString() ) |
QString | localStoragePath () const |
QString | offlineWebApplicationCachePath () |
qint64 | offlineWebApplicationCacheQuota () |
void | setDefaultTextEncoding ( const QString & encoding ) |
void | setLocalStoragePath ( const QString & path ) |
void | setOfflineWebApplicationCachePath ( const QString & path ) |
void | setOfflineWebApplicationCacheQuota ( qint64 maximumSize ) |
Class QWebSecurityOrigin:
void | addLocalScheme ( const QString & scheme ) |
QStringList | localSchemes () |
void | removeLocalScheme ( const QString & scheme ) |
Class QGLFramebufferObject:
void | blitFramebuffer ( QGLFramebufferObject * target, const QRect & targetRect, QGLFramebufferObject * source, const QRect & sourceRect, GLbitfield buffers = GL_COLOR_BUFFER_BIT, GLenum filter = GL_NEAREST ) |
bool | hasOpenGLFramebufferBlit () |
Class QGraphicsLayoutItem:
bool | ownedByLayout () const |
void | setOwnedByLayout ( bool ownership ) |
Class QSslSocket:
void | connectToHostEncrypted ( const QString & hostName, quint16 port, const QString & sslPeerName, OpenMode mode = ReadWrite ) |
void | ignoreSslErrors ( const QList<QSslError> & errors ) |
void | setSocketOption ( QAbstractSocket::SocketOption option, const QVariant & value ) |
QVariant | socketOption ( QAbstractSocket::SocketOption option ) |
Class QWebDatabase:
void | removeAllDatabases () |
Class QGraphicsView:
bool | isTransformed () const |
Class QSharedPointer:
QSharedPointer<X> | objectCast () const |
Class QWeakPointer:
T * | data () const |
QWeakPointer<T> | operator= ( const QObject * obj ) |
Class QProcessEnvironment:
QProcessEnvironment | systemEnvironment () |
Class QXmlQuery:
bool | setFocus ( const QString & focus ) |
QDataStream & | operator<< ( QDataStream & stream, const QWebHistory & history ) |
QDataStream & | operator>> ( QDataStream & stream, QWebHistory & history ) |
void | qDrawBorderPixmap ( QPainter * painter, const QRect & target, const QMargins & margins, const QPixmap & pixmap ) |
bool | qFuzzyCompare ( const QTransform & t1, const QTransform & t2 ) |
bool | qFuzzyCompare ( const QMatrix & m1, const QMatrix & m2 ) |
QSharedPointer<X> | qSharedPointerObjectCast ( const QWeakPointer<T> & other ) |
QSharedPointer<X> | qSharedPointerObjectCast ( const QSharedPointer<T> & other ) |
QString | qtTrId ( const char * id, int n = -1 ) |
QBENCHMARK_ONCE | |
QT_TRID_NOOP ( id ) |
Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) | Trademarks | Qt 4.6.0 |
Попытка перевода Qt документации. Если есть желание присоединиться, или если есть замечания или пожелания, то заходите на форум: Перевод Qt документации на русский язык... Люди внесшие вклад в перевод: Команда переводчиков |