targetSquare judges which square the position falls in. The point scaling calculation method should not be used. The return value of QPoint operator/ will be rounded up. Modified to separate the x and y of position to calculate. Fixes: QTBUG-81842 Change-Id: I70375185a78ba47efe01be3fd490e0fb0f456e17 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> |
||
|---|---|---|
| .. | ||
| addressbook | ||
| basicsortfiltermodel | ||
| chart | ||
| coloreditorfactory | ||
| combowidgetmapper | ||
| customsortfiltermodel | ||
| dirview | ||
| editabletreemodel | ||
| fetchmore | ||
| flattreeview | ||
| frozencolumn | ||
| interview | ||
| pixelator | ||
| puzzle | ||
| simpledommodel | ||
| simpletreemodel | ||
| simplewidgetmapper | ||
| spinboxdelegate | ||
| spreadsheet | ||
| stardelegate | ||
| storageview | ||
| .prev_CMakeLists.txt | ||
| CMakeLists.txt | ||
| README | ||
| itemviews.pro | ||
README
Item views are widgets that typically display data sets. Qt 4's model/view framework lets you handle large data sets by separating the underlying data from the way it is represented to the user, and provides support for customized rendering through the use of delegates. Documentation for these examples can be found via the Examples link in the main Qt documentation.