T

Tab keypress, 206,218, 310, 386,390,

421, 422,511 tab order, 206, 215, 217, 310 tab widget; see QTabWidget table widget; see QTableWidget tagName() (QDomElement), 260 takeItem() (QListWidgetItem), 316 takeLast() (QStringList), 189 taskbar entries, 142 TCP (Transmission Control Protocol), 522 Template class (string), 26 terminating applications, 115, 121, 185

terminology, 13, 75 ternary operator; see conditional expression testing for errors vs. exception handling, 68 testing, user interface, 221-222 testmod() (doctest), 106 text cursor; see insertion point text editor; see QTextEdit text files, 249-256 text()

QClipboard, 297, 311 QLineEdit, 441 QTableWidgetItem, 422 text stream; see QTextStream text stream reading and writing,

250, 252, 258 textCursor() (QTextEdit), 297, 384, 385

textEdited() signal (QLineEdit), 161, 217,218

textFromValue() (QSpinBox), 327, 328 this pointer; see self thread safety, 541-542 time module sleep(), 114,115 see also QTime timeout() signal (QTimer), 373, 376 timer;see QTimer timerEvent() (QObject), 372 times; see QDateTime, QTime, and time module title bar, 115 title() (str/unicode),24 toBool() (QVariant), 324 toDate() (QVariant), 487, 491 toDateTime() (QVariant),449 toDouble() (QVariant),481 toElement() (QDomNode), 260 toFirst() (QDataWidgetMapper), 453, 456

toggle actions, 176 see also QAction toggle button, 276, 278 see also QPushButton toggled() signal

QAbstractButton, 277,280 QAction, 172,176,177 toHtml()

QTextDocument, 407 QTextEdit, 395 toInt()

QString, 251, 422 QVariant, 395, 431,449 toLongLong() (QVariant),422 toNativeSeparators() (QDir), 547, 551

toolbar; see QToolBar toolbar buttons, 169

tools; see applications tooltip; see QToolTip top-level windows, 115,118,221

toPlainText()

QGraphicsTextItem, 359 QTextEdit, 384, 395 toPyDate() (QDate), 532, 541 toString()

QDate, 258, 401 QDateTime, 455

QDomDocument, 257, 260 QVariant, 427,431,441, 449, 488 toText() (QDomNode), 261 toUpper() (QString), 327 tr() (QObject), 513, 514, 515 transaction^ (QSqlDatabase),449,

465, 468, 469 transactions, database, 465-466, 468

transformations, graphics, 349, 350,

356, 360, 370, 374, 376, 438 translated

QCoreApplication, 513, 515 QGraphicsItem, 367 QPainter, 343, 438, 489 triggered() signal (QAction), 172, 176

trimmed() (QString), 252, 422 triple quoted strings, 21, 57 True constant, 45 "true" division, 17, 84, 86

truncating division, 17, 84, 86, 91 trUtf8() (QObject), 513 try statement, 66, 78, 541, 542, 543, 548,550, 551, 553,554, 556 else statement, 70, 295 see also except statement and finally statement .ts (translation source file), 517,

518,519 tuple type, 29-31, 30, 50, 87 Twisted networking framework, 522

type conversions; see conversions type(), 18,39,102

see also isinstance() type() (QEvent), 384 type promotion; see conversions type testing, 94 TypeError exception, 56 typing; see duck typing, dynamic typing, and static typing

Was this article helpful?

0 0
Tube Traffic Ninja

Tube Traffic Ninja

Discover How You Can Quickly And Easily Dominate Google and YouTube... With Simple Cash Generating Videos. Did you know that YouTube is the second largest search website on the entire Internet? YouTube gets more daily searches than Bing and Yahoo. In fact, there is only one search engine that gets more action.

Get My Free Ebook


Post a comment