I

icon; see QIcon icon, for dragging, 316

icon, hotspot, 316

idealWidth() (QTextDocument), 390,

439,489 identifiers, 36 identity comparison of, 13, 57 operators, 47

see also id(), and is statement IDEs (integrated development environments) Eric4, 2, 10, 382 IDLE, 9, 10, 60, 105, 382 if statement, 46-49

conditional expression, 49

ignore() (QEvent), 186,314 image; see QImage image formats, 193 Image Changer application,

165-200 images, 168,193,195,196 images, printing, 363 immutable objects, 15,16,20,23,29, 34, 35, 37, 57

import statement, 18,19

from_future_, 86, 549

paths, 60 importing files, 229

in-memory databases, 446 in operator, 25, 33, 36, 38, 45, 96 in-place editing, 414, 458 incomingConnection() (QTcpServer),

530, 539 indentation, 46 index() list, 33

QAbstractItemModel, 433,465,468, 504

QModellndex, 427 str/unicode, 24, 25,68 indexing, 22, 30, 32 indexOf() (QString), 306, 387, 388 infinite recursion, risk of, 100 information() (QMessageBox), 188 inheritance, 76, 99-103,103

_init_.py module, 104

initial processing, 184 initializers, 77

inputMask property (QLineEdit), 157 insert() (list), 33, 500 insertBlock() (QTextCursor), 404 insertImage() (QTextCursor), 404 insertion point, 386, 392, 393, 404 insertPlainText() (QTextEdit), 297 insertRecord() (QSqlTableModel), 464 insertRow() (QAbstractItemModel),

433, 465, 468 insertRows() (QAbstractItemModel),

426, 427, 432, 433 insertTable() (QTextCursor), 404 insertText() (QTextCursor), 384, 404 insort() (bisect), 499, 532, 543 insort_left() (bisect), 95,238 insort_right() (bisect), 499 installEventFilter() (QObject), 304 installTranslator() (QCoreApplica-

tion), 516 instances callable, 97,102 copying, 88, 89 see also objects int(),40, 84,91,256 int type, 16-17, 241

%i and %d format specifiers, 26 promotion to float, 14, 20 promotion to long, 17 see also long type

integer literals, 17

integrated development environments; see IDEs interactive, use of Python, 60 Interbase database, 445 interdependent actions; see also QAc-

tion, 176 interdependent values; see form-level validation interfaces, 102

internalPointer() (QModelIndex), 504 interpreter, Python, 60 intersection^ (set), 38 introspection, 102, 105 invertPixels() (QImage), 197 IOError exception, 243,244 is statement, 13, 47, 57 isActive() (QSqlQuery), 449, 450 isAlive() helper, 287-288, 289 isalpha() (str/unicode),25 isChecked() (QAction), 172, 176 isdigit() (str/unicode), 25,238, 554 isEmpty() QString, 233 QTextDocument, 385 isEnabled() (QAction), 172 isFile() (QFileInfo), 294 isinstance(), 39, 94,102, 135,289, 296, 359, 372, 375, 393, 395, 440, 496, 499, 502, 503 isModified() (QTextDocument), 287,

385 isNull() QDate, 45 QDateTime, 45 QDomNode, 260 QImage, 400 QPixmap, 496 QString, 45 QStringList, 45 QTime, 45 ISO date format, 250, 258 isObscured() (QGraphicsItem), 366 isOpen() (QDataStream), 525 isRunning() (QThread), 547, 551 isSelected() (QGraphicsItem), 366 issubset() (set),38

isValid()

QModelIndex, 427,428, 504 QSqlQuery, 450 item() (QTableWidget), 422 itemChange() (QGraphicsItem), 362, 366

itemChanged() signal (QTableWidget),

QGraphicsScene, 354, 372 iter(), 97, 237

iterable, 50

iteration; see for loop, while loop, and generators iterator protocol, 52 iterators, 52, 54, 87, 92, 97 iteritems() (dict), 97,98 iterkeys() (dict), 97 itervalues() (dict), 97 __itruediv__() (/=), 84, 91

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