Fix linking of itemviews and graphicsview examples

Change-Id: I6905cc6945e2eb396108f9fb16da042e576e3afb
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
This commit is contained in:
Christian Stenger 2012-11-30 16:31:06 +01:00 committed by The Qt Project
parent ab97a44b6a
commit 36d12783c9
31 changed files with 70 additions and 26 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

View File

@ -28,7 +28,7 @@
/*! /*!
\example itemviews/addressbook \example itemviews/addressbook
\title Address Book Example \title Address Book Example
\ingroup examples-itemviews
\brief The address book example shows how to use proxy models to display \brief The address book example shows how to use proxy models to display
different views onto data from a single model. different views onto data from a single model.

View File

@ -28,6 +28,8 @@
/*! /*!
\example graphicsview/basicgraphicslayouts \example graphicsview/basicgraphicslayouts
\title Basic Graphics Layouts Example \title Basic Graphics Layouts Example
\ingroup examples-graphicsview
\brief This example shows how to use some basic layouts.
\brief The Basic Graphics Layouts example shows how to use the layout classes \brief The Basic Graphics Layouts example shows how to use the layout classes
in QGraphicsView: QGraphicsLinearLayout and QGraphicsGridLayout. in QGraphicsView: QGraphicsLinearLayout and QGraphicsGridLayout.

View File

@ -28,7 +28,7 @@
/*! /*!
\example itemviews/basicsortfiltermodel \example itemviews/basicsortfiltermodel
\title Basic Sort/Filter Model Example \title Basic Sort/Filter Model Example
\ingroup examples-itemviews
\brief The Basic Sort/Filter Model example illustrates how to use \brief The Basic Sort/Filter Model example illustrates how to use
QSortFilterProxyModel to perform basic sorting and filtering. QSortFilterProxyModel to perform basic sorting and filtering.

View File

@ -28,7 +28,7 @@
/*! /*!
\example graphicsview/boxes \example graphicsview/boxes
\title Boxes \title Boxes
\ingroup examples-graphicsview
\brief This demo shows Qt's ability to combine advanced OpenGL rendering with the \brief This demo shows Qt's ability to combine advanced OpenGL rendering with the
the \l{Graphics View Framework}. the \l{Graphics View Framework}.

View File

@ -28,7 +28,7 @@
/*! /*!
\example itemviews/chart \example itemviews/chart
\title Chart Example \title Chart Example
\ingroup examples-itemviews
\brief The Chart example shows how to create a custom view for the model/view framework. \brief The Chart example shows how to create a custom view for the model/view framework.
\image chart-example.png \image chart-example.png

View File

@ -28,9 +28,11 @@
/*! /*!
\example graphicsview/chip \example graphicsview/chip
\title 40000 Chips \title 40000 Chips
\ingroup examples-graphicsview
\brief This demo shows how to visualize a huge scene with 40000 chip items \brief This demo shows how to visualize a huge scene with 40000 chip items
using Graphics View. It also shows Graphics View's powerful navigation using Graphics View.
It also shows Graphics View's powerful navigation
and interaction features, allowing you to zoom and rotate each of four and interaction features, allowing you to zoom and rotate each of four
views independently, and you can select and move items around the scene. views independently, and you can select and move items around the scene.

View File

@ -28,7 +28,7 @@
/*! /*!
\example itemviews/coloreditorfactory \example itemviews/coloreditorfactory
\title Color Editor Factory Example \title Color Editor Factory Example
\ingroup examples-itemviews
\brief This example shows how to create an editor that can be used by \brief This example shows how to create an editor that can be used by
a QItemDelegate. a QItemDelegate.

View File

@ -28,7 +28,7 @@
/*! /*!
\example itemviews/combowidgetmapper \example itemviews/combowidgetmapper
\title Combo Widget Mapper Example \title Combo Widget Mapper Example
\ingroup examples-itemviews
\brief The Combo Widget Mapper example shows how to use a custom delegate to \brief The Combo Widget Mapper example shows how to use a custom delegate to
map information from a model to specific widgets on a form. map information from a model to specific widgets on a form.

View File

@ -28,7 +28,7 @@
/*! /*!
\example itemviews/customsortfiltermodel \example itemviews/customsortfiltermodel
\title Custom Sort/Filter Model Example \title Custom Sort/Filter Model Example
\ingroup examples-itemviews
\brief The Custom Sort/Filter Model example illustrates how to subclass \brief The Custom Sort/Filter Model example illustrates how to subclass
QSortFilterProxyModel to perform advanced sorting and filtering. QSortFilterProxyModel to perform advanced sorting and filtering.

View File

@ -28,7 +28,7 @@
/*! /*!
\example graphicsview/diagramscene \example graphicsview/diagramscene
\title Diagram Scene Example \title Diagram Scene Example
\ingroup examples-graphicsview
\brief This example shows use of Qt's graphics framework. \brief This example shows use of Qt's graphics framework.
\image diagramscene.png \image diagramscene.png

View File

@ -28,6 +28,8 @@
/*! /*!
\example itemviews/dirview \example itemviews/dirview
\title Dir View Example \title Dir View Example
\ingroup examples-itemviews
\brief This example demonstrates the usage of a tree view.
\brief The Dir View example shows a tree view onto the local filing system. It uses the \brief The Dir View example shows a tree view onto the local filing system. It uses the
QDirModel class to provide file and directory information. QDirModel class to provide file and directory information.

View File

@ -28,7 +28,7 @@
/*! /*!
\example graphicsview/dragdroprobot \example graphicsview/dragdroprobot
\title Drag and Drop Robot Example \title Drag and Drop Robot Example
\ingroup examples-graphicsview
\brief The Drag and Drop Robot example shows how to implement Drag and Drop in a \brief The Drag and Drop Robot example shows how to implement Drag and Drop in a
QGraphicsItem subclass, as well as how to animate items using Qt's QGraphicsItem subclass, as well as how to animate items using Qt's
\l{Animation Framework}. \l{Animation Framework}.

View File

@ -28,7 +28,7 @@
/*! /*!
\example itemviews/editabletreemodel \example itemviews/editabletreemodel
\title Editable Tree Model Example \title Editable Tree Model Example
\ingroup examples-itemviews
\brief This example shows how to implement a simple item-based tree model that can \brief This example shows how to implement a simple item-based tree model that can
be used with other classes the model/view framework. be used with other classes the model/view framework.

View File

@ -28,9 +28,11 @@
/*! /*!
\example graphicsview/elasticnodes \example graphicsview/elasticnodes
\title Elastic Nodes Example \title Elastic Nodes Example
\ingroup examples-graphicsview
\brief The Elastic Nodes example shows how to implement edges between nodes in a \brief The Elastic Nodes example shows how to implement edges between nodes in a
graph, with basic interaction. You can click to drag a node around, and graph, with basic interaction.
You can click to drag a node around, and
zoom in and out using the mouse wheel or the keyboard. Hitting the space zoom in and out using the mouse wheel or the keyboard. Hitting the space
bar will randomize the nodes. The example is also resolution independent; bar will randomize the nodes. The example is also resolution independent;
as you zoom in, the graphics remain crisp. as you zoom in, the graphics remain crisp.

View File

@ -28,9 +28,11 @@
/*! /*!
\example graphicsview/embeddeddialogs \example graphicsview/embeddeddialogs
\title Embedded Dialogs \title Embedded Dialogs
\ingroup examples-graphicsview
\brief This example shows how to embed standard dialogs into \brief This example shows how to embed standard dialogs into
Graphics View. It also shows how you can customize the Graphics View.
It also shows how you can customize the
proxy class and add window shadows. proxy class and add window shadows.
\image embeddeddialogs-demo.png \image embeddeddialogs-demo.png

View File

@ -28,7 +28,7 @@
/*! /*!
\example itemviews/fetchmore \example itemviews/fetchmore
\title Fetch More Example \title Fetch More Example
\ingroup examples-itemviews
\brief The Fetch More example shows how two add items to an item view \brief The Fetch More example shows how two add items to an item view
model on demand. model on demand.

View File

@ -28,7 +28,7 @@
/*! /*!
\example itemviews/frozencolumn \example itemviews/frozencolumn
\title Frozen Column Example \title Frozen Column Example
\ingroup examples-itemviews
\brief This example demonstrates how to freeze a column within a QTableView. \brief This example demonstrates how to freeze a column within a QTableView.
\image frozencolumn-example.png "Screenshot of the example" \image frozencolumn-example.png "Screenshot of the example"

View File

@ -28,6 +28,8 @@
/*! /*!
\example itemviews/interview \example itemviews/interview
\title Interview \title Interview
\ingroup examples-itemviews
\brief This example demonstrates the usage of the model/view framework.
\brief The Interview example explores the flexibility and scalability of the \brief The Interview example explores the flexibility and scalability of the
model/view framework by presenting an infinitely deep data structure using a model model/view framework by presenting an infinitely deep data structure using a model

View File

@ -28,7 +28,7 @@
/*! /*!
\example itemviews/puzzle \example itemviews/puzzle
\title Item Views Puzzle Example \title Item Views Puzzle Example
\ingroup examples-itemviews
\brief The Puzzle example shows how to enable drag and drop with a custom model \brief 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. to allow items to be transferred between a view and another widget.

View File

@ -28,7 +28,7 @@
/*! /*!
\example graphicsview/padnavigator \example graphicsview/padnavigator
\title Pad Navigator Example \title Pad Navigator Example
\ingroup examples-graphicsview
\brief The Pad Navigator Example shows how you can use Graphics View together with \brief The Pad Navigator Example shows how you can use Graphics View together with
embedded widgets and Qt's \l{State Machine Framework} to create a simple embedded widgets and Qt's \l{State Machine Framework} to create a simple
but useful, dynamic, animated user interface. but useful, dynamic, animated user interface.

View File

@ -28,7 +28,7 @@
/*! /*!
\example itemviews/pixelator \example itemviews/pixelator
\title Pixelator Example \title Pixelator Example
\ingroup examples-itemviews
\brief The Pixelator example shows how delegates can be used to customize the way that \brief The Pixelator example shows how delegates can be used to customize the way that
items are rendered in standard item views. items are rendered in standard item views.

View File

@ -28,7 +28,7 @@
/*! /*!
\example itemviews/simpledommodel \example itemviews/simpledommodel
\title Simple DOM Model Example \title Simple DOM Model Example
\ingroup examples-itemviews
\brief The Simple DOM Model example shows how an existing class can be adapted for use with \brief The Simple DOM Model example shows how an existing class can be adapted for use with
the model/view framework. the model/view framework.

View File

@ -28,6 +28,9 @@
/*! /*!
\example itemviews/simpletreemodel \example itemviews/simpletreemodel
\title Simple Tree Model Example \title Simple Tree Model Example
\ingroup examples-itemviews
\brief The Simple Tree Model example shows how to use a hierarchical model
with Qt's standard view classes.
\brief The Simple Tree Model example shows how to create a basic, read-only \brief The Simple Tree Model example shows how to create a basic, read-only
hierarchical model to use with Qt's standard view classes. For a hierarchical model to use with Qt's standard view classes. For a

View File

@ -28,7 +28,7 @@
/*! /*!
\example itemviews/simplewidgetmapper \example itemviews/simplewidgetmapper
\title Simple Widget Mapper Example \title Simple Widget Mapper Example
\ingroup examples-itemviews
\brief The Simple Widget Mapper example shows how to use a widget mapper to display \brief The Simple Widget Mapper example shows how to use a widget mapper to display
data from a model in a collection of widgets. data from a model in a collection of widgets.

View File

@ -28,7 +28,7 @@
/*! /*!
\example itemviews/spinboxdelegate \example itemviews/spinboxdelegate
\title Spin Box Delegate Example \title Spin Box Delegate Example
\ingroup examples-itemviews
\brief The Spin Box Delegate example shows how to create an editor for a custom delegate in \brief 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. the model/view framework by reusing a standard Qt editor widget.

View File

@ -28,6 +28,8 @@
/*! /*!
\example itemviews/spreadsheet \example itemviews/spreadsheet
\title Spreadsheet \title Spreadsheet
\ingroup examples-itemviews
\brief The Spreadsheet example shows how to create a simple spreadsheet application.
\brief The Spreadsheet example shows how a table view can be used to create a \brief The Spreadsheet example shows how a table view can be used to create a
simple spreadsheet application. Custom delegates are used to render different simple spreadsheet application. Custom delegates are used to render different

View File

@ -28,7 +28,7 @@
/*! /*!
\example itemviews/stardelegate \example itemviews/stardelegate
\title Star Delegate Example \title Star Delegate Example
\ingroup examples-itemviews
\brief The Star Delegate example shows how to create a delegate that \brief The Star Delegate example shows how to create a delegate that
can paint itself and that supports editing. can paint itself and that supports editing.

Binary file not shown.

After

Width:  |  Height:  |  Size: 218 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

View File

@ -95,7 +95,6 @@
*/ */
/*! /*!
\group examples-dialogs \group examples-dialogs
\ingroup all-examples \ingroup all-examples
@ -111,4 +110,32 @@
interactions with users. interactions with users.
*/ */
/*!
\ingroup all-examples
\title Itemview Examples
\brief Using the model/view framework.
\group examples-itemviews
\image itemviews-examples.png
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.
*/
/*!
\ingroup all-examples
\title Graphicsview Examples
\brief Using the Graphics View framework.
\group examples-graphicsview
\image graphicsview-examples.png
Qt provides powerful graphics engine that supports easy visualization of items, with
support for rotation and zooming.
Additionally it provides an event propagation architecture for interaction.
*/