# QSqlDriver Class Reference
## [[QtSql](index.htm) module]
该QSqlDriver类是用于访问特定的SQL数据库的抽象基类。[More...](#details)
继承[QObject](qobject.html)。
### Types
* `enum DriverFeature { Transactions, QuerySize, BLOB, Unicode, ..., MultipleResultSets }`
* `enum IdentifierType { FieldName, TableName }`
* `enum StatementType { WhereStatement, SelectStatement, UpdateStatement, InsertStatement, DeleteStatement }`
### Methods
* `__init__ (self, QObject parent = None)`
* `bool beginTransaction (self)`
* `close (self)`
* `bool commitTransaction (self)`
* `QSqlResult createResult (self)`
* `QString escapeIdentifier (self, QString identifier, IdentifierType type)`
* `QString formatValue (self, QSqlField field, bool trimStrings = False)`
* `QVariant handle (self)`
* `bool hasFeature (self, DriverFeature f)`
* `bool isIdentifierEscaped (self, QString identifier, IdentifierType type)`
* `bool isIdentifierEscapedImplementation (self, QString identifier, IdentifierType type)`
* `bool isOpen (self)`
* `bool isOpenError (self)`
* `QSqlError lastError (self)`
* `QSql.NumericalPrecisionPolicy numericalPrecisionPolicy (self)`
* `bool open (self, QString db, QString user = QString(), QString password = QString(), QString host = QString(), int port = -1, QString options = QString())`
* `QSqlIndex primaryIndex (self, QString tableName)`
* `QSqlRecord record (self, QString tableName)`
* `bool rollbackTransaction (self)`
* `setLastError (self, QSqlError e)`
* `setNumericalPrecisionPolicy (self, QSql.NumericalPrecisionPolicy precisionPolicy)`
* `setOpen (self, bool o)`
* `setOpenError (self, bool e)`
* `QString sqlStatement (self, StatementType type, QString tableName, QSqlRecord rec, bool preparedStatement)`
* `QString stripDelimiters (self, QString identifier, IdentifierType type)`
* `QString stripDelimitersImplementation (self, QString identifier, IdentifierType type)`
* `QStringList subscribedToNotifications (self)`
* `QStringList subscribedToNotificationsImplementation (self)`
* `bool subscribeToNotification (self, QString name)`
* `bool subscribeToNotificationImplementation (self, QString name)`
* `QStringList tables (self, QSql.TableType tableType)`
* `bool unsubscribeFromNotification (self, QString name)`
* `bool unsubscribeFromNotificationImplementation (self, QString name)`
### Qt Signals
* `void notification (const QString&)`
* * *
## Detailed Description
该QSqlDriver类是用于访问特定的SQL数据库的抽象基类。
这个类不应该直接使用。使用[QSqlDatabase](qsqldatabase.html)代替。
如果你想创建自己的SQL驱动程序,你可以继承这个类,并重新实现它的纯虚函数,而且你需要那些虚函数。看[How to Write Your Own Database Driver](index.htm#how-to-write-your-own-database-driver)了解更多信息。
* * *
## Type Documentation
```
QSqlDriver.DriverFeature
```
此枚举包含的功能驱动程序可能支持的列表。使用[hasFeature](qsqldriver.html#hasFeature)( )来查询功能是否支持与否。
| Constant | Value | Description |
| --- | --- | --- |
| `QSqlDriver.Transactions` | `0` | 驱动程序是否支持SQL交易。 |
| `QSqlDriver.QuerySize` | `1` | 数据库是否能够报告一个查询的大小。请注意,某些数据库不支持返回查询的大小(即返回的行数) ,在这种情况下,[QSqlQuery.size](qsqlquery.html#size)( )将返回-1 。 |
| `QSqlDriver.BLOB` | `2` | 驱动程序是否支持二进制大对象字段。 |
| `QSqlDriver.Unicode` | `3` | 驱动程序是否支持Unicode字符串,如果数据库服务器一样。 |
| `QSqlDriver.PreparedQueries` | `4` | 驱动程序是否支持准备好的查询执行。 |
| `QSqlDriver.NamedPlaceholders` | `5` | 驱动程序是否支持使用命名佔位符。 |
| `QSqlDriver.PositionalPlaceholders` | `6` | 驱动程序是否支持使用位置佔位符。 |
| `QSqlDriver.LastInsertId` | `7` | 驱动程序是否支持返回的最后一行感动的Id 。 |
| `QSqlDriver.BatchOperations` | `8` | 无论是驱动程序支持批处理操作,请参阅[QSqlQuery.execBatch](qsqlquery.html#execBatch)( ) |
| `QSqlDriver.SimpleLocking` | `9` | 无论是驾驶者不允许在表上写锁,而其他的查询有它的读锁。 |
| `QSqlDriver.LowPrecisionNumbers` | `10` | 驱动程序是否允许使用低精度取数值。 |
| `QSqlDriver.EventNotifications` | `11` | 驱动程序是否支持数据库事件通知。 |
| `QSqlDriver.FinishQuery` | `12` | 该驱动程序是否可以做任何低级别的资源清理时[QSqlQuery.finish](qsqlquery.html#finish)()被调用。 |
| `QSqlDriver.MultipleResultSets` | `13` | 该驱动程序是否可以访问批处理语句或存储过程返回多个结果集。 |
有关支持的功能的详细信息可以在被发现[Qt SQL driver](index.htm)文档。
**See also** [hasFeature](qsqldriver.html#hasFeature)( ) 。
```
QSqlDriver.IdentifierType
```
此枚举包含的SQL标识符类型的列表。
| Constant | Value | Description |
| --- | --- | --- |
| `QSqlDriver.FieldName` | `0` | 一个SQL字段名 |
| `QSqlDriver.TableName` | `1` | 一个SQL表名 |
```
QSqlDriver.StatementType
```
此枚举包含SQL语句(或语句)的列表类型的驱动程序可以创建。
| Constant | Value | Description |
| --- | --- | --- |
| `QSqlDriver.WhereStatement` | `0` | 一个SQL`WHERE`语句(例如,`WHERE f = 5`) 。 |
| `QSqlDriver.SelectStatement` | `1` | 一个SQL`SELECT`语句(例如,`SELECT f FROM t`) 。 |
| `QSqlDriver.UpdateStatement` | `2` | 一个SQL`UPDATE`语句(例如,`UPDATE TABLE t set f = 1`) 。 |
| `QSqlDriver.InsertStatement` | `3` | 一个SQL`INSERT`语句(例如,`INSERT INTO t (f) values (1)`) 。 |
| `QSqlDriver.DeleteStatement` | `4` | 一个SQL`DELETE`语句(例如,`DELETE FROM t`) 。 |
**See also** [sqlStatement](qsqldriver.html#sqlStatement)( ) 。
* * *
## Method Documentation
```
QSqlDriver.__init__ (self, QObject parent = None)
```
该_parent_的说法,如果不是没有,原因_self_通过Qt的,而不是PyQt的拥有。
构造一个新的驱动程序给定的_parent_。
```
bool QSqlDriver.beginTransaction (self)
```
这个函数被调用来开始一个事务。如果成功,则返回True,否则返回False 。默认实现不执行任何操作并返回False 。
**See also** [commitTransaction](qsqldriver.html#commitTransaction)()和[rollbackTransaction](qsqldriver.html#rollbackTransaction)( ) 。
```
QSqlDriver.close (self)
```
这种方法是抽象的,应在任何子类中重新实现。
派生类必须以关闭数据库连接重新实现这个纯虚函数。返回成功,假的真失败。
**See also** [open](qsqldriver.html#open)()和[setOpen](qsqldriver.html#setOpen)( ) 。
```
bool QSqlDriver.commitTransaction (self)
```
这个函数被调用来提交事务。如果成功,则返回True,否则返回False 。默认实现不执行任何操作并返回False 。
**See also** [beginTransaction](qsqldriver.html#beginTransaction)()和[rollbackTransaction](qsqldriver.html#rollbackTransaction)( ) 。
```
QSqlResult QSqlDriver.createResult (self)
```
[
这种方法是抽象的,应在任何子类中重新实现。
](qsqlresult.html)
[创建数据库在一个空的SQL结果。派生类必须重新实现这个函数,并返回一个](qsqlresult.html)[QSqlResult](qsqlresult.html)对象适合自己的数据库给调用者。
```
QString QSqlDriver.escapeIdentifier (self, QString identifier, IdentifierType type)
```
返回_identifier_根据数据库的规则逃过一劫。_identifier_可以是一个表名或字段名,依赖于_type_。
默认实现不执行任何操作。
**See also** [isIdentifierEscaped](qsqldriver.html#isIdentifierEscaped)( ) 。
```
QString QSqlDriver.formatValue (self, QSqlField field, bool trimStrings = False)
```
返回的字符串表示形式_field_值的数据库。这被使用,例如,建设INSERT和UPDATE语句时。
缺省的实现返回格式化为根据以下规则的字符串的值:
* If _field_ is character data, the value is returned enclosed in single quotation marks, which is appropriate for many SQL databases. Any embedded single-quote characters are escaped (replaced with two single-quote characters). If _trimStrings_ is true (the default is false), all trailing whitespace is trimmed from the field.
* If _field_ is date/time data, the value is formatted in ISO format and enclosed in single quotation marks. If the date/time data is invalid, "NULL" is returned.
* If _field_ is [bytearray](qbytearray.html) data, and the driver can edit binary fields, the value is formatted as a hexadecimal string.
* For any other field type, toString() is called on its value and the result of this is returned.
**See also** [QVariant.toString](qvariant.html#toString)( ) 。
```
QVariant QSqlDriver.handle (self)
```
返回低水平数据库句柄包裹在一个[QVariant](qvariant.html)或无效的变体,如果没有手柄。
**Warning:**使用这种具有极处的照顾和只有当你知道你在做什么。
**Warning:**这里返回的句柄可以成为一个过时的指针,如果连接被修改(例如,如果您关闭了连接) 。
**Warning:**手柄可以是NULL如果连接尚未打开。
这里返回的句柄是依赖于数据库的,你应该访问它之前,查询变量的类型名称。
本示例检索句柄到sqlite的连接:
```
[QSqlDatabase](qsqldatabase.html) db = ...;
[QVariant](qvariant.html) v = db.driver()->handle();
if (v.isValid() && qstrcmp(v.typeName(), "sqlite3*") == 0) {
// v.data() returns a pointer to the handle
sqlite3 *handle = *static_cast<sqlite3 **>(v.data());
if (handle != 0) { // check that it is not NULL
...
}
}
```
这段代码返回的句柄PostgreSQL或MySQL :
```
if (qstrcmp(v.typeName(), "PGconn*") == 0) {
PGconn *handle = *static_cast<PGconn **>(v.data());
if (handle != 0) ...
}
if (qstrcmp(v.typeName(), "MYSQL*") == 0) {
MYSQL *handle = *static_cast<MYSQL **>(v.data());
if (handle != 0) ...
}
```
**See also** [QSqlResult.handle](qsqlresult.html#handle)( ) 。
```
bool QSqlDriver.hasFeature (self, DriverFeature f)
```
这种方法是抽象的,应在任何子类中重新实现。
如果驱动程序支持功能,则返回True_feature_否则返回False 。
请注意,某些数据库需[open](qsqldriver.html#open)( )在此之前才能确定。
**See also** [DriverFeature](qsqldriver.html#DriverFeature-enum)。
```
bool QSqlDriver.isIdentifierEscaped (self, QString identifier, IdentifierType type)
```
返回是否_identifier_根据该数据库的规则逃脱。_identifier_可以是一个表名或字段名,依赖于_type_。
**Warning:**因为二进制兼容性的限制,这个功能是不是虚拟的。如果你想提供自己的实现在你的[QSqlDriver](qsqldriver.html)子类,重新实现[isIdentifierEscapedImplementation](qsqldriver.html#isIdentifierEscapedImplementation)()槽在你的子类来代替。该isIdentifierEscapedFunction ( )会动态侦测插槽,并调用它。
**See also** [stripDelimiters](qsqldriver.html#stripDelimiters)()和[escapeIdentifier](qsqldriver.html#escapeIdentifier)( ) 。
```
bool QSqlDriver.isIdentifierEscapedImplementation (self, QString identifier, IdentifierType type)
```
这种方法也是一个Qt槽与C + +的签名`bool isIdentifierEscapedImplementation(const QString&,QSqlDriver::IdentifierType) const`。
此插槽是否返回_identifier_根据该数据库的规则逃脱。_identifier_可以是一个表名或字段名,依赖于_type_。
因为二进制兼容性的限制,[isIdentifierEscaped](qsqldriver.html#isIdentifierEscaped)( )函数(在Qt的4.5中引入)是不是虚拟的。相反,[isIdentifierEscaped](qsqldriver.html#isIdentifierEscaped)( )将动态检测并调用_this_插槽。默认实现假设转义/分隔符是双引号。重新实现这个插槽在自己的[QSqlDriver](qsqldriver.html)如果您的数据库引擎使用不同的分隔符。
此功能被引入Qt的4.6 。
**See also** [isIdentifierEscaped](qsqldriver.html#isIdentifierEscaped)( ) 。
```
bool QSqlDriver.isOpen (self)
```
返回True如果数据库连接处于打开状态,否则返回False 。
```
bool QSqlDriver.isOpenError (self)
```
返回True如果有一个错误打开数据库连接,否则返回False 。
```
QSqlError QSqlDriver.lastError (self)
```
[](qsqlerror.html)
[返回](qsqlerror.html)[QSqlError](qsqlerror.html)对象,该对象包含有关数据库上发生的最后一个错误信息。
**See also** [setLastError](qsqldriver.html#setLastError)( ) 。
```
QSql.NumericalPrecisionPolicy QSqlDriver.numericalPrecisionPolicy (self)
```
[
返回数据库连接的当前默认精度的政策。
此功能被引入Qt的4.6 。
](qsql.html#NumericalPrecisionPolicy-enum)
[**See also**](qsql.html#NumericalPrecisionPolicy-enum) [QSql.NumericalPrecisionPolicy](qsql.html#NumericalPrecisionPolicy-enum),[setNumericalPrecisionPolicy](qsqldriver.html#setNumericalPrecisionPolicy)( )[QSqlQuery.numericalPrecisionPolicy](qsqlquery.html#numericalPrecisionPolicy)()和[QSqlQuery.setNumericalPrecisionPolicy](qsqlquery.html#setNumericalPrecisionPolicy)( ) 。
```
bool QSqlDriver.open (self, QString db, QString user = QString(), QString password = QString(), QString host = QString(), int port = -1, QString options = QString())
```
这种方法是抽象的,应在任何子类中重新实现。
派生类必须重新实现这个纯虚函数打开的数据库的数据库连接_db_,使用的用户名_user_,密码_password_,主机_host_,端口_port_和连接选项_options_。
该函数必须返回成功,假的真失败。
**See also** [setOpen](qsqldriver.html#setOpen)( ) 。
```
QSqlIndex QSqlDriver.primaryIndex (self, QString tableName)
```
[](qsqlindex.html)
[返回表的主索引_tableName_。返回一个空](qsqlindex.html)[QSqlIndex](qsqlindex.html)如果表没有主索引。默认实现返回一个空的索引。
```
QSqlRecord QSqlDriver.record (self, QString tableName)
```
[](qsqlrecord.html)
[返回](qsqlrecord.html)[QSqlRecord](qsqlrecord.html)填充在表中的字段的名称_tableName_。如果没有这样的表存在,则返回一个空的记录。默认实现返回一个空的记录。
```
bool QSqlDriver.rollbackTransaction (self)
```
这个函数被调用来回滚事务。如果成功,则返回True,否则返回False 。默认实现不执行任何操作并返回False 。
**See also** [beginTransaction](qsqldriver.html#beginTransaction)()和[commitTransaction](qsqldriver.html#commitTransaction)( ) 。
```
QSqlDriver.setLastError (self, QSqlError e)
```
这个函数是用来设置的最后一个错误的值,_error_,发生在数据库上。
**See also** [lastError](qsqldriver.html#lastError)( ) 。
```
QSqlDriver.setNumericalPrecisionPolicy (self, QSql.NumericalPrecisionPolicy precisionPolicy)
```
设置使用此驱动程序来创建查询的默认数值精度的政策_precisionPolicy_。
注意:默认精度策略设置来_precisionPolicy_不影响任何当前活动的查询。
此功能被引入Qt的4.6 。
**See also** [QSql.NumericalPrecisionPolicy](qsql.html#NumericalPrecisionPolicy-enum),[numericalPrecisionPolicy](qsqldriver.html#numericalPrecisionPolicy)( )[QSqlQuery.setNumericalPrecisionPolicy](qsqlquery.html#setNumericalPrecisionPolicy)()和[QSqlQuery.numericalPrecisionPolicy](qsqlquery.html#numericalPrecisionPolicy)( ) 。
```
QSqlDriver.setOpen (self, bool o)
```
这个函数设置数据库的打开状态以_open_。派生类可以使用此功能来报告的状态[open](qsqldriver.html#open)( ) 。
**See also** [open](qsqldriver.html#open)()和[setOpenError](qsqldriver.html#setOpenError)( ) 。
```
QSqlDriver.setOpenError (self, bool e)
```
这个函数设置数据库的打开错误状态_error_。派生类可以使用此功能来报告的状态[open](qsqldriver.html#open)( ) 。注意,如果_error_是真正的数据库的打开状态设置为关闭(即,[isOpen](qsqldriver.html#isOpen)( )返回False ) 。
**See also** [isOpenError](qsqldriver.html#isOpenError)( )[open](qsqldriver.html#open)()和[setOpen](qsqldriver.html#setOpen)( ) 。
```
QString QSqlDriver.sqlStatement (self, StatementType type, QString tableName, QSqlRecord rec, bool preparedStatement)
```
返回类型的SQL语句_type_为表_tableName_从数值_rec_。如果_preparedStatement_为True,则字符串将包含佔位符,而不是价值。
这种方法可以用来处理表,而不必担心依赖于数据库的SQL方言。对于非预处理语句,该值将被正确地转义。
```
QString QSqlDriver.stripDelimiters (self, QString identifier, IdentifierType type)
```
返回_identifier_带的前缘和后分隔符取出,_identifier_可以是一个表名或字段名,依赖于_type_。如果_identifier_没有开头和结尾的分隔符,_identifier_无需修改被返回。
**Warning:**因为二进制兼容性的限制,这个功能是不是虚拟的,如果你想提供自己的实现在你的[QSqlDriver](qsqldriver.html)子类,重新实现[stripDelimitersImplementation](qsqldriver.html#stripDelimitersImplementation)()槽在你的子类来代替。该stripDelimiters ( )函数将动态检测插槽,并调用它。
此功能被引入Qt的4.5 。
**See also** [isIdentifierEscaped](qsqldriver.html#isIdentifierEscaped)( ) 。
```
QString QSqlDriver.stripDelimitersImplementation (self, QString identifier, IdentifierType type)
```
这种方法也是一个Qt槽与C + +的签名`QString stripDelimitersImplementation(const QString&,QSqlDriver::IdentifierType) const`。
这个插槽回报_identifier_带的前缘和后分隔符取出,_identifier_可以是一个表名或字段名,依赖于_type_。如果_identifier_没有开头和结尾的分隔符,_identifier_无需修改被返回。
因为二进制兼容性的限制,在[stripDelimiters](qsqldriver.html#stripDelimiters)( )函数(在Qt的4.5中引入)是不是虚拟的。相反,[stripDelimiters](qsqldriver.html#stripDelimiters)( )将动态检测并调用_this_插槽。它通常不需要重新实现此插槽。
此功能被引入Qt的4.6 。
**See also** [stripDelimiters](qsqldriver.html#stripDelimiters)( ) 。
```
QStringList QSqlDriver.subscribedToNotifications (self)
```
返回当前订阅的事件通知的名称列表。
**Warning:**因为二进制兼容性的限制,这个功能是不是虚拟的。如果您想提供事件通知的支持在自己的[QSqlDriver](qsqldriver.html)子类,重新实现[subscribedToNotificationsImplementation](qsqldriver.html#subscribedToNotificationsImplementation)()槽在你的子类来代替。该subscribedToNotifications ( )函数将动态检测插槽,并调用它。
此功能被引入Qt的4.4 。
**See also** [subscribeToNotification](qsqldriver.html#subscribeToNotification)()和[unsubscribeFromNotification](qsqldriver.html#unsubscribeFromNotification)( ) 。
```
QStringList QSqlDriver.subscribedToNotificationsImplementation (self)
```
这种方法也是一个Qt槽与C + +的签名`QStringList subscribedToNotificationsImplementation() const`。
返回当前订阅的事件通知的名称列表。
重新实现这个插槽来提供自己的[QSqlDriver](qsqldriver.html)继承与事件通知的支持,因为二进制兼容性的限制,[subscribedToNotifications](qsqldriver.html#subscribedToNotifications)( )函数(在Qt的4.4中引入)是不是虚拟的。相反,[subscribedToNotifications](qsqldriver.html#subscribedToNotifications)( )将动态检测并调用_this_插槽。默认实现返回一个空[QStringList](qstringlist.html)。
此功能被引入Qt的4.4 。
**See also** [subscribedToNotifications](qsqldriver.html#subscribedToNotifications)( ) 。
```
bool QSqlDriver.subscribeToNotification (self, QString name)
```
调用此函数来订阅事件通知从数据库中。_name_标识事件的通知。
如果成功,则返回True,否则返回False 。
该数据库必须处于打开状态时,此函数被调用。当数据库是通过调用关闭[close](qsqldriver.html#close)( )所有订阅事件通知将自动取消订阅。请注意,调用[open](qsqldriver.html#open)( )在一个已经打开的数据库可能会导致隐[close](qsqldriver.html#close)( )被调用,这将导致驱动程序的所有事件通知退订。
当一个事件通知确定_name_张贴由数据库的[notification](qsqldriver.html#notification)()信号被发射。
**Warning:**因为二进制兼容性的限制,这个功能是不是虚拟的。如果您想提供事件通知的支持在自己的[QSqlDriver](qsqldriver.html)子类,重新实现[subscribeToNotificationImplementation](qsqldriver.html#subscribeToNotificationImplementation)()槽在你的子类来代替。该subscribeToNotification ( )函数将动态检测插槽,并调用它。
此功能被引入Qt的4.4 。
**See also** [unsubscribeFromNotification](qsqldriver.html#unsubscribeFromNotification)( )[subscribedToNotifications](qsqldriver.html#subscribedToNotifications)()和[QSqlDriver.hasFeature](qsqldriver.html#hasFeature)( ) 。
```
bool QSqlDriver.subscribeToNotificationImplementation (self, QString name)
```
这种方法也是一个Qt槽与C + +的签名`bool subscribeToNotificationImplementation(const QString&)`。
这个槽被调用来订阅事件通知从数据库中。_name_标识事件的通知。
如果成功,则返回True,否则返回False 。
该数据库必须在此公开_slot_被调用。当数据库是通过调用关闭[close](qsqldriver.html#close)( )所有订阅事件通知将自动取消订阅。请注意,调用[open](qsqldriver.html#open)( )在一个已经打开的数据库可能会导致隐[close](qsqldriver.html#close)( )被调用,这将导致驱动程序的所有事件通知退订。
当一个事件通知确定_name_张贴由数据库的[notification](qsqldriver.html#notification)()信号被发射。
重新实现这个插槽来提供自己的[QSqlDriver](qsqldriver.html)继承与事件通知的支持,因为二进制兼容性的限制,[subscribeToNotification](qsqldriver.html#subscribeToNotification)( )函数(在Qt的4.4中引入)是不是虚拟的。相反,[subscribeToNotification](qsqldriver.html#subscribeToNotification)( )将动态检测并调用_this_插槽。默认实现不执行任何操作并返回False 。
此功能被引入Qt的4.4 。
**See also** [subscribeToNotification](qsqldriver.html#subscribeToNotification)( ) 。
```
QStringList QSqlDriver.tables (self, QSql.TableType tableType)
```
返回该数据库中的表的名称的列表。默认实现返回一个空列表。
该_tableType_参数说明什么类型的表应该返回。由于二进制兼容性,该字符串包含枚举QSql.TableTypes作为文本的价值。一个空字符串应被视为[QSql.Tables](qsql.html#TableType-enum)为了向后兼容。
```
bool QSqlDriver.unsubscribeFromNotification (self, QString name)
```
此功能称为从数据库事件通知退订。_name_标识事件的通知。
如果成功,则返回True,否则返回False 。
该数据库必须处于打开状态时,此函数被调用。所有订阅的事件通知是从时自动取消订阅的[close](qsqldriver.html#close)( )函数被调用。
后调用_this_功能[notification](qsqldriver.html#notification)()信号将不再当一个事件通知确定了发射_name_张贴由数据库。
**Warning:**因为二进制兼容性的限制,这个功能是不是虚拟的。如果您想提供事件通知的支持在自己的[QSqlDriver](qsqldriver.html)子类,重新实现[unsubscribeFromNotificationImplementation](qsqldriver.html#unsubscribeFromNotificationImplementation)()槽在你的子类来代替。该unsubscribeFromNotification ( )函数将动态检测插槽,并调用它。
此功能被引入Qt的4.4 。
**See also** [subscribeToNotification](qsqldriver.html#subscribeToNotification)()和[subscribedToNotifications](qsqldriver.html#subscribedToNotifications)( ) 。
```
bool QSqlDriver.unsubscribeFromNotificationImplementation (self, QString name)
```
这种方法也是一个Qt槽与C + +的签名`bool unsubscribeFromNotificationImplementation(const QString&)`。
这个槽被调用从数据库事件通知退订。_name_标识事件的通知。
如果成功,则返回True,否则返回False 。
该数据库时,必须打开_this_槽被调用。所有订阅的事件通知是从时自动取消订阅的[close](qsqldriver.html#close)( )函数被调用。
后调用_this_在插槽[notification](qsqldriver.html#notification)()信号将不再当一个事件通知确定了发射_name_张贴由数据库。
重新实现这个插槽来提供自己的[QSqlDriver](qsqldriver.html)继承与事件通知的支持,因为二进制兼容性的限制,[unsubscribeFromNotification](qsqldriver.html#unsubscribeFromNotification)( )函数(在Qt的4.4中引入)是不是虚拟的。相反,[unsubscribeFromNotification](qsqldriver.html#unsubscribeFromNotification)( )将动态检测并调用_this_插槽。默认实现不执行任何操作并返回False 。
此功能被引入Qt的4.4 。
**See also** [unsubscribeFromNotification](qsqldriver.html#unsubscribeFromNotification)( ) 。
* * *
## Qt Signal Documentation
```
void notification (const QString&)
```
这是该信号的默认超载。
这个信号被发射时的数据库职位为驾驶员所预订的事件通知。_name_标识事件的通知。
此功能被引入Qt的4.4 。
**See also** [subscribeToNotification](qsqldriver.html#subscribeToNotification)( ) 。
- PyQt4 中文文档
- PyQt Class Reference
- QAbstractAnimation Class Reference
- QAbstractButton Class Reference
- QAbstractEventDispatcher Class Reference
- QAbstractExtensionFactory Class Reference
- QAbstractExtensionManager Class Reference
- QAbstractFileEngine Class Reference
- QAbstractFileEngineHandler Class Reference
- QAbstractFileEngineIterator Class Reference
- QAbstractFormBuilder Class Reference
- QAbstractGraphicsShapeItem Class Reference
- QAbstractItemDelegate Class Reference
- QAbstractItemModel Class Reference
- QAbstractItemView Class Reference
- QAbstractListModel Class Reference
- QAbstractMessageHandler Class Reference
- QAbstractNetworkCache Class Reference
- QAbstractPrintDialog Class Reference
- QAbstractProxyModel Class Reference
- QAbstractScrollArea Class Reference
- QAbstractSlider Class Reference
- QAbstractSocket Class Reference
- QAbstractSpinBox Class Reference
- QAbstractState Class Reference
- QAbstractTableModel Class Reference
- QAbstractTextDocumentLayout Class Reference
- QAbstractTransition Class Reference
- QAbstractUriResolver Class Reference
- QAbstractVideoBuffer Class Reference
- QAbstractVideoSurface Class Reference
- QAbstractXmlNodeModel Class Reference
- QAbstractXmlReceiver Class Reference
- QAction Class Reference
- QActionEvent Class Reference
- QActionGroup Class Reference
- QAnimationGroup Class Reference
- QApplication Class Reference
- QAssistantClient Class Reference
- QAudio Class Reference
- QAudioDeviceInfo Class Reference
- QAudioFormat Class Reference
- QAudioInput Class Reference
- QAudioOutput Class Reference
- QAuthenticator Class Reference
- QBasicTimer Class Reference
- QBitArray Class Reference
- QBitmap Class Reference
- QBoxLayout Class Reference
- QBrush Class Reference
- QBuffer Class Reference
- QButtonGroup Class Reference
- QByteArray Class Reference
- QByteArrayMatcher Class Reference
- QCalendarWidget Class Reference
- QChar Class Reference
- QCheckBox Class Reference
- QChildEvent Class Reference
- QClipboard Class Reference
- QCloseEvent Class Reference
- QColor Class Reference
- QColorDialog Class Reference
- QColumnView Class Reference
- QComboBox Class Reference
- QCommandLinkButton Class Reference
- QCommonStyle Class Reference
- QCompleter Class Reference
- QConicalGradient Class Reference
- QContextMenuEvent Class Reference
- QCoreApplication Class Reference
- QCryptographicHash Class Reference
- QCursor Class Reference
- QDataStream Class Reference
- QDataWidgetMapper Class Reference
- QDate Class Reference
- QDateEdit Class Reference
- QDateTime Class Reference
- QDateTimeEdit Class Reference
- QDBus Class Reference
- QDBusAbstractAdaptor Class Reference
- QDBusAbstractInterface Class Reference
- QDBusArgument Class Reference
- QDBusConnection Class Reference
- QDBusConnectionInterface Class Reference
- QDBusError Class Reference
- QDBusInterface Class Reference
- QDBusMessage Class Reference
- QDBusObjectPath Class Reference
- QDBusPendingCall Class Reference
- QDBusPendingCallWatcher Class Reference
- QDBusPendingReply Class Reference
- QDBusReply Class Reference
- QDBusServiceWatcher Class Reference
- QDBusSignature Class Reference
- QDBusUnixFileDescriptor Class Reference
- QDBusVariant Class Reference
- QDeclarativeComponent Class Reference
- QDeclarativeContext Class Reference
- QDeclarativeEngine Class Reference
- QDeclarativeError Class Reference
- QDeclarativeExpression Class Reference
- QDeclarativeExtensionPlugin Class Reference
- QDeclarativeImageProvider Class Reference
- QDeclarativeItem Class Reference
- QDeclarativeListReference Class Reference
- QDeclarativeNetworkAccessManagerFactory Class Reference
- QDeclarativeParserStatus Class Reference
- QDeclarativeProperty Class Reference
- QDeclarativePropertyMap Class Reference
- QDeclarativePropertyValueSource Class Reference
- QDeclarativeScriptString Class Reference
- QDeclarativeView Class Reference
- QDesignerActionEditorInterface Class Reference
- QDesignerContainerExtension Class Reference
- QDesignerCustomWidgetCollectionInterface Class Reference
- QDesignerCustomWidgetInterface Class Reference
- QDesignerFormEditorInterface Class Reference
- QDesignerFormWindowCursorInterface Class Reference
- QDesignerFormWindowInterface Class Reference
- QDesignerFormWindowManagerInterface Class Reference
- QDesignerMemberSheetExtension Class Reference
- QDesignerObjectInspectorInterface Class Reference
- QDesignerPropertyEditorInterface Class Reference
- QDesignerPropertySheetExtension Class Reference
- QDesignerTaskMenuExtension Class Reference
- QDesignerWidgetBoxInterface Class Reference
- QDesktopServices Class Reference
- QDesktopWidget Class Reference
- QDial Class Reference
- QDialog Class Reference
- QDialogButtonBox Class Reference
- QDir Class Reference
- QDirIterator Class Reference
- QDirModel Class Reference
- QDockWidget Class Reference
- QDomAttr Class Reference
- QDomCDATASection Class Reference
- QDomCharacterData Class Reference
- QDomComment Class Reference
- QDomDocument Class Reference
- QDomDocumentFragment Class Reference
- QDomDocumentType Class Reference
- QDomElement Class Reference
- QDomEntity Class Reference
- QDomEntityReference Class Reference
- QDomImplementation Class Reference
- QDomNamedNodeMap Class Reference
- QDomNode Class Reference
- QDomNodeList Class Reference
- QDomNotation Class Reference
- QDomProcessingInstruction Class Reference
- QDomText Class Reference
- QDoubleSpinBox Class Reference
- QDoubleValidator Class Reference
- QDrag Class Reference
- QDragEnterEvent Class Reference
- QDragLeaveEvent Class Reference
- QDragMoveEvent Class Reference
- QDropEvent Class Reference
- QDynamicPropertyChangeEvent Class Reference
- QEasingCurve Class Reference
- QElapsedTimer Class Reference
- QErrorMessage Class Reference
- QEvent Class Reference
- QEventLoop Class Reference
- QEventTransition Class Reference
- QExtensionFactory Class Reference
- QExtensionManager Class Reference
- QFile Class Reference
- QFileDialog Class Reference
- QFileIconProvider Class Reference
- QFileInfo Class Reference
- QFileOpenEvent Class Reference
- QFileSystemModel Class Reference
- QFileSystemWatcher Class Reference
- QFinalState Class Reference
- QFocusEvent Class Reference
- QFocusFrame Class Reference
- QFont Class Reference
- QFontComboBox Class Reference
- QFontDatabase Class Reference
- QFontDialog Class Reference
- QFontInfo Class Reference
- QFontMetrics Class Reference
- QFontMetricsF Class Reference
- QFormBuilder Class Reference
- QFormLayout Class Reference
- QFrame Class Reference
- QFSFileEngine Class Reference
- QFtp Class Reference
- QGenericArgument Class Reference
- QGenericReturnArgument Class Reference
- QGesture Class Reference
- QGestureEvent Class Reference
- QGestureRecognizer Class Reference
- QGL Class Reference
- QGLBuffer Class Reference
- QGLColormap Class Reference
- QGLContext Class Reference
- QGLFormat Class Reference
- QGLFramebufferObject Class Reference
- QGLFramebufferObjectFormat Class Reference
- QGLPixelBuffer Class Reference
- QGLShader Class Reference
- QGLShaderProgram Class Reference
- QGLWidget Class Reference
- QGlyphRun Class Reference
- QGradient Class Reference
- QGraphicsAnchor Class Reference
- QGraphicsAnchorLayout Class Reference
- QGraphicsBlurEffect Class Reference
- QGraphicsColorizeEffect Class Reference
- QGraphicsDropShadowEffect Class Reference
- QGraphicsEffect Class Reference
- QGraphicsEllipseItem Class Reference
- QGraphicsGridLayout Class Reference
- QGraphicsItem Class Reference
- QGraphicsItemAnimation Class Reference
- QGraphicsItemGroup Class Reference
- QGraphicsLayout Class Reference
- QGraphicsLayoutItem Class Reference
- QGraphicsLinearLayout Class Reference
- QGraphicsLineItem Class Reference
- QGraphicsObject Class Reference
- QGraphicsOpacityEffect Class Reference
- QGraphicsPathItem Class Reference
- QGraphicsPixmapItem Class Reference
- QGraphicsPolygonItem Class Reference
- QGraphicsProxyWidget Class Reference
- QGraphicsRectItem Class Reference
- QGraphicsRotation Class Reference
- QGraphicsScale Class Reference
- QGraphicsScene Class Reference
- QGraphicsSceneContextMenuEvent Class Reference
- QGraphicsSceneDragDropEvent Class Reference
- QGraphicsSceneEvent Class Reference
- QGraphicsSceneHelpEvent Class Reference
- QGraphicsSceneHoverEvent Class Reference
- QGraphicsSceneMouseEvent Class Reference
- QGraphicsSceneMoveEvent Class Reference
- QGraphicsSceneResizeEvent Class Reference
- QGraphicsSceneWheelEvent Class Reference
- QGraphicsSimpleTextItem Class Reference
- QGraphicsSvgItem Class Reference
- QGraphicsTextItem Class Reference
- QGraphicsTransform Class Reference
- QGraphicsView Class Reference
- QGraphicsWebView Class Reference
- QGraphicsWidget Class Reference
- QGridLayout Class Reference
- QGroupBox Class Reference
- QHBoxLayout Class Reference
- QHeaderView Class Reference
- QHelpContentItem Class Reference
- QHelpContentModel Class Reference
- QHelpContentWidget Class Reference
- QHelpEngine Class Reference
- QHelpEngineCore Class Reference
- QHelpEvent Class Reference
- QHelpIndexModel Class Reference
- QHelpIndexWidget Class Reference
- QHelpSearchEngine Class Reference
- QHelpSearchQuery Class Reference
- QHelpSearchQueryWidget Class Reference
- QHelpSearchResultWidget Class Reference
- QHideEvent Class Reference
- QHistoryState Class Reference
- QHostAddress Class Reference
- QHostInfo Class Reference
- QHoverEvent Class Reference
- QHttp Class Reference
- QHttpHeader Class Reference
- QHttpMultiPart Class Reference
- QHttpPart Class Reference
- QHttpRequestHeader Class Reference
- QHttpResponseHeader Class Reference
- QIcon Class Reference
- QIconDragEvent Class Reference
- QIconEngine Class Reference
- QIconEngineV2 Class Reference
- QIdentityProxyModel Class Reference
- QImage Class Reference
- QImageIOHandler Class Reference
- QImageReader Class Reference
- QImageWriter Class Reference
- QInputContext Class Reference
- QInputContextFactory Class Reference
- QInputDialog Class Reference
- QInputEvent Class Reference
- QInputMethodEvent Class Reference
- QIntValidator Class Reference
- QIODevice Class Reference
- QItemDelegate Class Reference
- QItemEditorCreatorBase Class Reference
- QItemEditorFactory Class Reference
- QItemSelection Class Reference
- QItemSelectionModel Class Reference
- QItemSelectionRange Class Reference
- QKeyEvent Class Reference
- QKeyEventTransition Class Reference
- QKeySequence Class Reference
- QLabel Class Reference
- QLatin1Char Class Reference
- QLatin1String Class Reference
- QLayout Class Reference
- QLayoutItem Class Reference
- QLCDNumber Class Reference
- QLibrary Class Reference
- QLibraryInfo Class Reference
- QLine Class Reference
- QLinearGradient Class Reference
- QLineEdit Class Reference
- QLineF Class Reference
- QListView Class Reference
- QListWidget Class Reference
- QListWidgetItem Class Reference
- QLocale Class Reference
- QLocalServer Class Reference
- QLocalSocket Class Reference
- QMainWindow Class Reference
- QMargins Class Reference
- QMatrix Class Reference
- QMatrix2x2 Class Reference
- QMatrix2x3 Class Reference
- QMatrix2x4 Class Reference
- QMatrix3x2 Class Reference
- QMatrix3x3 Class Reference
- QMatrix3x4 Class Reference
- QMatrix4x2 Class Reference
- QMatrix4x3 Class Reference
- QMatrix4x4 Class Reference
- QMdiArea Class Reference
- QMdiSubWindow Class Reference
- QMenu Class Reference
- QMenuBar Class Reference
- QMessageBox Class Reference
- QMetaClassInfo Class Reference
- QMetaEnum Class Reference
- QMetaMethod Class Reference
- QMetaObject Class Reference
- QMetaProperty Class Reference
- QMetaType Class Reference
- QMimeData Class Reference
- QMimeSource Class Reference
- QModelIndex Class Reference
- QMouseEvent Class Reference
- QMouseEventTransition Class Reference
- QMoveEvent Class Reference
- QMovie Class Reference
- QMutex Class Reference
- QMutexLocker Class Reference
- QNetworkAccessManager Class Reference
- QNetworkAddressEntry Class Reference
- QNetworkCacheMetaData Class Reference
- QNetworkConfiguration Class Reference
- QNetworkConfigurationManager Class Reference
- QNetworkCookie Class Reference
- QNetworkCookieJar Class Reference
- QNetworkDiskCache Class Reference
- QNetworkInterface Class Reference
- QNetworkProxy Class Reference
- QNetworkProxyFactory Class Reference
- QNetworkProxyQuery Class Reference
- QNetworkReply Class Reference
- QNetworkRequest Class Reference
- QNetworkSession Class Reference
- QObject Class Reference
- QObjectCleanupHandler Class Reference
- QPageSetupDialog Class Reference
- QPaintDevice Class Reference
- QPaintEngine Class Reference
- QPaintEngineState Class Reference
- QPainter Class Reference
- QPainterPath Class Reference
- QPainterPathStroker Class Reference
- QPaintEvent Class Reference
- QPalette Class Reference
- QPanGesture Class Reference
- QParallelAnimationGroup Class Reference
- QPauseAnimation Class Reference
- QPen Class Reference
- QPersistentModelIndex Class Reference
- QPicture Class Reference
- QPictureIO Class Reference
- QPinchGesture Class Reference
- QPixmap Class Reference
- QPixmapCache Class Reference
- QPlainTextDocumentLayout Class Reference
- QPlainTextEdit Class Reference
- QPluginLoader Class Reference
- QPoint Class Reference
- QPointF Class Reference
- QPolygon Class Reference
- QPolygonF Class Reference
- QPrintDialog Class Reference
- QPrintEngine Class Reference
- QPrinter Class Reference
- QPrinterInfo Class Reference
- QPrintPreviewDialog Class Reference
- QPrintPreviewWidget Class Reference
- QProcess Class Reference
- QProcessEnvironment Class Reference
- QProgressBar Class Reference
- QProgressDialog Class Reference
- QPropertyAnimation Class Reference
- QProxyModel Class Reference
- QPushButton Class Reference
- QPyDeclarativePropertyValueSource Class Reference
- QPyDesignerContainerExtension Class Reference
- QPyDesignerCustomWidgetCollectionPlugin Class Reference
- QPyDesignerCustomWidgetPlugin Class Reference
- QPyDesignerMemberSheetExtension Class Reference
- QPyDesignerPropertySheetExtension Class Reference
- QPyDesignerTaskMenuExtension Class Reference
- QPyNullVariant Class Reference
- QPyTextObject Class Reference
- QQuaternion Class Reference
- QRadialGradient Class Reference
- QRadioButton Class Reference
- QRawFont Class Reference
- QReadLocker Class Reference
- QReadWriteLock Class Reference
- QRect Class Reference
- QRectF Class Reference
- QRegExp Class Reference
- QRegExpValidator Class Reference
- QRegion Class Reference
- QResizeEvent Class Reference
- QResource Class Reference
- QRubberBand Class Reference
- QRunnable Class Reference
- QScriptClass Class Reference
- QScriptClassPropertyIterator Class Reference
- QScriptContext Class Reference
- QScriptContextInfo Class Reference
- QScriptEngine Class Reference
- QScriptEngineAgent Class Reference
- QScriptEngineDebugger Class Reference
- QScriptString Class Reference
- QScriptSyntaxCheckResult Class Reference
- QScriptValue Class Reference
- QScriptValueIterator Class Reference
- QScrollArea Class Reference
- QScrollBar Class Reference
- QSemaphore Class Reference
- QSequentialAnimationGroup Class Reference
- QSessionManager Class Reference
- QSettings Class Reference
- QSharedMemory Class Reference
- QShortcut Class Reference
- QShortcutEvent Class Reference
- QShowEvent Class Reference
- QSignalMapper Class Reference
- QSignalTransition Class Reference
- QSimpleXmlNodeModel Class Reference
- QSize Class Reference
- QSizeF Class Reference
- QSizeGrip Class Reference
- QSizePolicy Class Reference
- QSlider Class Reference
- QSocketNotifier Class Reference
- QSortFilterProxyModel Class Reference
- QSound Class Reference
- QSourceLocation Class Reference
- QSpacerItem Class Reference
- QSpinBox Class Reference
- QSplashScreen Class Reference
- QSplitter Class Reference
- QSplitterHandle Class Reference
- QSql Class Reference
- QSqlDatabase Class Reference
- QSqlDriver Class Reference
- QSqlDriverCreatorBase Class Reference
- QSqlError Class Reference
- QSqlField Class Reference
- QSqlIndex Class Reference
- QSqlQuery Class Reference
- QSqlQueryModel Class Reference
- QSqlRecord Class Reference
- QSqlRelation Class Reference
- QSqlRelationalDelegate Class Reference
- QSqlRelationalTableModel Class Reference
- QSqlResult Class Reference
- QSqlTableModel Class Reference
- Qt4.7文档翻译:Qt样式单参考,Qt Style Sheets Reference
- QSsl Class Reference
- QSslCertificate Class Reference
- QSslCipher Class Reference
- QSslConfiguration Class Reference
- QSslError Class Reference
- QSslKey Class Reference
- QSslSocket Class Reference
- QStackedLayout Class Reference
- QStackedWidget Class Reference
- QStandardItem Class Reference
- QStandardItemModel Class Reference
- QState Class Reference
- QStateMachine Class Reference
- QStaticText Class Reference
- QStatusBar Class Reference
- QStatusTipEvent Class Reference
- QString Class Reference
- QStringList Class Reference
- QStringListModel Class Reference
- QStringMatcher Class Reference
- QStringRef Class Reference
- QStyle Class Reference
- QStyledItemDelegate Class Reference
- QStyleFactory Class Reference
- QStyleHintReturn Class Reference
- QStyleHintReturnMask Class Reference
- QStyleHintReturnVariant Class Reference
- QStyleOption Class Reference
- QStyleOptionButton Class Reference
- QStyleOptionComboBox Class Reference
- QStyleOptionComplex Class Reference
- QStyleOptionDockWidget Class Reference
- QStyleOptionDockWidgetV2 Class Reference
- QStyleOptionFocusRect Class Reference
- QStyleOptionFrame Class Reference
- QStyleOptionFrameV2 Class Reference
- QStyleOptionFrameV3 Class Reference
- QStyleOptionGraphicsItem Class Reference
- QStyleOptionGroupBox Class Reference
- QStyleOptionHeader Class Reference
- QStyleOptionMenuItem Class Reference
- QStyleOptionProgressBar Class Reference
- QStyleOptionProgressBarV2 Class Reference
- QStyleOptionRubberBand Class Reference
- QStyleOptionSizeGrip Class Reference
- QStyleOptionSlider Class Reference
- QStyleOptionSpinBox Class Reference
- QStyleOptionTab Class Reference
- QStyleOptionTabBarBase Class Reference
- QStyleOptionTabBarBaseV2 Class Reference
- QStyleOptionTabV2 Class Reference
- QStyleOptionTabV3 Class Reference
- QStyleOptionTabWidgetFrame Class Reference
- QStyleOptionTabWidgetFrameV2 Class Reference
- QStyleOptionTitleBar Class Reference
- QStyleOptionToolBar Class Reference
- QStyleOptionToolBox Class Reference
- QStyleOptionToolBoxV2 Class Reference
- QStyleOptionToolButton Class Reference
- QStyleOptionViewItem Class Reference
- QStyleOptionViewItemV2 Class Reference
- QStyleOptionViewItemV3 Class Reference
- QStyleOptionViewItemV4 Class Reference
- QStylePainter Class Reference
- QSvgGenerator Class Reference
- QSvgRenderer Class Reference
- QSvgWidget Class Reference
- QSwipeGesture Class Reference
- QSyntaxHighlighter Class Reference
- QSysInfo Class Reference
- QSystemLocale Class Reference
- QSystemSemaphore Class Reference
- QSystemTrayIcon Class Reference
- Qt Class Reference
- QTabBar Class Reference
- QTabletEvent Class Reference
- QTableView Class Reference
- QTableWidget Class Reference
- QTableWidgetItem Class Reference
- QTableWidgetSelectionRange Class Reference
- QTabWidget Class Reference
- QTapAndHoldGesture Class Reference
- QTapGesture Class Reference
- QTcpServer Class Reference
- QTcpSocket Class Reference
- QTemporaryFile Class Reference
- QTest Class Reference
- QTextBlock Class Reference
- QTextBlockFormat Class Reference
- QTextBlockGroup Class Reference
- QTextBlockUserData Class Reference
- QTextBoundaryFinder Class Reference
- QTextBrowser Class Reference
- QTextCharFormat Class Reference
- QTextCodec Class Reference
- QTextCursor Class Reference
- QTextDecoder Class Reference
- QTextDocument Class Reference
- QTextDocumentFragment Class Reference
- QTextDocumentWriter Class Reference
- QTextEdit Class Reference
- QTextEncoder Class Reference
- QTextFormat Class Reference
- QTextFragment Class Reference
- QTextFrame Class Reference
- QTextFrameFormat Class Reference
- QTextImageFormat Class Reference
- QTextInlineObject Class Reference
- QTextItem Class Reference
- QTextLayout Class Reference
- QTextLength Class Reference
- QTextLine Class Reference
- QTextList Class Reference
- QTextListFormat Class Reference
- QTextObject Class Reference
- QTextObjectInterface Class Reference
- QTextOption Class Reference
- QTextStream Class Reference
- QTextTable Class Reference
- QTextTableCell Class Reference
- QTextTableCellFormat Class Reference
- QTextTableFormat Class Reference
- QThread Class Reference
- QThreadPool Class Reference
- QTime Class Reference
- QTimeEdit Class Reference
- QTimeLine Class Reference
- QTimer Class Reference
- QTimerEvent Class Reference
- QToolBar Class Reference
- QToolBox Class Reference
- QToolButton Class Reference
- QToolTip Class Reference
- QTouchEvent Class Reference
- Reference
- QTransform Class Reference
- QTranslator Class Reference
- QTreeView Class Reference
- QTreeWidget Class Reference
- QTreeWidgetItem Class Reference
- QTreeWidgetItemIterator Class Reference
- QUdpSocket Class Reference
- QUndoCommand Class Reference
- QUndoGroup Class Reference
- QUndoStack Class Reference
- QUndoView Class Reference
- QUrl Class Reference
- QUrlInfo Class Reference
- QUuid Class Reference
- QValidator Class Reference
- QVariant Class Reference
- QVariantAnimation Class Reference
- QVBoxLayout Class Reference
- QVector2D Class Reference
- QVector3D Class Reference
- QVector4D Class Reference
- QVideoFrame Class Reference
- QVideoSurfaceFormat Class Reference
- QWaitCondition Class Reference
- QWebDatabase Class Reference
- QWebElement Class Reference
- QWebElementCollection Class Reference
- QWebFrame Class Reference
- QWebHistory Class Reference
- QWebHistoryInterface Class Reference
- QWebHistoryItem Class Reference
- QWebHitTestResult Class Reference
- QWebInspector Class Reference
- QWebPage Class Reference
- QWebPluginFactory Class Reference
- QWebSecurityOrigin Class Reference
- QWebSettings Class Reference
- QWebView Class Reference
- QWhatsThis Class Reference
- QWhatsThisClickedEvent Class Reference
- QWheelEvent Class Reference
- QWidget Class Reference
- QWidgetAction Class Reference
- QWidgetItem Class Reference
- QWindowStateChangeEvent Class Reference
- QWizard Class Reference
- QWizardPage Class Reference
- QWorkspace Class Reference
- QWriteLocker Class Reference
- QX11EmbedContainer Class Reference
- QX11EmbedWidget Class Reference
- QX11Info Class Reference
- QXmlAttributes Class Reference
- QXmlContentHandler Class Reference
- QXmlDeclHandler Class Reference
- QXmlDefaultHandler Class Reference
- QXmlDTDHandler Class Reference
- QXmlEntityResolver Class Reference
- QXmlErrorHandler Class Reference
- QXmlFormatter Class Reference
- QXmlInputSource Class Reference
- QXmlItem Class Reference
- QXmlLexicalHandler Class Reference
- QXmlLocator Class Reference
- QXmlName Class Reference
- QXmlNamePool Class Reference
- QXmlNamespaceSupport Class Reference
- QXmlNodeModelIndex Class Reference
- QXmlParseException Class Reference
- QXmlQuery Class Reference
- QXmlReader Class Reference
- QXmlResultItems Class Reference
- QXmlSchema Class Reference
- QXmlSchemaValidator Class Reference
- QXmlSerializer Class Reference
- QXmlSimpleReader Class Reference
- QXmlStreamAttribute Class Reference
- QXmlStreamAttributes Class Reference
- QXmlStreamEntityDeclaration Class Reference
- QXmlStreamEntityResolver Class Reference
- QXmlStreamNamespaceDeclaration Class Reference
- QXmlStreamNotationDeclaration Class Reference
- QXmlStreamReader Class Reference
- QXmlStreamWriter Class Reference