summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNico Vertriest <[email protected]>2016-11-03 15:28:28 +0100
committerNico Vertriest <[email protected]>2016-11-09 13:05:53 +0000
commiteedf8f28e014bb3de6bbaec173d10e03e1792bc4 (patch)
treefb8e3421b0670f083a7c969b5d98f4b34c4e9a74
parent7d3b291c2252bb737845b923e86c5dbcc9e5ec72 (diff)
Doc: update SQL examples
- screenshot: remove OS-dependent part of window - \image --> \borderedimage Change-Id: I3eb98595e5c2eb254d3857e4c81dfedac8b7939e Reviewed-by: Topi Reiniƶ <[email protected]>
-rw-r--r--examples/sql/doc/images/books-demo.pngbin29155 -> 14782 bytes
-rw-r--r--examples/sql/doc/images/cachedtable-example.pngbin15908 -> 6912 bytes
-rw-r--r--examples/sql/doc/images/drilldown-example.pngbin9092 -> 6612 bytes
-rw-r--r--examples/sql/doc/images/masterdetail-example.pngbin104228 -> 66419 bytes
-rw-r--r--examples/sql/doc/images/querymodel-example.pngbin30882 -> 17656 bytes
-rw-r--r--examples/sql/doc/images/relationaltablemodel-example.pngbin10188 -> 5556 bytes
-rw-r--r--examples/sql/doc/images/sql-widget-mapper.pngbin13040 -> 4777 bytes
-rw-r--r--examples/sql/doc/images/sqlbrowser-demo.pngbin20671 -> 12742 bytes
-rw-r--r--examples/sql/doc/images/tablemodel-example.pngbin20904 -> 14361 bytes
-rw-r--r--examples/sql/doc/images/widgetmapper-sql-mapping-table.pngbin39681 -> 11701 bytes
-rw-r--r--examples/sql/doc/images/widgetmapper-sql-mapping.pngbin60265 -> 17593 bytes
-rw-r--r--examples/sql/doc/src/books.qdoc2
-rw-r--r--examples/sql/doc/src/cachedtable.qdoc2
-rw-r--r--examples/sql/doc/src/drilldown.qdoc2
-rw-r--r--examples/sql/doc/src/masterdetail.qdoc2
-rw-r--r--examples/sql/doc/src/querymodel.qdoc2
-rw-r--r--examples/sql/doc/src/relationaltablemodel.qdoc2
-rw-r--r--examples/sql/doc/src/sqlbrowser.qdoc2
-rw-r--r--examples/sql/doc/src/sqlwidgetmapper.qdoc6
-rw-r--r--examples/sql/doc/src/tablemodel.qdoc2
20 files changed, 11 insertions, 11 deletions
diff --git a/examples/sql/doc/images/books-demo.png b/examples/sql/doc/images/books-demo.png
index 5bcc20b4789..77b3b308c94 100644
--- a/examples/sql/doc/images/books-demo.png
+++ b/examples/sql/doc/images/books-demo.png
Binary files differ
diff --git a/examples/sql/doc/images/cachedtable-example.png b/examples/sql/doc/images/cachedtable-example.png
index db770dfdf20..ca72aa4fedc 100644
--- a/examples/sql/doc/images/cachedtable-example.png
+++ b/examples/sql/doc/images/cachedtable-example.png
Binary files differ
diff --git a/examples/sql/doc/images/drilldown-example.png b/examples/sql/doc/images/drilldown-example.png
index fed51d36292..39a41176378 100644
--- a/examples/sql/doc/images/drilldown-example.png
+++ b/examples/sql/doc/images/drilldown-example.png
Binary files differ
diff --git a/examples/sql/doc/images/masterdetail-example.png b/examples/sql/doc/images/masterdetail-example.png
index bc282b7a782..6bf19f3b558 100644
--- a/examples/sql/doc/images/masterdetail-example.png
+++ b/examples/sql/doc/images/masterdetail-example.png
Binary files differ
diff --git a/examples/sql/doc/images/querymodel-example.png b/examples/sql/doc/images/querymodel-example.png
index 908d500e1fc..b4259978785 100644
--- a/examples/sql/doc/images/querymodel-example.png
+++ b/examples/sql/doc/images/querymodel-example.png
Binary files differ
diff --git a/examples/sql/doc/images/relationaltablemodel-example.png b/examples/sql/doc/images/relationaltablemodel-example.png
index 44fc858562a..e6a1b58096b 100644
--- a/examples/sql/doc/images/relationaltablemodel-example.png
+++ b/examples/sql/doc/images/relationaltablemodel-example.png
Binary files differ
diff --git a/examples/sql/doc/images/sql-widget-mapper.png b/examples/sql/doc/images/sql-widget-mapper.png
index dfa64aba9e1..51b5d759b84 100644
--- a/examples/sql/doc/images/sql-widget-mapper.png
+++ b/examples/sql/doc/images/sql-widget-mapper.png
Binary files differ
diff --git a/examples/sql/doc/images/sqlbrowser-demo.png b/examples/sql/doc/images/sqlbrowser-demo.png
index 101ec5a0a31..6a5635d183e 100644
--- a/examples/sql/doc/images/sqlbrowser-demo.png
+++ b/examples/sql/doc/images/sqlbrowser-demo.png
Binary files differ
diff --git a/examples/sql/doc/images/tablemodel-example.png b/examples/sql/doc/images/tablemodel-example.png
index 3ae2a8c05ca..17478e07cc3 100644
--- a/examples/sql/doc/images/tablemodel-example.png
+++ b/examples/sql/doc/images/tablemodel-example.png
Binary files differ
diff --git a/examples/sql/doc/images/widgetmapper-sql-mapping-table.png b/examples/sql/doc/images/widgetmapper-sql-mapping-table.png
index 98734b34b69..03602072491 100644
--- a/examples/sql/doc/images/widgetmapper-sql-mapping-table.png
+++ b/examples/sql/doc/images/widgetmapper-sql-mapping-table.png
Binary files differ
diff --git a/examples/sql/doc/images/widgetmapper-sql-mapping.png b/examples/sql/doc/images/widgetmapper-sql-mapping.png
index 88718c6a8b9..994cef84024 100644
--- a/examples/sql/doc/images/widgetmapper-sql-mapping.png
+++ b/examples/sql/doc/images/widgetmapper-sql-mapping.png
Binary files differ
diff --git a/examples/sql/doc/src/books.qdoc b/examples/sql/doc/src/books.qdoc
index 3a145f04ac0..f65daed3725 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 7db35f13bd8..2db80f9c8ed 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 f7a00722de7..1fcac41eeb0 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 6f733fbae78..033dd41f723 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 a089402005f..4f149752346 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 43c069709c1..95648cdc787 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 fa442de3e3a..6eeb2376f3b 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 42e14672c99..a0fc26a642b 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 3c39ca7cd58..66d18015083 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
*/