F

F2 keypress, 417, 422,440 False constant, 45 fatalError() (QXmlErrorHandler), 263 field-level validation, 140 fieldIndex() (QSqlTableModel), 456 file; see file type, open(), and QFile file dialog; see QFileDialog file error handling, 244 file extensions

.pro (C++/Qt project file), 518 .py and .pyw (Python file), 11,111, 207

.pyc and .pyo (Python bytecode file), 11,207

.qm (Qt message file), 516, 518 .qrc (PyQt resource file), 173, 207,517

.ts (translation source file), 517, 518,519

.ui (user interface file), 206, 207, 515

file formats, 241

file handle, generator, 70

file type close(), 70, 555 __file__ variable, 173 fileName() (QFilelnfo), 189 files, 70, 229 fill() (QPixmap), 392

fillPath() (QPainter), 344 fillRect() (QPainter), 344,438,481, 489

finally statement, 66, 70-71, 78, 541, 542,543, 548, 550,551,553, 554, 556

see also except statement and try statement financial calculations, 18 find() (str/unicode), 24,25, 68 findText() (QComboBox), 142,441, 457 first() (QSqlQuery), 450 firstChild() (QDomNode),260 fixed size, of widget, 277 flags() (QAbstractltemModel), 427,

430,433 flags, window, 115 float(), 40, 84,91 float type, 17-20,241 %f format specifier, 26

floating-point division; see "true" division

focus; see keyboard focus font; see QFont font()

QGraphicsTextItem, 359 QWidget, 336, 342 for loop, 50-51, 54,59 break statement, 53 continue statement, 53 else statement, 50, 53, 254 vs. list comprehensions, 96-97 foreign keys, 455-457 form design; see user interface design form-level validation, 140, 158,491 format specifiers, for %, 26 formats, of images, 193 formatting, of characters, 397 forms, previewing, 215 FractionSlider example class,

331-338 frame; see QFrame frange() example, 55-57

from_future_import division, 86

from __future__ import with_statement, 549 from ... import statement; see import statement fromImage() (QPixmap), 199 frozenset type, 37, 552 function definitions, nested, 261 functions; see under the functions' names, and built-ins as closures, 64 dynamic definitions, 62-63 nested, 65,261 object references to, 63, 64 signatures, 56

wrapping; see partial function application functools module partial(), 64-65, 133,365

Was this article helpful?

0 0
Video Marketing Gold

Video Marketing Gold

Do you already know the huge impact that video could have on your online business BUT have no idea where to begin with it? Discover Exactly How You Can Start Taking Advantage of Video Marketing In Your Online Business... Even If You're a Total Newbie... Starting Today.

Get My Free Ebook


Post a comment