IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

Chart Example

The Chart example shows how to create a custom view for the model/view framework.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

Chart Example▲

Image non disponible

In this example, the items in a table model are represented as slices in a pie chart, relying on the flexibility of the model/view architecture to handle custom editing and selection features.

Note that you only need to create a new view class if your data requires a specialized representation. You should first consider using a standard https://, https://, or https:// with a custom https:// subclass if you need to represent data in a special way.

List of Files▲

Files:

List of Files▲

  • itemviews/chart/chart.pro

  • itemviews/chart/chart.qrc

  • itemviews/chart/main.cpp

  • itemviews/chart/mainwindow.cpp

  • itemviews/chart/mainwindow.h

  • itemviews/chart/pieview.cpp

  • itemviews/chart/pieview.h

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+   

Ce document est disponible sous la licence https:// telle que publiée par la Free Software Foundation.