File: example_qt_embedding.rst

package info (click to toggle)
mayavi2 4.8.3-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 21,892 kB
  • sloc: python: 49,447; javascript: 32,885; makefile: 129; fortran: 60
file content (22 lines) | stat: -rw-r--r-- 415 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22


.. _example_qt_embedding:

Qt embedding example
--------------------------------------------


This example demonstrates using Mayavi as a component of a large Qt
application.

For this use, Mayavi is embedded in a QWidget. To understand this
example, please read section :ref:`builing-applications`.


**Python source code:** :download:`qt_embedding.py`

.. literalinclude:: qt_embedding.py
    :lines: 8-