Sophie

Sophie

distrib > Mageia > 6 > armv5tl > media > core-updates > by-pkgid > 768f7d9f703884aa2562bf0a651086df > files > 2423

qtbase5-doc-5.9.4-1.1.mga6.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qtwidgets-examples.qdoc -->
  <title>Item Views Examples | Qt Widgets 5.9</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td >Qt 5.9</td><td ><a href="qtwidgets-index.html">Qt Widgets</a></td><td >Item Views Examples</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.9.4 Reference Documentation</td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Item Views Examples</h1>
<span class="subtitle"></span>
<!-- $$$examples-itemviews-description -->
<div class="descr"> <a name="details"></a>
<p class="centerAlign"><img src="images/itemviews-examples.png" alt="" /></p><p>Qt provides a lot of capabalities to display pre- and user-defined item models in different ways. The separation of functionality introduced by the model/view architecture gives developers greater flexibility to customize the presentation of items.</p>
</div>
<!-- @@@examples-itemviews -->
<div class="table"><table class="annotated">
<tr class="odd topAlign"><td class="tblName"><p><a href="qtwidgets-itemviews-addressbook-example.html">Address Book Example</a></p></td><td class="tblDescr"><p>The address book example shows how to use proxy models to display different views onto data from a single model.</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qtwidgets-itemviews-basicsortfiltermodel-example.html">Basic Sort/Filter Model Example</a></p></td><td class="tblDescr"><p>The Basic Sort/Filter Model example illustrates how to use QSortFilterProxyModel to perform basic sorting and filtering.</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qtwidgets-itemviews-chart-example.html">Chart Example</a></p></td><td class="tblDescr"><p>The Chart example shows how to create a custom view for the model/view framework.</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qtwidgets-itemviews-coloreditorfactory-example.html">Color Editor Factory Example</a></p></td><td class="tblDescr"><p>This example shows how to create an editor that can be used by a QItemDelegate.</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qtwidgets-itemviews-combowidgetmapper-example.html">Combo Widget Mapper Example</a></p></td><td class="tblDescr"><p>The Combo Widget Mapper example shows how to use a custom delegate to map information from a model to specific widgets on a form.</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qtwidgets-itemviews-customsortfiltermodel-example.html">Custom Sort/Filter Model Example</a></p></td><td class="tblDescr"><p>The Custom Sort/Filter Model example illustrates how to subclass QSortFilterProxyModel to perform advanced sorting and filtering.</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qtwidgets-itemviews-dirview-example.html">Dir View Example</a></p></td><td class="tblDescr"><p>This example demonstrates the usage of a tree view.</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qtwidgets-itemviews-editabletreemodel-example.html">Editable Tree Model Example</a></p></td><td class="tblDescr"><p>This example shows how to implement a simple item-based tree model that can be used with other classes the model/view framework.</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qtwidgets-itemviews-fetchmore-example.html">Fetch More Example</a></p></td><td class="tblDescr"><p>The Fetch More example shows how two add items to an item view model on demand.</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qtwidgets-itemviews-frozencolumn-example.html">Frozen Column Example</a></p></td><td class="tblDescr"><p>This example demonstrates how to freeze a column within a QTableView.</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qtwidgets-itemviews-interview-example.html">Interview</a></p></td><td class="tblDescr"><p>This example demonstrates the usage of the model/view framework.</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qtwidgets-itemviews-puzzle-example.html">Item Views Puzzle Example</a></p></td><td class="tblDescr"><p>The Puzzle example shows how to enable drag and drop with a custom model to allow items to be transferred between a view and another widget.</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qtwidgets-itemviews-pixelator-example.html">Pixelator Example</a></p></td><td class="tblDescr"><p>The Pixelator example shows how delegates can be used to customize the way that items are rendered in standard item views.</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qtwidgets-itemviews-simpledommodel-example.html">Simple DOM Model Example</a></p></td><td class="tblDescr"><p>The Simple DOM Model example shows how an existing class can be adapted for use with the model/view framework.</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qtwidgets-itemviews-simpletreemodel-example.html">Simple Tree Model Example</a></p></td><td class="tblDescr"><p>The Simple Tree Model example shows how to use a hierarchical model with Qt's standard view classes.</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qtwidgets-itemviews-simplewidgetmapper-example.html">Simple Widget Mapper Example</a></p></td><td class="tblDescr"><p>The Simple Widget Mapper example shows how to use a widget mapper to display data from a model in a collection of widgets.</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qtwidgets-itemviews-spinboxdelegate-example.html">Spin Box Delegate Example</a></p></td><td class="tblDescr"><p>The Spin Box Delegate example shows how to create an editor for a custom delegate in the model/view framework by reusing a standard Qt editor widget.</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qtwidgets-itemviews-spreadsheet-example.html">Spreadsheet</a></p></td><td class="tblDescr"><p>The Spreadsheet example shows how to create a simple spreadsheet application.</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qtwidgets-itemviews-stardelegate-example.html">Star Delegate Example</a></p></td><td class="tblDescr"><p>The Star Delegate example shows how to create a delegate that can paint itself and that supports editing.</p></td></tr>
</table></div>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2017 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>