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 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 QHelpSearchEngine:
int | hitCount () const |
Class QScriptString:
quint32 | toArrayIndex ( bool * ok = 0 ) const |
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 QProcessEnvironment:
QProcessEnvironment | systemEnvironment () |
Class QNetworkRequest:
QObject * | originatingObject () const |
void | setOriginatingObject ( QObject * object ) |
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 QWebView:
QPainter::RenderHints | renderHints () const |
void | setRenderHint ( QPainter::RenderHint hint, bool enabled = true ) |
void | setRenderHints ( QPainter::RenderHints hints ) |
Class QNetworkAccessManager:
QNetworkReply * | deleteResource ( const QNetworkRequest & request ) |
Class QSharedPointer:
QSharedPointer<X> | objectCast () const |
Class QWeakPointer:
T * | data () const |
QWeakPointer<T> | operator= ( const QObject * obj ) |
Class QNetworkProxyFactory:
void | setUseSystemConfiguration ( bool enable ) |
Class QSystemLocale:
virtual QLocale | fallbackLocale () const |
Class QNetworkCacheMetaData:
AttributesMap | attributes () const |
void | setAttributes ( const AttributesMap & attributes ) |
Class QGraphicsLayout:
void | addChildLayoutItem ( QGraphicsLayoutItem * layoutItem ) |
Class QXmlStreamReader:
QString | readElementText ( ReadElementTextBehaviour behaviour ) |
bool | readNextStartElement () |
void | skipCurrentElement () |
Class QSyntaxHighlighter:
void | rehighlightBlock ( const QTextBlock & block ) |
Class QGraphicsView:
bool | isTransformed () const |
Class QWebHitTestResult:
QWebElement | element () const |
QWebElement | enclosingBlockElement () const |
QWebElement | linkElement () const |
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 QWebDatabase:
void | removeAllDatabases () |
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 QWebPage:
QWebFrame * | frameAt ( const QPoint & pos ) const |
bool | shouldInterruptJavaScript () |
Class QPrintPreviewWidget:
int | pageCount () const |
Class QNetworkReply:
void | ignoreSslErrors ( const QList<QSslError> & errors ) |
bool | isFinished () const |
bool | isRunning () const |
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 QAbstractXmlNodeModel:
QSourceLocation | sourceLocation ( const QXmlNodeModelIndex & index ) const |
Class QScriptEngineDebugger:
DebuggerState | state () const |
Class QGraphicsLayoutItem:
bool | ownedByLayout () const |
void | setOwnedByLayout ( bool ownership ) |
Class QXmlQuery:
bool | setFocus ( const QString & focus ) |
Class QStyleOptionGraphicsItem:
qreal | levelOfDetailFromTransform ( const QTransform & worldTransform ) |
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 QDBusPendingCall:
QDBusPendingCall | fromCompletedCall ( const QDBusMessage & msg ) |
QDBusPendingCall | fromError ( const QDBusError & error ) |
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 ) |
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt 4.6 | |
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP ! |
Copyright © 2000-2012 - www.developpez.com