summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2016-11-08 11:30:15 +0100
committerLiang Qi <liang.qi@qt.io>2016-11-08 11:46:38 +0100
commit3f5c27908314074f177454ddcb1c18fce123fa6c (patch)
tree4fca1ae043413014e997a04a562e7ee6b4ae9270 /examples
parent779f6d8c23e75f12a830a4229db55f28ad1537b7 (diff)
parent90aff7026205d71efde65f1783a06af82e528287 (diff)
Merge remote-tracking branch 'origin/5.7' into 5.8
Conflicts: examples/datavisualization/bars/doc/src/bars.qdoc examples/datavisualization/custominput/doc/src/custominput.qdoc examples/datavisualization/customitems/doc/src/customitems.qdoc examples/datavisualization/draggableaxes/doc/src/draggableaxes.qdoc examples/datavisualization/itemmodel/doc/src/itemmodel.qdoc examples/datavisualization/qmlaxisdrag/doc/src/qmlaxisdrag.qdoc examples/datavisualization/qmlaxisformatter/doc/src/qmlaxisformatter.qdoc examples/datavisualization/qmlcustominput/doc/src/qmlcustominput.qdoc examples/datavisualization/qmloscilloscope/doc/src/qmloscilloscope.qdoc examples/datavisualization/qmlscatter/doc/src/qmlscatter.qdoc examples/datavisualization/qmlspectrogram/doc/src/qmlspectrogram.qdoc examples/datavisualization/qmlsurface/doc/src/qmlsurface.qdoc examples/datavisualization/qmlsurfacelayers/doc/src/qmlsurfacelayers.qdoc examples/datavisualization/rotations/doc/src/rotations.qdoc examples/datavisualization/scatter/doc/src/scatter.qdoc examples/datavisualization/surface/doc/src/surface.qdoc examples/datavisualization/texturesurface/doc/src/texturesurface.qdoc examples/datavisualization/volumetric/doc/src/volumetric.qdoc src/datavisualization/doc/src/qtdatavisualization.qdoc Change-Id: Ic15e77b1fee0708a235bf21815f72b854981537a
Diffstat (limited to 'examples')
-rw-r--r--examples/datavisualization/bars/doc/src/bars.qdoc14
-rw-r--r--examples/datavisualization/custominput/doc/src/custominput.qdoc8
-rw-r--r--examples/datavisualization/customitems/doc/src/customitems.qdoc6
-rw-r--r--examples/datavisualization/draggableaxes/doc/src/draggableaxes.qdoc8
-rw-r--r--examples/datavisualization/itemmodel/doc/src/itemmodel.qdoc10
-rw-r--r--examples/datavisualization/qmlaxisdrag/doc/src/qmlaxisdrag.qdoc8
-rw-r--r--examples/datavisualization/qmlaxisformatter/doc/src/qmlaxisformatter.qdoc2
-rw-r--r--examples/datavisualization/qmlbars/doc/src/qmlbars.qdoc4
-rw-r--r--examples/datavisualization/qmlcustominput/doc/src/qmlcustominput.qdoc8
-rw-r--r--examples/datavisualization/qmloscilloscope/doc/src/qmloscilloscope.qdoc4
-rw-r--r--examples/datavisualization/qmlscatter/doc/src/qmlscatter.qdoc8
-rw-r--r--examples/datavisualization/qmlspectrogram/doc/src/qmlspectrogram.qdoc6
-rw-r--r--examples/datavisualization/qmlsurface/doc/src/qmlsurface.qdoc6
-rw-r--r--examples/datavisualization/qmlsurfacelayers/doc/src/qmlsurfacelayers.qdoc6
-rw-r--r--examples/datavisualization/rotations/doc/src/rotations.qdoc8
-rw-r--r--examples/datavisualization/scatter/doc/src/scatter.qdoc10
-rw-r--r--examples/datavisualization/surface/doc/src/surface.qdoc10
-rw-r--r--examples/datavisualization/texturesurface/doc/src/texturesurface.qdoc10
-rw-r--r--examples/datavisualization/volumetric/doc/src/volumetric.qdoc10
19 files changed, 73 insertions, 73 deletions
diff --git a/examples/datavisualization/bars/doc/src/bars.qdoc b/examples/datavisualization/bars/doc/src/bars.qdoc
index 4d1275cb..fc4d2dfb 100644
--- a/examples/datavisualization/bars/doc/src/bars.qdoc
+++ b/examples/datavisualization/bars/doc/src/bars.qdoc
@@ -51,7 +51,7 @@
\include examples-run.qdocinc
- \section1 Creating the application
+ \section1 Creating the Application
First, in main.cpp, we create a QApplication, instantiate Q3DBars and a window container
for it:
@@ -80,7 +80,7 @@
\snippet bars/main.cpp 3
- \section1 Setting up the graph
+ \section1 Setting up the Graph
Let's set up the graph in the constructor of the \c GraphModifier class we instantiated in the
application main:
@@ -127,7 +127,7 @@
That concludes setting up the graph.
- \section1 Adding data to the graph
+ \section1 Adding Data to the Graph
At the end of the constructor there's a call:
@@ -139,7 +139,7 @@
Now the series have data to show.
- \section1 Using widgets to control the graph
+ \section1 Using Widgets to Control the Graph
There isn't much interaction yet, so let's continue by adding some widgets back in the
application main. Let's just focus on two as an example:
@@ -187,7 +187,7 @@
\li Axis label rotation
\endlist
- \section1 Selecting a row/column by clicking an axis label
+ \section1 Selecting a Row/column by Clicking an Axis Label
Selection by axis label is default functionality for bar graphs. As an example, you can select
rows by clicking an axis label in the following way:
@@ -201,7 +201,7 @@
You can use the same method with \c SelectionSlice and \c SelectionItem flags, as long as
you have either \c SelectionRow or \c SelectionColumn set as well.
- \section1 Zooming to selection
+ \section1 Zooming to Selection
As an example of adjusting camera target we have implemented an animation of zooming to
selection via a button press. Animation initializations are done in the constructor:
@@ -225,6 +225,6 @@
\snippet bars/graphmodifier.cpp 15
- \section1 Example contents
+ \section1 Example Contents
*/
diff --git a/examples/datavisualization/custominput/doc/src/custominput.qdoc b/examples/datavisualization/custominput/doc/src/custominput.qdoc
index 79eedb0d..f2da7e57 100644
--- a/examples/datavisualization/custominput/doc/src/custominput.qdoc
+++ b/examples/datavisualization/custominput/doc/src/custominput.qdoc
@@ -44,14 +44,14 @@
\include examples-run.qdocinc
- \section1 Replacing default input handling
+ \section1 Replacing Default Input Handling
The default input handling mechanism is replaced by setting the active input handler of
Q3DScatter to \c CustomInputHandler that implements the custom behavior.
\snippet custominput/scatterdatamodifier.cpp 0
- \section1 Implementing custom selection handling
+ \section1 Implementing Custom Selection Handling
The on mouseover selection handling is implemented in the \c CustomInputHandler that captures
the mouse events. It then stores the last known coordinates to the
@@ -65,7 +65,7 @@
\snippet custominput/scatterdatamodifier.cpp 1
- \section1 Implementing custom zoom handling
+ \section1 Implementing Custom Zoom Handling
The camera has a zoom factor that represents amount of zoom in percentages. In this example the
zoom range is limited between 10% and 500%. This range is then divided to four subranges where
@@ -73,7 +73,7 @@
\snippet custominput/custominputhandler.cpp 1
- \section1 Implementing custom camera handling
+ \section1 Implementing Custom Camera Handling
The camera is animated to constantly rotate around the graph with two animations. The rotation
around the graph is done with a simple QPropertyAnimation that just increments during 20
diff --git a/examples/datavisualization/customitems/doc/src/customitems.qdoc b/examples/datavisualization/customitems/doc/src/customitems.qdoc
index 9716d8a7..a389a6f1 100644
--- a/examples/datavisualization/customitems/doc/src/customitems.qdoc
+++ b/examples/datavisualization/customitems/doc/src/customitems.qdoc
@@ -41,7 +41,7 @@
\include examples-run.qdocinc
- \section1 Adding custom meshes to the application
+ \section1 Adding Custom Meshes to the Application
We'll add the meshes in a resource file:
@@ -55,7 +55,7 @@
</RCC>
\endcode
- \section1 Adding custom item to a graph
+ \section1 Adding Custom Item to a Graph
In this example we do not have specific textures for our meshes, so we'll just create a small
QImage and fill it with a single color:
@@ -75,7 +75,7 @@
\snippet customitems/customitemgraph.cpp 3
- \section1 Removing custom item from a graph
+ \section1 Removing Custom Item from a Graph
We'll just call \c removeCustomItemAt() with the position of the item:
diff --git a/examples/datavisualization/draggableaxes/doc/src/draggableaxes.qdoc b/examples/datavisualization/draggableaxes/doc/src/draggableaxes.qdoc
index 69993cca..817ab3a7 100644
--- a/examples/datavisualization/draggableaxes/doc/src/draggableaxes.qdoc
+++ b/examples/datavisualization/draggableaxes/doc/src/draggableaxes.qdoc
@@ -43,7 +43,7 @@
\include examples-run.qdocinc
- \section1 Replacing default input handling
+ \section1 Replacing Default Input Handling
The default input handling mechanism is replaced by setting the active input handler of
Q3DScatter to \c AxesInputHandler that implements the custom behavior:
@@ -58,7 +58,7 @@
\snippet draggableaxes/data.cpp 2
- \section1 Extending mouse event handling
+ \section1 Extending Mouse Event Handling
First of all, we inherited our input handler from Q3DInputHandler instead of
QAbstract3DInputHandler. The reason for doing this is to keep all the functionality of the
@@ -85,7 +85,7 @@
We don't need to change the functionality of mouse wheel, so we will not re-implement that.
- \section1 Implementing axis dragging
+ \section1 Implementing Axis Dragging
First we need to start listening to the selection signal from the graph. We do that in the
constructor, and connect it to \c handleElementSelected method:
@@ -131,5 +131,5 @@
The modifier could be adjusted automatically based on the axis range and camera zoom level, but
we'll leave implementing that as an excercise for the reader.
- \section1 Example contents
+ \section1 Example Contents
*/
diff --git a/examples/datavisualization/itemmodel/doc/src/itemmodel.qdoc b/examples/datavisualization/itemmodel/doc/src/itemmodel.qdoc
index b7cd7d15..c0a69218 100644
--- a/examples/datavisualization/itemmodel/doc/src/itemmodel.qdoc
+++ b/examples/datavisualization/itemmodel/doc/src/itemmodel.qdoc
@@ -48,7 +48,7 @@
\include examples-run.qdocinc
- \section1 Creating the application
+ \section1 Creating the Application
First, in main.cpp, we create a QApplication, instantiate Q3DBars and a window container for it:
@@ -87,7 +87,7 @@
\snippet itemmodel/main.cpp 4
- \section1 Setting up the graph
+ \section1 Setting up the Graph
Let's set up the visual attributes for the graph in the constructor of \c GraphDataGenerator:
@@ -115,7 +115,7 @@
\note You do not need to set any of these in case you're happy with the defaults. You can
easily try them by commenting out the contents of the constructor.
- \section1 Adding data to the graph
+ \section1 Adding Data to the Graph
We created the data generator in the application main and gave it the graph and the table
widget as parameters:
@@ -165,7 +165,7 @@
rows and columns for itself directly, as we set the QItemModelBarDataProxy::useModelCategories
property to true, and the graph gets the data to be displayed via the series that owns the proxy.
- \section1 Interacting with the data
+ \section1 Interacting with the Data
We made a couple of signal connections in the application main earlier:
@@ -190,5 +190,5 @@
\image itemmodel-example.png
- \section1 Example contents
+ \section1 Example Contents
*/
diff --git a/examples/datavisualization/qmlaxisdrag/doc/src/qmlaxisdrag.qdoc b/examples/datavisualization/qmlaxisdrag/doc/src/qmlaxisdrag.qdoc
index 564e837f..43bb7251 100644
--- a/examples/datavisualization/qmlaxisdrag/doc/src/qmlaxisdrag.qdoc
+++ b/examples/datavisualization/qmlaxisdrag/doc/src/qmlaxisdrag.qdoc
@@ -42,7 +42,7 @@
\include examples-run.qdocinc
- \section1 Overriding default input handling
+ \section1 Overriding Default Input Handling
First we deactivate the default input handling mechanism by setting the active input handler
of Scatter3D graph to \c{null}:
@@ -73,7 +73,7 @@
\dots 0
\snippet qmlaxisdrag/qml/qmlaxisdrag/main.qml 4
- \section1 Translating mouse movement to axis range change
+ \section1 Translating Mouse Movement to Axis Range Change
in \c scatterGraph we will need to listen to \c onSelectedElementChanged signal. The signal
is emitted after the selection query has been made in the \c{onPressed} of \c{inputArea}. We
@@ -99,7 +99,7 @@
For a more sophisticated conversion from mouse movement to axis range update, see
\l{Axis Range Dragging With Labels Example}{this example}.
- \section1 Other features
+ \section1 Other Features
The example also demonstrates how to use orthographic projection and how to update properties
of a custom item on the fly.
@@ -119,5 +119,5 @@
\snippet qmlaxisdrag/qml/qmlaxisdrag/main.qml 10
\dots
- \section1 Example contents
+ \section1 Example Contents
*/
diff --git a/examples/datavisualization/qmlaxisformatter/doc/src/qmlaxisformatter.qdoc b/examples/datavisualization/qmlaxisformatter/doc/src/qmlaxisformatter.qdoc
index fb7fdfc1..bdeee883 100644
--- a/examples/datavisualization/qmlaxisformatter/doc/src/qmlaxisformatter.qdoc
+++ b/examples/datavisualization/qmlaxisformatter/doc/src/qmlaxisformatter.qdoc
@@ -45,7 +45,7 @@
\include examples-run.qdocinc
- \section1 Custom axis formatter
+ \section1 Custom Axis Formatter
Customizing axis formatters requires subclassing the QValue3DAxisFormatter, which cannot be
done in QML code alone. In this example we want an axis that interprets the float values as
diff --git a/examples/datavisualization/qmlbars/doc/src/qmlbars.qdoc b/examples/datavisualization/qmlbars/doc/src/qmlbars.qdoc
index 63d26a0b..4c6e2bcf 100644
--- a/examples/datavisualization/qmlbars/doc/src/qmlbars.qdoc
+++ b/examples/datavisualization/qmlbars/doc/src/qmlbars.qdoc
@@ -93,7 +93,7 @@
We use the \c visible property of the series to hide the second series for now.
- \section1 Custom axis labels
+ \section1 Custom Axis Labels
One interesting tidbit about axes is that we redefine the category labels for column axis in
\c Axes.qml. This is done because the data contains numbers for months, which we don't want
@@ -104,7 +104,7 @@
We also set automatic axis label rotation to make axis labels more readable at low camera
angles.
- \section1 Switching series
+ \section1 Switching Series
In the \c main.qml, we set up the graph and various UI elements. There are three interesting
code blocks we want to highlight here. The first one shows how to change the
diff --git a/examples/datavisualization/qmlcustominput/doc/src/qmlcustominput.qdoc b/examples/datavisualization/qmlcustominput/doc/src/qmlcustominput.qdoc
index 4685790a..5c29939f 100644
--- a/examples/datavisualization/qmlcustominput/doc/src/qmlcustominput.qdoc
+++ b/examples/datavisualization/qmlcustominput/doc/src/qmlcustominput.qdoc
@@ -42,7 +42,7 @@
\include examples-run.qdocinc
- \section1 Removing default input handling
+ \section1 Removing Default Input Handling
The default input handling mechanism is disabled by setting the inputHandler property to null.
@@ -51,7 +51,7 @@
\snippet qmlcustominput/qml/qmlcustominput/main.qml 1
\dots 0
- \section1 Implementing custom selection handling
+ \section1 Implementing Custom Selection Handling
The on mouseover selection handling is implemented using standard MouseArea to capture the mouse events.
The mouse area is configured to capture hover events and has two custom properties for \c mouseX and \c mouseY
@@ -68,7 +68,7 @@
\snippet qmlcustominput/qml/qmlcustominput/main.qml 4
- \section1 Implementing custom zoom handling
+ \section1 Implementing Custom Zoom Handling
The camera has a zoom factor that represents amount of zoom in percentages. In this example the zoom range is limited
between 10% and 500%. This range is then divided to four subranges where angleDelta is scaled to different amount of zoom change
@@ -78,7 +78,7 @@
\snippet qmlcustominput/qml/qmlcustominput/main.qml 5
\dots
- \section1 Implementing custom camera handling
+ \section1 Implementing Custom Camera Handling
The camera is animated to constantly rotate around the graph with two animations. The rotation around the graph is done with
a simple NumberAnimation that just increments during 20 seconds from 0 degrees to 360 degrees and sets the \l Q3DCamera::xRotation property.
diff --git a/examples/datavisualization/qmloscilloscope/doc/src/qmloscilloscope.qdoc b/examples/datavisualization/qmloscilloscope/doc/src/qmloscilloscope.qdoc
index a76347de..d916b128 100644
--- a/examples/datavisualization/qmloscilloscope/doc/src/qmloscilloscope.qdoc
+++ b/examples/datavisualization/qmloscilloscope/doc/src/qmloscilloscope.qdoc
@@ -44,7 +44,7 @@
\include examples-run.qdocinc
- \section1 Data source in C++
+ \section1 Data Source in C++
The item model based proxies are good for simple and/or static graphs, but to achieve
best performance when displaying data changing in realtime, the basic proxies should be used.
@@ -112,7 +112,7 @@
\snippet qmloscilloscope/qml/qmloscilloscope/main.qml 3
- \section1 Enabling direct rendering
+ \section1 Enabling Direct Rendering
Since this application potentially deals with a lot of rapidly changing data, we use direct
rendering mode for performance. To enable antialiasing in this mode the surface format of the application
diff --git a/examples/datavisualization/qmlscatter/doc/src/qmlscatter.qdoc b/examples/datavisualization/qmlscatter/doc/src/qmlscatter.qdoc
index 7e842d36..425c23b8 100644
--- a/examples/datavisualization/qmlscatter/doc/src/qmlscatter.qdoc
+++ b/examples/datavisualization/qmlscatter/doc/src/qmlscatter.qdoc
@@ -44,7 +44,7 @@
\include examples-run.qdocinc
- \section1 Application basics
+ \section1 Application Basics
Before diving into the QML code, let's take a look at the application \c main.cpp.
@@ -74,7 +74,7 @@
\snippet qmlscatter/main.cpp 2
- \section1 Setting up the graph
+ \section1 Setting up the Graph
First we'll import all the QML modules we need:
@@ -113,7 +113,7 @@
Then it's time to start feeding the graph some data.
- \section1 Adding data to the graph
+ \section1 Adding Data to the Graph
Let's create a \c Data item inside the \c mainView and name it \c seriesData:
@@ -173,5 +173,5 @@
And we're done!
- \section1 Example contents
+ \section1 Example Contents
*/
diff --git a/examples/datavisualization/qmlspectrogram/doc/src/qmlspectrogram.qdoc b/examples/datavisualization/qmlspectrogram/doc/src/qmlspectrogram.qdoc
index 58addaf1..e8d97c99 100644
--- a/examples/datavisualization/qmlspectrogram/doc/src/qmlspectrogram.qdoc
+++ b/examples/datavisualization/qmlspectrogram/doc/src/qmlspectrogram.qdoc
@@ -49,7 +49,7 @@
\include examples-run.qdocinc
- \section1 Creating a spectrogram
+ \section1 Creating a Spectrogram
To create a 2D spectrogram, we define a Surface3D item:
@@ -68,7 +68,7 @@
\snippet qmlspectrogram/qml/qmlspectrogram/main.qml 2
- \section1 Polar spectrogram
+ \section1 Polar Spectrogram
Depending on the data, it is sometimes more natural to use a polar graph instead of a cartesian
one. Qt Data Visualization supports this via \l{AbstractGraph3D::polar}{polar} property.
@@ -98,5 +98,5 @@
\l{InputHandler3D::rotationEnabled}{rotationEnabled} property of the \c{customInputHandler}
to control the rotation.
- \section1 Example contents
+ \section1 Example Contents
*/
diff --git a/examples/datavisualization/qmlsurface/doc/src/qmlsurface.qdoc b/examples/datavisualization/qmlsurface/doc/src/qmlsurface.qdoc
index fea48bf1..f0a9f3f7 100644
--- a/examples/datavisualization/qmlsurface/doc/src/qmlsurface.qdoc
+++ b/examples/datavisualization/qmlsurface/doc/src/qmlsurface.qdoc
@@ -44,7 +44,7 @@
\include examples-run.qdocinc
- \section1 Adding data to the graph
+ \section1 Adding Data to the Graph
This example shows two methods to set data to surface graph, using the HeightMapSurfaceDataProxy
and ItemModelSurfaceDataProxy. First we go through setting the data using the height map specific
@@ -75,7 +75,7 @@
\dots 0
\snippet qmlsurface/qml/qmlsurface/main.qml 6
- \section1 Showing data
+ \section1 Showing Data
In the \c main.qml, we set up the Surface3D element to show the data and various UI elements
to illustrate few interesting features.
@@ -117,5 +117,5 @@
250 on height map proxy to show exaggerated height. At the same time the middle color position
on the gradient is modified to match the value range change.
- \section1 Example contents
+ \section1 Example Contents
*/
diff --git a/examples/datavisualization/qmlsurfacelayers/doc/src/qmlsurfacelayers.qdoc b/examples/datavisualization/qmlsurfacelayers/doc/src/qmlsurfacelayers.qdoc
index 2216acc7..5bb53ee4 100644
--- a/examples/datavisualization/qmlsurfacelayers/doc/src/qmlsurfacelayers.qdoc
+++ b/examples/datavisualization/qmlsurfacelayers/doc/src/qmlsurfacelayers.qdoc
@@ -44,7 +44,7 @@
\include examples-run.qdocinc
- \section1 Adding data to the graph
+ \section1 Adding Data to the Graph
This example shows how to add several surface series to one graph using using
HeightMapSurfaceDataProxies and how to control their visibilities individually.
@@ -67,7 +67,7 @@
\snippet qmlsurfacelayers/qml/qmlsurfacelayers/main.qml 2
\dots
- \section1 Controlling the graph
+ \section1 Controlling the Graph
Let's add some checkboxes to control the visibility of layers:
@@ -89,5 +89,5 @@
\snippet qmlsurfacelayers/qml/qmlsurfacelayers/main.qml 6
- \section1 Example contents
+ \section1 Example Contents
*/
diff --git a/examples/datavisualization/rotations/doc/src/rotations.qdoc b/examples/datavisualization/rotations/doc/src/rotations.qdoc
index d28b872c..52db3c67 100644
--- a/examples/datavisualization/rotations/doc/src/rotations.qdoc
+++ b/examples/datavisualization/rotations/doc/src/rotations.qdoc
@@ -47,7 +47,7 @@
\include examples-run.qdocinc
- \section1 Using rotations
+ \section1 Using Rotations
In this example we want to orient the arrow items tangentially to the origin. This requires
rotating them, which can be achieved by specifying rotation quaternion to each item:
@@ -60,7 +60,7 @@
for Y-axis and one for Z-axis, and then multiply these together to get the total rotation,
which we set to the data item.
- \section1 Using custom item meshes
+ \section1 Using Custom Item Meshes
The narrow arrow mesh we use for magnetic field arrow items is not a standard mesh. Instead
we supply our own \c{narrowarrow.obj} file which contains the object definition for the mesh
@@ -68,7 +68,7 @@
\snippet rotations/scatterdatamodifier.cpp 3
- \section1 Using range gradient
+ \section1 Using Range Gradient
Setting the color style to range gradient in a series means that the item is colored according
to its relative Y-value on the visible Y-coordinate range. We want the arrows on the bottom
@@ -77,5 +77,5 @@
\snippet rotations/scatterdatamodifier.cpp 4
- \section1 Example contents
+ \section1 Example Contents
*/
diff --git a/examples/datavisualization/scatter/doc/src/scatter.qdoc b/examples/datavisualization/scatter/doc/src/scatter.qdoc
index f364010c..1b574ef6 100644
--- a/examples/datavisualization/scatter/doc/src/scatter.qdoc
+++ b/examples/datavisualization/scatter/doc/src/scatter.qdoc
@@ -49,7 +49,7 @@
\include examples-run.qdocinc
- \section1 Creating the application
+ \section1 Creating the Application
First, in main.cpp, we create a QApplication, instantiate Q3DScatter, and a window container
for it:
@@ -78,7 +78,7 @@
\snippet scatter/main.cpp 3
- \section1 Setting up the graph
+ \section1 Setting up the Graph
Let's set up some visual qualities for the graph in the constructor of the \c ScatterDataModifier
class we instantiated in the application main:
@@ -95,7 +95,7 @@
That concludes setting up the graph.
- \section1 Adding data to the graph
+ \section1 Adding Data to the Graph
The last thing we do in the \c ScatterDataModifier constructor is to add data to the graph:
@@ -123,7 +123,7 @@
Now our graph has the data and is ready to be used. There isn't much interaction yet, though,
so let's continue by adding some widgets to play with.
- \section1 Using widgets to control the graph
+ \section1 Using Widgets to Control the Graph
First, back in the application main, we'll create some widgets:
@@ -155,5 +155,5 @@
\li Label font
\endlist
- \section1 Example contents
+ \section1 Example Contents
*/
diff --git a/examples/datavisualization/surface/doc/src/surface.qdoc b/examples/datavisualization/surface/doc/src/surface.qdoc
index e1cc8263..01743c61 100644
--- a/examples/datavisualization/surface/doc/src/surface.qdoc
+++ b/examples/datavisualization/surface/doc/src/surface.qdoc
@@ -52,7 +52,7 @@
\include examples-run.qdocinc
- \section1 Creating the application
+ \section1 Creating the Application
First, in \c main.cpp, we create a QApplication, instantiate Q3DSurface, and a window container
for it:
@@ -73,7 +73,7 @@
signals from widgets into methods in \c surfacegraph.cpp. Next chapter explains more
about using Q3DSurface.
- \section1 Setting up proxies and data
+ \section1 Setting up Proxies and Data
First we instantiate a new QSurfaceDataProxy and attach it to a new QSurface3DSeries:
@@ -109,7 +109,7 @@
\snippet surface/surfacegraph.cpp 4
- \section1 Selection modes
+ \section1 Selection Modes
Q3Dsurface supports three different selection modes. These are demonstrated in the
example with radio buttons, which the user can use to activate a suitable selection mode.
@@ -117,7 +117,7 @@
\snippet surface/surfacegraph.h 0
- \section1 Axis ranges for studying the graph
+ \section1 Axis Ranges for Studying the Graph
The example has four slider controls for adjusting the min and max values for X and Z
axis. When selecting the proxy these sliders are adjusted so that one step on the slider
@@ -138,7 +138,7 @@
\snippet surface/surfacegraph.cpp 6
- \section1 Custom surface gradients
+ \section1 Custom Surface Gradients
The example demonstrates the custom surface gradients with two push buttons. The gradient
can be defined with QLinearGradient where the desired colors are set to positions. The following
diff --git a/examples/datavisualization/texturesurface/doc/src/texturesurface.qdoc b/examples/datavisualization/texturesurface/doc/src/texturesurface.qdoc
index 2388a3a2..3de11983 100644
--- a/examples/datavisualization/texturesurface/doc/src/texturesurface.qdoc
+++ b/examples/datavisualization/texturesurface/doc/src/texturesurface.qdoc
@@ -47,7 +47,7 @@
\include examples-run.qdocinc
- \section1 Texture to a surface series
+ \section1 Texture to a Surface Series
The image to be set as a texture to a surface can be set using QSurface3DSeries::setTextureFile().
In this example we have added a check box to control if the texture is set or not. The
@@ -57,7 +57,7 @@
\snippet texturesurface/surfacegraph.cpp 0
- \section1 Topographic surface series
+ \section1 Topographic Surface Series
The topographic data for this example is obtained from National Land Survey of Finland. It
provides a product called \c{Elevation Model 2 m}, which was suitable for our needs. We selected
@@ -78,7 +78,7 @@
And then the actual decoding.
\snippet texturesurface/topographicseries.cpp 1
- \section1 Use custom input handler to enable zooming and panning
+ \section1 Use Custom Input Handler to Enable Zooming and Panning
For the panning the implementation is similar to the \l{Axis Range Dragging With Labels Example}.
The difference is that in this example we follow only dragging of X and Z axis and we don't
@@ -100,7 +100,7 @@
\snippet texturesurface/custominputhandler.cpp 2
- \section1 Highlight an area of the surface
+ \section1 Highlight an Area of the Surface
The main idea on creating a highlight on the surface is to create a copy of the series and add
a bit of offset to the y value. On this example the class \c HighlightSeries implements the
@@ -117,7 +117,7 @@
\snippet texturesurface/highlightseries.cpp 1
- \section1 A gradient to the highlight series
+ \section1 A Gradient to the Highlight Series
Since the \c HighlightSeries is QSurface3DSeries, we can use all the decoration methods series can
have. In this example we added a gradient to emphasize the elevation. Because the suitable gradient
diff --git a/examples/datavisualization/volumetric/doc/src/volumetric.qdoc b/examples/datavisualization/volumetric/doc/src/volumetric.qdoc
index d07db913..03166800 100644
--- a/examples/datavisualization/volumetric/doc/src/volumetric.qdoc
+++ b/examples/datavisualization/volumetric/doc/src/volumetric.qdoc
@@ -40,7 +40,7 @@
\include examples-run.qdocinc
- \section1 Initializing volume item
+ \section1 Initializing Volume Item
The QCustom3DVolume items are special custom items (see QCustom3DItem), which can be used
to display volumetric data. The volume items are only supported with orthographic projection,
@@ -80,7 +80,7 @@
\snippet volumetric/volumetric.cpp 3
- \section1 Slicing into the volume
+ \section1 Slicing into the Volume
Unless the volume is largely transparent, you can only see the surface of it, which is often
not very helpful. One way to inspect the internal structure of the volume is to view the slices
@@ -101,7 +101,7 @@
\snippet volumetric/volumetric.cpp 9
- \section1 Adjusting volume transparency
+ \section1 Adjusting Volume Transparency
Sometimes viewing just the slices doesn't give you a good understanding of the volume's internal
structure. QCustom3DVolume provides two properties that can be used to adjust the volume
@@ -123,7 +123,7 @@
\snippet volumetric/volumetric.cpp 12
- \section1 High definition vs. low definition shader
+ \section1 High Definition vs. Low Definition Shader
By default the volume rendering uses the high definition shader. It accounts for each
voxel of the volume with correct weight when ray-tracing the volume contents,
@@ -138,5 +138,5 @@
\snippet volumetric/volumetric.cpp 13
- \section1 Example contents
+ \section1 Example Contents
*/