summaryrefslogtreecommitdiffstats
path: root/examples/sql/drilldown/view.h
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@digia.com>2013-05-22 10:52:56 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-05-22 13:48:53 +0200
commite724fd4710cfd395b7d0a8cf160e79ec5ae9d685 (patch)
tree8279c866fb910a79416bbcfd762c36aafd5ce736 /examples/sql/drilldown/view.h
parentf9b3b02360f5b2352cfe26494fb07c7f2f3b7832 (diff)
Doc: Updated content for Drill Down example
QtWidgets/Drill Down example uses images and information about Nokia's old office locations as content. This change updates the example to use concepts related to Qt instead. In addition, - Documentation, screenshot updated accordingly - Corrected aspect ratio when scaling image items in the scene - Added a gray background with a slight gradient - Removed Symbian-specific code remnant Task-number: QTBUG-31075 Change-Id: Id8abfbf7f4033f74172477570f8f28390854101c Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Diffstat (limited to 'examples/sql/drilldown/view.h')
-rw-r--r--examples/sql/drilldown/view.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/sql/drilldown/view.h b/examples/sql/drilldown/view.h
index 21193b1960..c9fc040bb1 100644
--- a/examples/sql/drilldown/view.h
+++ b/examples/sql/drilldown/view.h
@@ -53,7 +53,7 @@ class View : public QGraphicsView
Q_OBJECT
public:
- View(const QString &offices, const QString &images, QWidget *parent = 0);
+ View(const QString &items, const QString &images, QWidget *parent = 0);
protected:
void mouseReleaseEvent(QMouseEvent *event);
@@ -73,7 +73,7 @@ private:
QGraphicsScene *scene;
QList<InformationWindow *> informationWindows;
//! [2] //! [3]
- QSqlRelationalTableModel *officeTable;
+ QSqlRelationalTableModel *itemTable;
};
//! [3]