New Classes and Functions in Qt 5.6
This page contains a comprehensive list of all new classes and functions introduced in Qt 5.6. Links to new APIs in previous Qt 5 releases are found at the bottom of this page.
New Classes
New Member Functions
Class QSysInfo:
| QString | machineHostName() |
Class QDebug:
| void | setVerbosity(verbosityLevel) |
| int | verbosity() const |
Class QDir:
| QChar | listSeparator() |
Class QProcess:
| void | errorOccurred(error) |
Class QStorageInfo:
| int | blockSize() const |
Class QTemporaryDir:
| QString | errorString() const |
Class QTextStream:
| QTextStream & | operator<<(string) |
Class QItemSelectionRange:
| void | swap(other) |
Class QPointer:
| void | swap(other) |
Class QDBusMessage:
| QDBusMessage | createTargetedSignal(service, path, interface, name) |
Class QIcon:
Class QImage:
| QColor | pixelColor(position) const |
| QColor | pixelColor(x, y) const |
| void | setPixelColor(position, color) |
| void | setPixelColor(x, y, color) |
Class QImageReader:
Class QStandardItem:
| bool | isAutoTristate() const |
| bool | isUserTristate() const |
| void | setAutoTristate(tristate) |
| void | setUserTristate(tristate) |
Class QGuiApplication:
| bool | isFallbackSessionManagementEnabled() |
| void | setFallbackSessionManagementEnabled(enabled) |
Class QOpenGLFramebufferObject:
| void | addColorAttachment(size, internalFormat) |
| void | addColorAttachment(width, height, internalFormat) |
| QVector<QSize> | sizes() const |
| GLuint | takeTexture(colorAttachmentIndex) |
| QVector<GLuint> | textures() const |
| QImage | toImage(flipped, colorAttachmentIndex) const |
Class QColor:
| QColor | fromRgba64(rgba64) |
| QColor | fromRgba64(r, g, b, a) |
| QRgba64 | rgba64() const |
| void | setRgba64(rgba) |
Class QPaintDevice:
| qreal | devicePixelRatioF() const |
Class QTextLayout:
| void | clearFormats() |
| QVector<FormatRange> | formats() const |
| void | setFormats(formats) |
Class QNetworkReply:
| void | redirected(url) |
Class QNetworkRequest:
| int | maximumRedirectsAllowed() const |
| void | setMaximumRedirectsAllowed(maxRedirectsAllowed) |
Class QHostAddress:
| bool | isMulticast() const |
| void | swap(other) |
Class QWindowsWindowFunctions:
| void | setHasBorderInFullScreen(window, border) |
| const QByteArray | setHasBorderInFullScreenIdentifier() |
Class QDesktopWidget:
| void | primaryScreenChanged() |
Class QMainWindow:
| void | resizeDocks(docks, sizes, orientation) |
Class QMenu:
| QAction * | addAction(icon, text, functor, shortcut) |
| QAction * | addAction(icon, text, context, functor, shortcut) |
| QAction * | addAction(icon, text, receiver, method, shortcut) |
| QAction * | addAction(text, functor, shortcut) |
| QAction * | addAction(text, context, functor, shortcut) |
| QAction * | addAction(text, receiver, method, shortcut) |
Class QToolBar:
| QAction * | addAction(icon, text, functor) |
| QAction * | addAction(icon, text, context, functor) |
| QAction * | addAction(icon, text, receiver, method) |
| QAction * | addAction(text, functor) |
| QAction * | addAction(text, context, functor) |
| QAction * | addAction(text, receiver, method) |
New Global Functions
| bool | operator<(lhs, rhs) |
| bool | operator<(lhs, rhs) |
| bool | operator<(lhs, rhs) |
| bool | operator<=(lhs, rhs) |
| bool | operator<=(lhs, rhs) |
| bool | operator<=(lhs, rhs) |
| bool | operator>(lhs, rhs) |
| bool | operator>(lhs, rhs) |
| bool | operator>(lhs, rhs) |
| bool | operator>=(lhs, rhs) |
| bool | operator>=(lhs, rhs) |
| bool | operator>=(lhs, rhs) |
| uint | qAlpha(rgba64) |
| uint | qBlue(rgba64) |
| uint | qGreen(rgba64) |
| uint | qHash(key, seed) |
| uint | qHash(key, seed) |
| uint | qHash(key, seed) |
| uint | qHash(key, seed) |
| QRgba64 | qPremultiply(rgba64) |
| uint | qRed(rgba64) |
| QRgba64 | qRgba64(c) |
| QRgba64 | qRgba64(r, g, b, a) |
| QRgba64 | qUnpremultiply(rgba64) |
New Macros
| QTRY_VERIFY2(condition, message) | |
| QTRY_VERIFY2_WITH_TIMEOUT(condition, message, timeout) | |
| QT_NO_PROCESS_COMBINED_ARGUMENT_START |
New Enum Types
| enum | EnterKeyType { EnterKeyDefault, EnterKeyReturn, EnterKeyDone, EnterKeyGo, EnterKeySend, …, EnterKeyPrevious } |
New Properties
- supportedSchemes : const
- showIsMaximized : const