aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/doc/extras
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside2/doc/extras')
-rw-r--r--sources/pyside2/doc/extras/QtCore.ClassInfo.rst23
-rw-r--r--sources/pyside2/doc/extras/QtCore.Property.rst62
-rw-r--r--sources/pyside2/doc/extras/QtCore.Signal.rst39
-rw-r--r--sources/pyside2/doc/extras/QtCore.Slot.rst39
-rw-r--r--sources/pyside2/doc/extras/QtCore.rst5
-rw-r--r--sources/pyside2/doc/extras/QtGui.rst7
-rw-r--r--sources/pyside2/doc/extras/QtHelp.rst5
-rw-r--r--sources/pyside2/doc/extras/QtMultimedia.rst7
-rw-r--r--sources/pyside2/doc/extras/QtNetwork.rst5
-rw-r--r--sources/pyside2/doc/extras/QtOpenGL.rst14
-rw-r--r--sources/pyside2/doc/extras/QtScript.rst21
-rw-r--r--sources/pyside2/doc/extras/QtScriptTools.rst5
-rw-r--r--sources/pyside2/doc/extras/QtSql.rst5
-rw-r--r--sources/pyside2/doc/extras/QtSvg.rst5
-rw-r--r--sources/pyside2/doc/extras/QtTest.rst7
-rw-r--r--sources/pyside2/doc/extras/QtUiTools.rst9
-rw-r--r--sources/pyside2/doc/extras/QtWebKit.rst94
-rw-r--r--sources/pyside2/doc/extras/QtXml.rst5
-rw-r--r--sources/pyside2/doc/extras/QtXmlPatterns.rst12
19 files changed, 0 insertions, 369 deletions
diff --git a/sources/pyside2/doc/extras/QtCore.ClassInfo.rst b/sources/pyside2/doc/extras/QtCore.ClassInfo.rst
deleted file mode 100644
index 89ca926c7..000000000
--- a/sources/pyside2/doc/extras/QtCore.ClassInfo.rst
+++ /dev/null
@@ -1,23 +0,0 @@
-.. currentmodule:: PySide2.QtCore
-.. _ClassInfo:
-
-ClassInfo
-*********
-
-This class is used to associates extra information to the class, which is available
-using QObject.metaObject(). Qt and PySide doesn't use this information.
-
-The extra information takes the form of a dictionary with key and value in a literal string.
-
-.. note:: This Class is a implementation of Q_CLASSINFO macro.
-
-
-Example
--------
-
-::
-
- @ClassInfo(Author='PySide Team', URL='http://www.pyside.org')
- class MyObject(QObject):
- ...
-
diff --git a/sources/pyside2/doc/extras/QtCore.Property.rst b/sources/pyside2/doc/extras/QtCore.Property.rst
deleted file mode 100644
index 209704c46..000000000
--- a/sources/pyside2/doc/extras/QtCore.Property.rst
+++ /dev/null
@@ -1,62 +0,0 @@
-.. currentmodule:: PySide2.QtCore
-.. _Property:
-Property
-********
-
-Detailed Description
---------------------
-
-The Property function lets you declare properties that
-behave both as Qt and Python properties, and have their
-setters and getters defined as Python functions.
-
-Here is an example that illustrates how to use this
-function:
-
-.. code-block::
- :linenos:
-
-from PySide2.QtCore import QObject, Property
-
-class MyObject(QObject):
- def __init__(self,startval=42):
- QObject.__init__(self)
- self.ppval = startval
-
- def readPP(self):
- return self.ppval
-
- def setPP(self,val):
- self.ppval = val
-
- pp = Property(int, readPP, setPP)
-
-obj = MyObject()
-obj.pp = 47
-print(obj.pp)
-
-Properties in QML expressions
------------------------------
-
-If you are using properties of your objects in QML expressions,
-QML requires that the property changes are notified. Here is an
-example illustrating how to do this:
-
-.. code-block::
- :linenos:
-
-from PySide2.QtCore import QObject, Signal, Property
-
-class Person(QObject):
- def __init__(self, name):
- QObject.__init__(self)
- self._person_name = name
-
- def _name(self):
- return self._person_name
-
- @Signal
- def name_changed(self):
- pass
-
- name = Property(str, _name, notify=name_changed)
diff --git a/sources/pyside2/doc/extras/QtCore.Signal.rst b/sources/pyside2/doc/extras/QtCore.Signal.rst
deleted file mode 100644
index a0660f88f..000000000
--- a/sources/pyside2/doc/extras/QtCore.Signal.rst
+++ /dev/null
@@ -1,39 +0,0 @@
-.. currentmodule:: PySide2.QtCore
-.. _Signal:
-
-Signal
-******
-
-Synopsis
---------
-
-Functions
-^^^^^^^^^
-
-+---------------------------------------------------------------------------------------------+
-|def :meth:`connect<Signal.connect>` (receiver) |
-+---------------------------------------------------------------------------------------------+
-|def :meth:`disconnect<Signal.disconnect>` (receiver) |
-+---------------------------------------------------------------------------------------------+
-|def :meth:`emit<Signal.disconnect>` (\*args) |
-+---------------------------------------------------------------------------------------------+
-
-Detailed Description
---------------------
-
- The :class:`~.Signal` class provides a way to declare and connect Qt signals in a pythonic way.
-
- PySide adopt PyQt's new signal and slot syntax as-is. The PySide implementation is functionally compatible with the PyQt 4.5 one, with the exceptions listed bellow.
-
-.. method:: Signal.connect(receiver[, type=Qt.AutoConnection])
-
- Create a connection between this signal and a `receiver`, the `receiver` can be a Python callable, a :class:`Slot` or a :class:`Signal`.
-
-.. method:: Signal.disconnect(receiver)
-
- Disconnect this signal from a `receiver`, the `receiver` can be a Python callable, a :class:`Slot` or a :class:`Signal`.
-
-.. method:: Signal.emit(*args)
-
- `args` is the arguments to pass to any connected slots, if any.
-
diff --git a/sources/pyside2/doc/extras/QtCore.Slot.rst b/sources/pyside2/doc/extras/QtCore.Slot.rst
deleted file mode 100644
index 5a59a2ae3..000000000
--- a/sources/pyside2/doc/extras/QtCore.Slot.rst
+++ /dev/null
@@ -1,39 +0,0 @@
-.. currentmodule:: PySide2.QtCore
-.. _Slot:
-
-Slot
-****
-
-Detailed Description
---------------------
-
- PySide2 adopt PyQt5's new signal and slot syntax as-is. The PySide2
- implementation is functionally compatible with the PyQt5 one, with the
- exceptions listed below.
-
- PyQt5's new signal and slot style utilizes method and decorator names
- specific to their implementation. These will be generalized according to
- the table below:
-
- ======= ======================= =============
- Module PyQt5 factory function PySide2 class
- ======= ======================= =============
- QtCore pyqtSignal Signal
- QtCore pyqtSlot Slot
- ======= ======================= =============
-
-Q_INVOKABLE
------------
-
- There is no equivalent of the Q_INVOKABLE macro of Qt
- since PySide2 slots can actually have return values.
- If you need to create a invokable method that returns some value,
- declare it as a slot, e.g.:
-
- ::
-
- class Foo(QObject):
-
- @Slot(float, result=int)
- def getFloatReturnInt(self, f):
- return int(f)
diff --git a/sources/pyside2/doc/extras/QtCore.rst b/sources/pyside2/doc/extras/QtCore.rst
deleted file mode 100644
index d3277a418..000000000
--- a/sources/pyside2/doc/extras/QtCore.rst
+++ /dev/null
@@ -1,5 +0,0 @@
-All other Qt modules rely on this module. To include the definitions of the module's classes, use the following directive:
-
-::
-
- import PySide2.QtCore
diff --git a/sources/pyside2/doc/extras/QtGui.rst b/sources/pyside2/doc/extras/QtGui.rst
deleted file mode 100644
index e16329c38..000000000
--- a/sources/pyside2/doc/extras/QtGui.rst
+++ /dev/null
@@ -1,7 +0,0 @@
-To include the definitions of modules classes, use the following directive:
-
-::
-
- import PySide2.QtGui
-
-.. seealso:: :mod:`PySide2.QtCore`
diff --git a/sources/pyside2/doc/extras/QtHelp.rst b/sources/pyside2/doc/extras/QtHelp.rst
deleted file mode 100644
index 239f4faa6..000000000
--- a/sources/pyside2/doc/extras/QtHelp.rst
+++ /dev/null
@@ -1,5 +0,0 @@
-To include the definitions of the module's classes, use the following directive:
-
-::
-
- import PySide2.QtHelp
diff --git a/sources/pyside2/doc/extras/QtMultimedia.rst b/sources/pyside2/doc/extras/QtMultimedia.rst
deleted file mode 100644
index 5088db4d0..000000000
--- a/sources/pyside2/doc/extras/QtMultimedia.rst
+++ /dev/null
@@ -1,7 +0,0 @@
-To include the definitions of the module's classes, use the following directive:
-
-::
-
- import PySide2.QtMultimedia
-
-
diff --git a/sources/pyside2/doc/extras/QtNetwork.rst b/sources/pyside2/doc/extras/QtNetwork.rst
deleted file mode 100644
index 07303b157..000000000
--- a/sources/pyside2/doc/extras/QtNetwork.rst
+++ /dev/null
@@ -1,5 +0,0 @@
-To include the definitions of the module's classes, use the following directive:
-
-::
-
- import PySide2.QtNetwork
diff --git a/sources/pyside2/doc/extras/QtOpenGL.rst b/sources/pyside2/doc/extras/QtOpenGL.rst
deleted file mode 100644
index 38783d9fd..000000000
--- a/sources/pyside2/doc/extras/QtOpenGL.rst
+++ /dev/null
@@ -1,14 +0,0 @@
-OpenGL is a standard API for rendering 3D graphics. OpenGL only deals with 3D rendering and provides little or no support for GUI programming issues. The user interface for an OpenGL application must be created with another toolkit, such as Motif on the X platform, Microsoft Foundation Classes (MFC) under Windows, or Qt on both platforms.
-
-.. note:: OpenGL is a trademark of Silicon Graphics, Inc. in the United States and other countries.
-
-The Qt OpenGL module makes it easy to use OpenGL in Qt applications. It provides an OpenGL widget class that can be used just like any other Qt widget, except that it opens an OpenGL display buffer where you can use the OpenGL API to render the contents.
-To include the definitions of the module's classes, use the following directive:
-
-::
-
- import PySide2.QtOpenGL
-
-The Qt OpenGL module is implemented as a platform-independent wrapper around the platform-dependent GLX (version 1.3 or later), WGL, or AGL C APIs. Although the basic functionality provided is very similar to Mark Kilgard's GLUT library, applications using the Qt OpenGL module can take advantage of the whole Qt API for non-OpenGL-specific GUI functionality.
-
-The QtOpenGL module is available on Windows, X11 and Mac OS X. Qt for Embedded Linux and OpenGL supports OpenGL ES (OpenGL for Embedded Systems). \ No newline at end of file
diff --git a/sources/pyside2/doc/extras/QtScript.rst b/sources/pyside2/doc/extras/QtScript.rst
deleted file mode 100644
index 8ce7681ec..000000000
--- a/sources/pyside2/doc/extras/QtScript.rst
+++ /dev/null
@@ -1,21 +0,0 @@
-The QtScript module only provides core scripting facilities; the QtScriptTools module provides additional Qt Script-related components that application developers may find useful.
-
-To include the definitions of the module's classes, use the following directive:
-
-::
-
- import PySide2.QtScript
-
-License Information
--------------------
-
-Qt Commercial Edition licensees that wish to distribute applications that use the QtScript module need to be aware of their obligations under the GNU Library General Public License (LGPL).
-
-Developers using the Open Source Edition can choose to redistribute the module under the appropriate version of the GNU LGPL.
-QtScript is licensed under the GNU Library General Public License. Individual contributor names and copyright dates can be found inline in the code.
-
-This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
-
-This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.
-
-You should have received a copy of the GNU Library General Public License along with this library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
diff --git a/sources/pyside2/doc/extras/QtScriptTools.rst b/sources/pyside2/doc/extras/QtScriptTools.rst
deleted file mode 100644
index a54ed914b..000000000
--- a/sources/pyside2/doc/extras/QtScriptTools.rst
+++ /dev/null
@@ -1,5 +0,0 @@
-Applications that use the Qt Script Tools classes need to be configured to be built against the QtScriptTools module. To include the definitions of the module's classes, use the following directive:
-
-::
-
- import PySide2.QtScriptTools
diff --git a/sources/pyside2/doc/extras/QtSql.rst b/sources/pyside2/doc/extras/QtSql.rst
deleted file mode 100644
index fcdd6ba02..000000000
--- a/sources/pyside2/doc/extras/QtSql.rst
+++ /dev/null
@@ -1,5 +0,0 @@
-To include the definitions of the module's classes, use the following directive:
-
-::
-
- import PySide2.QtSql
diff --git a/sources/pyside2/doc/extras/QtSvg.rst b/sources/pyside2/doc/extras/QtSvg.rst
deleted file mode 100644
index 7817e532f..000000000
--- a/sources/pyside2/doc/extras/QtSvg.rst
+++ /dev/null
@@ -1,5 +0,0 @@
-To include the definitions of the module's classes, use the following directive:
-
-::
-
- import PySide2.QtSvg
diff --git a/sources/pyside2/doc/extras/QtTest.rst b/sources/pyside2/doc/extras/QtTest.rst
deleted file mode 100644
index 0b89a22d4..000000000
--- a/sources/pyside2/doc/extras/QtTest.rst
+++ /dev/null
@@ -1,7 +0,0 @@
-To include the definitions of the module's classes, use the following directive:
-
-::
-
- import PySide2.QtTest
-
-.. note:: All macros in the C++ version of QtTest were not binded in PySide, this module is useful only for GUI testing and benchmarking, for ordinary unit testing you should use the ``unittest`` Python module.
diff --git a/sources/pyside2/doc/extras/QtUiTools.rst b/sources/pyside2/doc/extras/QtUiTools.rst
deleted file mode 100644
index 553224527..000000000
--- a/sources/pyside2/doc/extras/QtUiTools.rst
+++ /dev/null
@@ -1,9 +0,0 @@
-These forms are processed at run-time to produce dynamically-generated user interfaces. In order to generate a form at run-time, a resource file containing a UI file is needed.
-
-A form loader object, provided by the QUiLoader class, is used to construct the user interface. This user interface can be retrieved from any QIODevice; for example, a QFile object can be used to obtain a form stored in a project's resources. The :meth:`PySide2.QtUiTools.QUiLoader.load` function takes the user interface description contained in the file and constructs the form widget.
-
-To include the definitions of the module's classes, use the following directive:
-
-::
-
- import PySide..QtUiTools
diff --git a/sources/pyside2/doc/extras/QtWebKit.rst b/sources/pyside2/doc/extras/QtWebKit.rst
deleted file mode 100644
index 58f9230a7..000000000
--- a/sources/pyside2/doc/extras/QtWebKit.rst
+++ /dev/null
@@ -1,94 +0,0 @@
-QtWebKit provides a Web browser engine that makes it easy to embed content from the World Wide Web into your Qt application. At the same time Web content can be enhanced with native controls.
-
-QtWebKit provides facilities for rendering of HyperText Markup Language (HTML), Extensible HyperText Markup Language (XHTML) and Scalable Vector Graphics (SVG) documents, styled using Cascading Style Sheets (CSS) and scripted with JavaScript.
-
-A bridge between the JavaScript execution environment and the Qt object model makes it possible for custom QObjects to be scripted. Integration with the Qt networking module enables Web pages to be transparently loaded from Web servers, the local file system or even the Qt resource system.
-
-In addition to providing pure rendering features, HTML documents can be made fully editable to the user through the use of the contenteditable attribute on HTML elements.
-
-QtWebKit is based on the Open Source WebKit engine. More information about WebKit itself can be found on the _`WebKit Open Source Project <http://webkit.org/>` Web site.
-
-Including In Your Project
--------------------------
-
-To include the definitions of the module's classes, use the following directive:
-
-::
-
- import PySide2.QtWebKit
-
-
-.. note:: Web site icons, also known as "FavIcons", are currently not supported on Windows. We plan to address this in a future release.
-
-Architecture
-------------
-
-The easiest way to render content is through the QWebView class. As a widget it can be embedded into your forms or a graphics view, and it provides convenience functions for downloading and rendering web sites.
-
-::
-
- view = QWebView(parent)
- view.load(QUrl("http://qt.nokia.com/"))
- view.show()
-
-QWebView is used to view Web pages. An instance of QWebView has one QWebPage. QWebPage provides access to the document structure in a page, describing features such as frames, the navigation history, and the undo/redo stack for editable content.
-
-HTML documents can be nested using frames in a frameset. An individual frame in HTML is represented using the QWebFrame class. This class includes the bridge to the JavaScript window object and can be painted using QPainter. Each QWebPage has one QWebFrame object as its main frame, and the main frame may contain many child frames.
-
-Individual elements of an HTML document can be accessed via DOM JavaScript interfaces from within a web page. The equivalent of this API in QtWebKit is represented by QWebElement. QWebElement objects are obtained using QWebFrame's findAllElements() and findFirstElement() functions with CSS selector queries.
-
-Common web browser features, defaults and other settings can be configured through the QWebSettings class. It is possible to provide defaults for all QWebPage instances through the default settings. Individual attributes can be overidden by the page specific settings object.
-
-Netscape Plugin Support
------------------------
-
-.. note:: Netscape plugin support is only available on desktop platforms.
-
-Since WebKit supports the Netscape Plugin API, Qt applications can display Web pages that embed common plugins on platforms for which those plugins are available. To enable plugin support, the user must have the appropriate binary files for those plugins installed and the ``QWebSettings.PluginsEnabled`` attribute must be enabled for the application.
-
-The following locations are searched for plugins:
-
-* Linux/Unix (X11)
- * .mozilla/plugins in the user's home directory
- * .netscape/plugins in the user's home directory
- * System locations, such as
- * /usr/lib/browser/plugins
- * /usr/local/lib/mozilla/plugins
- * /usr/lib/firefox/plugins
- * /usr/lib64/browser-plugins
- * /usr/lib/browser-plugins
- * /usr/lib/mozilla/plugins
- * /usr/local/netscape/plugins
- * /opt/mozilla/plugins
- * /opt/mozilla/lib/plugins
- * /opt/netscape/plugins
- * /opt/netscape/communicator/plugins
- * /usr/lib/netscape/plugins
- * /usr/lib/netscape/plugins-libc5
- * /usr/lib/netscape/plugins-libc6
- * /usr/lib64/netscape/plugins
- * /usr/lib64/mozilla/plugins
- * Locations specified by environment variables:
- * $MOZILLA_HOME/plugins
- * $MOZ_PLUGIN_PATH
- * $QTWEBKIT_PLUGIN_PATH
-* Windows
- * The user's Application Data\Mozilla\plugins directory
- * Standard system locations of plugins for Quicktime, Flash, etc.
-* Mac OS X
- * Library/Internet Plug-Ins in the user's home directory
- * The system /Library/Internet Plug-Ins directory
-
-License Information
--------------------
-
-Qt Commercial Edition licensees that wish to distribute applications that use the QtWebKit module need to be aware of their obligations under the GNU Library General Public License (LGPL).
-
-Developers using the Open Source Edition can choose to redistribute the module under the appropriate version of the GNU LGPL.
-WebKit is licensed under the GNU Library General Public License. Individual contributor names and copyright dates can be found inline in the code.
-
-This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
-
-This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.
-
-You should have received a copy of the GNU Library General Public License along with this library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. \ No newline at end of file
diff --git a/sources/pyside2/doc/extras/QtXml.rst b/sources/pyside2/doc/extras/QtXml.rst
deleted file mode 100644
index 4b48ef21e..000000000
--- a/sources/pyside2/doc/extras/QtXml.rst
+++ /dev/null
@@ -1,5 +0,0 @@
-To include the definitions of the module's classes, use the following directive:
-
-::
-
- import PySide2.QtXml
diff --git a/sources/pyside2/doc/extras/QtXmlPatterns.rst b/sources/pyside2/doc/extras/QtXmlPatterns.rst
deleted file mode 100644
index 99254ad62..000000000
--- a/sources/pyside2/doc/extras/QtXmlPatterns.rst
+++ /dev/null
@@ -1,12 +0,0 @@
-To include the definitions of the module's classes, use the following directive:
-
-::
-
- import PySide2.QtXmlPatterns
-
-Further Reading
----------------
-
-General overviews of XQuery and XSchema can be found in the XQuery document.
-
-An introduction to the XQuery language can be found in A Short Path to XQuery.