diff options
author | Nico Vertriest <nico.vertriest@qt.io> | 2016-11-03 15:28:28 +0100 |
---|---|---|
committer | Nico Vertriest <nico.vertriest@theqtcompany.com> | 2016-11-09 13:05:53 +0000 |
commit | eedf8f28e014bb3de6bbaec173d10e03e1792bc4 (patch) | |
tree | fb8e3421b0670f083a7c969b5d98f4b34c4e9a74 /examples/sql/doc/src | |
parent | 7d3b291c2252bb737845b923e86c5dbcc9e5ec72 (diff) |
Doc: update SQL examples
- screenshot: remove OS-dependent part of window
- \image --> \borderedimage
Change-Id: I3eb98595e5c2eb254d3857e4c81dfedac8b7939e
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'examples/sql/doc/src')
-rw-r--r-- | examples/sql/doc/src/books.qdoc | 2 | ||||
-rw-r--r-- | examples/sql/doc/src/cachedtable.qdoc | 2 | ||||
-rw-r--r-- | examples/sql/doc/src/drilldown.qdoc | 2 | ||||
-rw-r--r-- | examples/sql/doc/src/masterdetail.qdoc | 2 | ||||
-rw-r--r-- | examples/sql/doc/src/querymodel.qdoc | 2 | ||||
-rw-r--r-- | examples/sql/doc/src/relationaltablemodel.qdoc | 2 | ||||
-rw-r--r-- | examples/sql/doc/src/sqlbrowser.qdoc | 2 | ||||
-rw-r--r-- | examples/sql/doc/src/sqlwidgetmapper.qdoc | 6 | ||||
-rw-r--r-- | examples/sql/doc/src/tablemodel.qdoc | 2 |
9 files changed, 11 insertions, 11 deletions
diff --git a/examples/sql/doc/src/books.qdoc b/examples/sql/doc/src/books.qdoc index 3a145f04ac..f65daed372 100644 --- a/examples/sql/doc/src/books.qdoc +++ b/examples/sql/doc/src/books.qdoc @@ -34,7 +34,7 @@ The Books example shows how Qt's SQL classes can be used with the model/view framework to create rich user interfaces for information stored in a database. - \image books-demo.png + \borderedimage books-demo.png Information about a collection of books is held in a database. The books are catalogued by author, title, genre, and year of publication. Although each of diff --git a/examples/sql/doc/src/cachedtable.qdoc b/examples/sql/doc/src/cachedtable.qdoc index 7db35f13bd..2db80f9c8e 100644 --- a/examples/sql/doc/src/cachedtable.qdoc +++ b/examples/sql/doc/src/cachedtable.qdoc @@ -34,7 +34,7 @@ caching any changes to the data until the user explicitly submits them using a push button. - \image cachedtable-example.png + \borderedimage cachedtable-example.png The example consists of a single class, \c TableEditor, which is a custom dialog widget that allows the user to modify data stored in diff --git a/examples/sql/doc/src/drilldown.qdoc b/examples/sql/doc/src/drilldown.qdoc index f7a00722de..1fcac41eeb 100644 --- a/examples/sql/doc/src/drilldown.qdoc +++ b/examples/sql/doc/src/drilldown.qdoc @@ -34,7 +34,7 @@ well as submit changes, using the QSqlRelationalTableModel and QDataWidgetMapper classes. - \image drilldown-example.png Screenshot of the Drill Down Example + \borderedimage drilldown-example.png Screenshot of the Drill Down Example When running the example application, a user can retrieve information about each item by clicking the corresponding image. diff --git a/examples/sql/doc/src/masterdetail.qdoc b/examples/sql/doc/src/masterdetail.qdoc index 6f733fbae7..033dd41f72 100644 --- a/examples/sql/doc/src/masterdetail.qdoc +++ b/examples/sql/doc/src/masterdetail.qdoc @@ -40,5 +40,5 @@ the database and the associated XML file using the API provided by the Qt SQL and Qt XML modules, respectively. - \image masterdetail-example.png + \borderedimage masterdetail-example.png */ diff --git a/examples/sql/doc/src/querymodel.qdoc b/examples/sql/doc/src/querymodel.qdoc index a089402005..4f14975234 100644 --- a/examples/sql/doc/src/querymodel.qdoc +++ b/examples/sql/doc/src/querymodel.qdoc @@ -34,5 +34,5 @@ data obtained from a SQL query, using a model that encapsulates the query and table views to display the results. - \image querymodel-example.png + \borderedimage querymodel-example.png */ diff --git a/examples/sql/doc/src/relationaltablemodel.qdoc b/examples/sql/doc/src/relationaltablemodel.qdoc index 43c069709c..95648cdc78 100644 --- a/examples/sql/doc/src/relationaltablemodel.qdoc +++ b/examples/sql/doc/src/relationaltablemodel.qdoc @@ -33,5 +33,5 @@ \brief The Relational Table Model example shows how to use table views with a relational model to visualize the relations between items in a database. - \image relationaltablemodel-example.png + \borderedimage relationaltablemodel-example.png */ diff --git a/examples/sql/doc/src/sqlbrowser.qdoc b/examples/sql/doc/src/sqlbrowser.qdoc index fa442de3e3..6eeb2376f3 100644 --- a/examples/sql/doc/src/sqlbrowser.qdoc +++ b/examples/sql/doc/src/sqlbrowser.qdoc @@ -33,5 +33,5 @@ \brief The SQL Browser example shows how a data browser can be used to visualize the results of SQL statements on a live database. - \image sqlbrowser-demo.png + \borderedimage sqlbrowser-demo.png */ diff --git a/examples/sql/doc/src/sqlwidgetmapper.qdoc b/examples/sql/doc/src/sqlwidgetmapper.qdoc index 42e14672c9..a0fc26a642 100644 --- a/examples/sql/doc/src/sqlwidgetmapper.qdoc +++ b/examples/sql/doc/src/sqlwidgetmapper.qdoc @@ -33,7 +33,7 @@ \brief The SQL Widget Mapper example shows how to use a map information from a database to widgets on a form. - \image sql-widget-mapper.png + \borderedimage sql-widget-mapper.png In the \l{Combo Widget Mapper Example}, we showed how to use a named mapping between a widget mapper and a QComboBox widget with a special @@ -74,7 +74,7 @@ including values for the address types that correspond to the address types are stored in a separate table. - \image widgetmapper-sql-mapping-table.png + \borderedimage widgetmapper-sql-mapping-table.png We create an "addresstype" table containing the identifiers used in the "person" table and the corresponding strings: @@ -93,7 +93,7 @@ used wherever the "typeid" is presented to the user. (See the QSqlRelationalTableModel::setRelation() documentation for details.) - \image widgetmapper-sql-mapping.png + \borderedimage widgetmapper-sql-mapping.png The constructor of the \c Window class can be explained in three parts. In the first part, we set up the model used to hold the data, then we set diff --git a/examples/sql/doc/src/tablemodel.qdoc b/examples/sql/doc/src/tablemodel.qdoc index 3c39ca7cd5..66d1801508 100644 --- a/examples/sql/doc/src/tablemodel.qdoc +++ b/examples/sql/doc/src/tablemodel.qdoc @@ -33,5 +33,5 @@ \brief The Table Model example shows how to use a specialized SQL table model with table views to edit information in a database. - \image tablemodel-example.png + \borderedimage tablemodel-example.png */ |