diff options
Diffstat (limited to 'src/datavis3d/doc')
-rw-r--r-- | src/datavis3d/doc/images/q3dbars-minimal.png | bin | 8611 -> 0 bytes | |||
-rw-r--r-- | src/datavis3d/doc/images/q3dscatter-minimal.png | bin | 7998 -> 0 bytes | |||
-rw-r--r-- | src/datavis3d/doc/qtdatavis3d.qdocconf | 33 | ||||
-rw-r--r-- | src/datavis3d/doc/snippets/doc_src_q3dbars_construction.cpp | 41 | ||||
-rw-r--r-- | src/datavis3d/doc/snippets/doc_src_q3dscatter_construction.cpp | 40 | ||||
-rw-r--r-- | src/datavis3d/doc/snippets/doc_src_qtdatavis3d.cpp | 69 | ||||
-rw-r--r-- | src/datavis3d/doc/snippets/doc_src_qtdatavis3d.pro | 21 | ||||
-rw-r--r-- | src/datavis3d/doc/src/qtdatavis3d-index.qdoc | 60 | ||||
-rw-r--r-- | src/datavis3d/doc/src/qtdatavis3d.qdoc | 26 | ||||
-rw-r--r-- | src/datavis3d/doc/src/qtdatavis3dlicense.qdoc | 31 |
10 files changed, 0 insertions, 321 deletions
diff --git a/src/datavis3d/doc/images/q3dbars-minimal.png b/src/datavis3d/doc/images/q3dbars-minimal.png Binary files differdeleted file mode 100644 index fff8d415..00000000 --- a/src/datavis3d/doc/images/q3dbars-minimal.png +++ /dev/null diff --git a/src/datavis3d/doc/images/q3dscatter-minimal.png b/src/datavis3d/doc/images/q3dscatter-minimal.png Binary files differdeleted file mode 100644 index 1c3290b3..00000000 --- a/src/datavis3d/doc/images/q3dscatter-minimal.png +++ /dev/null diff --git a/src/datavis3d/doc/qtdatavis3d.qdocconf b/src/datavis3d/doc/qtdatavis3d.qdocconf deleted file mode 100644 index 0e9f6d5b..00000000 --- a/src/datavis3d/doc/qtdatavis3d.qdocconf +++ /dev/null @@ -1,33 +0,0 @@ -include($QT_INSTALL_DOCS/global/qt-module-defaults.qdocconf) - -project = QtDataVis3D -description = Qt Data Visualization 3D Reference Documentation -version = 1.0.0 - -exampledirs += ../../../examples \ - snippets - -headerdirs += .. -imagedirs += ../images \ - images -sourcedirs += .. - -depends += qtcore \ - qtgui - -qhp.projects = qtdatavis3d - -qhp.qtdatavis3d.file = qtdatavis3d.qhp -qhp.qtdatavis3d.namespace = org.qt-project.qtdatavis3d.1.0.0 -qhp.qtdatavis3d.virtualFolder = qtdatavis3d -qhp.qtdatavis3d.indexTitle = Qt Data Visualization 3D -qhp.qtdatavis3d.indexRoot = - -qhp.qtdatavis3d.filterAttributes = qtdatavis3d 1.0.0 qtrefdoc -qhp.qtdatavis3d.customFilters.Qt.name = QtDataVis3D 1.0.0 -qhp.qtdatavis3d.customFilters.Qt.filterAttributes = qtdatavis3d 1.0.0 -qhp.qtdatavis3d.subprojects = classes -qhp.qtdatavis3d.subprojects.classes.title = C++ Classes -qhp.qtdatavis3d.subprojects.classes.indexTitle = Qt Data Visualization 3D C++ Classes -qhp.qtdatavis3d.subprojects.classes.selectors = class fake:headerfile -qhp.qtdatavis3d.subprojects.classes.sortPages = true diff --git a/src/datavis3d/doc/snippets/doc_src_q3dbars_construction.cpp b/src/datavis3d/doc/snippets/doc_src_q3dbars_construction.cpp deleted file mode 100644 index 4372fada..00000000 --- a/src/datavis3d/doc/snippets/doc_src_q3dbars_construction.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2013 Digia Plc -** All rights reserved. -** For any questions to Digia, please use contact form at http://qt.digia.com -** -** This file is part of the QtDataVis3D module. -** -** Licensees holding valid Qt Enterprise licenses may use this file in -** accordance with the Qt Enterprise License Agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and Digia. -** -** If you have questions regarding the use of this file, please use -** contact form at http://qt.digia.com -** -****************************************************************************/ - -//! [3] -#include <QtDataVis3D> - -int main(int argc, char **argv) -{ - QGuiApplication app(argc, argv); - - //! [0] - Q3DBars *bars = new Q3DBars(); - bars->setDataWindow(5, 5); - //! [0] - //! [1] - QBarDataRow data; - data << 1.0 << 3.0 << 7.5 << 5.0 << 2.2; - bars->dataProxy()->addRow(&data); - //! [1] - //! [2] - bars->show(); - //! [2] - - return app.exec(); -} -//! [3] diff --git a/src/datavis3d/doc/snippets/doc_src_q3dscatter_construction.cpp b/src/datavis3d/doc/snippets/doc_src_q3dscatter_construction.cpp deleted file mode 100644 index f92f60bc..00000000 --- a/src/datavis3d/doc/snippets/doc_src_q3dscatter_construction.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2013 Digia Plc -** All rights reserved. -** For any questions to Digia, please use contact form at http://qt.digia.com -** -** This file is part of the QtDataVis3D module. -** -** Licensees holding valid Qt Enterprise licenses may use this file in -** accordance with the Qt Enterprise License Agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and Digia. -** -** If you have questions regarding the use of this file, please use -** contact form at http://qt.digia.com -** -****************************************************************************/ - -//! [3] -#include <QtDataVis3D> - -int main(int argc, char **argv) -{ - QGuiApplication app(argc, argv); - - //! [0] - Q3DScatter *scatter = new Q3DScatter(); - //! [0] - //! [1] - QScatterDataArray data; - data << QVector3D(1.0f, 0.5f, 1.0f) << QVector3D(-1.0f, -0.5f, -1.0f) << QVector3D(0.5f, 0.0f, 0.0f); - scatter->dataProxy()->addItems(data); - //! [1] - //! [2] - scatter->show(); - //! [2] - - return app.exec(); -} -//! [3] diff --git a/src/datavis3d/doc/snippets/doc_src_qtdatavis3d.cpp b/src/datavis3d/doc/snippets/doc_src_qtdatavis3d.cpp deleted file mode 100644 index 269ea520..00000000 --- a/src/datavis3d/doc/snippets/doc_src_qtdatavis3d.cpp +++ /dev/null @@ -1,69 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2013 Digia Plc -** All rights reserved. -** For any questions to Digia, please use contact form at http://qt.digia.com -** -** This file is part of the QtDataVis3D module. -** -** Licensees holding valid Qt Enterprise licenses may use this file in -** accordance with the Qt Enterprise License Agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and Digia. -** -** If you have questions regarding the use of this file, please use -** contact form at http://qt.digia.com -** -****************************************************************************/ - -//! [0] -#include <QtDataVis3D> -//! [0] - -//! [1] -proxy->setItemLabelFormat(QStringLiteral("@valueTitle for (@rowLabel, @colLabel): %.1f")); -//! [1] - -//! [2] -proxy->setItemLabelFormat(QStringLiteral("@xTitle: @xValue, @yTitle: @yValue, @zTitle: @zValue")); -//! [2] - -//! [3] -// By defining row and column categories, you tell the mapping which row and column each item -// belongs to. The categories must match the data stored in the model in the roles you define -// for row and column mapping. In this example we expect "year" role to return four digit year -// and "month" to return three letter designation for the month. -// -// An example of an item in model would be: -// Requested role -> Returned data -// "year" -> "2006" // Matches the first row category, so this item is added to the first row. -// "month" -> "jan" // Matches the first column category, so this item is added as first item in the row. -// "income" -> "12.1" -// "expenses" -> "9.2" -QStringList years; -QStringList months; -years << "2006" << "2007" << "2008" << "2009" << "2010" << "2011" << "2012"; -months << "jan" << "feb" << "mar" << "apr" << "may" << "jun" << "jul" << "aug" << "sep" << "oct" << "nov" << "dec"; - -QItemModelBarDataMapping *mapping = new QItemModelBarDataMapping(QStringLiteral("year"), // Row role - QStringLiteral("month"), // Column role - QStringLiteral("income"), // Value role - years, // Row categories - months); // Column categories - -QItemModelBarDataProxy *proxy = new QItemModelBarDataProxy(customModel, mapping); - -//... - -// To display different data later, you can simply change the mapping of the current -// mapping object, or set another mapping object. -proxy->activeMapping()->setValueRole(QStringLiteral("expenses")); -//! [3] - -//! [4] -// Map "density" value to X-axis, "hardness" to Y-axis and "conductivity" to Z-axis. -QItemModelScatterDataMapping *mapping = new QItemModelScatterDataMapping(QStringLiteral("density"), - QStringLiteral("hardness"), - QStringLiteral("conductivity")) -QItemModelScatterDataProxy *proxy = new QItemModelScatterDataProxy(customModel, mapping); -//! [4] diff --git a/src/datavis3d/doc/snippets/doc_src_qtdatavis3d.pro b/src/datavis3d/doc/snippets/doc_src_qtdatavis3d.pro deleted file mode 100644 index ba0f320b..00000000 --- a/src/datavis3d/doc/snippets/doc_src_qtdatavis3d.pro +++ /dev/null @@ -1,21 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2013 Digia Plc -** All rights reserved. -** For any questions to Digia, please use contact form at http://qt.digia.com -** -** This file is part of the QtDataVis3D module. -** -** Licensees holding valid Qt Enterprise licenses may use this file in -** accordance with the Qt Enterprise License Agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and Digia. -** -** If you have questions regarding the use of this file, please use -** contact form at http://qt.digia.com -** -****************************************************************************/ - -#! [0] -QT += datavis3d -#! [0] diff --git a/src/datavis3d/doc/src/qtdatavis3d-index.qdoc b/src/datavis3d/doc/src/qtdatavis3d-index.qdoc deleted file mode 100644 index d5bff9f8..00000000 --- a/src/datavis3d/doc/src/qtdatavis3d-index.qdoc +++ /dev/null @@ -1,60 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2013 Digia Plc -** All rights reserved. -** For any questions to Digia, please use contact form at http://qt.digia.com -** -** This file is part of the QtDataVis3D module. -** -** Licensees holding valid Qt Enterprise licenses may use this file in -** accordance with the Qt Enterprise License Agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and Digia. -** -** If you have questions regarding the use of this file, please use -** contact form at http://qt.digia.com -** -****************************************************************************/ - -/*! - \title Qt Data Visualization 3D - \page qtdatavis3d-index.html - \brief QtDataVis3D module provides functionality for 3D visualization. - - Qt Data Visualization module provides a way to visualize data in 3D. - It uses OpneGL for the data rendering. - - \section1 Getting Started - - Qt Data Visualization provides classes for rendering 3D data. To include - the definitions of the module's classes, use the following directive: - - \snippet doc_src_qtdatavis3d.cpp 0 - - To link against the module, add this line to your qmake \c - .pro file: - - \snippet doc_src_qtdatavis3d.pro 0 - - \section1 Articles - \list - \li \l{Qt Data Visualization 3D License Information}{License Information} - \endlist - - \section1 References - \list - \li \l{Qt Data Visualization 3D C++ Classes} - \endlist - - Qt Data Visualization 3D comes with the following examples: - - \list - \li \l{Barchart Example} - \li \l{Qt Quick 2 Barchart Example} - \li \l{Qt Quick 2 Scatter Example} - \li \l{Rainfall Example} - \li \l{Scatter Chart Example} - \li \l{Audiolevels Example} - \li \l{Widget Example} - \endlist -*/ diff --git a/src/datavis3d/doc/src/qtdatavis3d.qdoc b/src/datavis3d/doc/src/qtdatavis3d.qdoc deleted file mode 100644 index c27fe0a3..00000000 --- a/src/datavis3d/doc/src/qtdatavis3d.qdoc +++ /dev/null @@ -1,26 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2013 Digia Plc -** All rights reserved. -** For any questions to Digia, please use contact form at http://qt.digia.com -** -** This file is part of the QtDataVis3D module. -** -** Licensees holding valid Qt Enterprise licenses may use this file in -** accordance with the Qt Enterprise License Agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and Digia. -** -** If you have questions regarding the use of this file, please use -** contact form at http://qt.digia.com -** -****************************************************************************/ - -/*! - \module QtDataVis3D - \title Qt Data Visualization 3D C++ Classes - \ingroup modules - - \brief The QtDataVis3D module provides functionality for 3D visualization. -*/ - diff --git a/src/datavis3d/doc/src/qtdatavis3dlicense.qdoc b/src/datavis3d/doc/src/qtdatavis3dlicense.qdoc deleted file mode 100644 index 610fb9b7..00000000 --- a/src/datavis3d/doc/src/qtdatavis3dlicense.qdoc +++ /dev/null @@ -1,31 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2013 Digia Plc -** All rights reserved. -** For any questions to Digia, please use contact form at http://qt.digia.com -** -** This file is part of the QtDataVis3D module. -** -** Licensees holding valid Qt Enterprise licenses may use this file in -** accordance with the Qt Enterprise License Agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and Digia. -** -** If you have questions regarding the use of this file, please use -** contact form at http://qt.digia.com -** -****************************************************************************/ - -/*! - \page qtdatavis3dlicense.html - \title Qt Data Visualization 3D License Information - \ingroup licensing - \brief License information for Qt Data Visualization 3D - - TODO - - \legalese - TODO - \endlegalese - -*/ |