diff options
Diffstat (limited to 'doc/extras')
-rw-r--r-- | doc/extras/PySide.QtTest.rst | 7 | ||||
-rw-r--r-- | doc/extras/PySide.QtUiTools.rst | 9 |
2 files changed, 16 insertions, 0 deletions
diff --git a/doc/extras/PySide.QtTest.rst b/doc/extras/PySide.QtTest.rst new file mode 100644 index 000000000..d5963cb5a --- /dev/null +++ b/doc/extras/PySide.QtTest.rst @@ -0,0 +1,7 @@ +To include the definitions of the module's classes, use the following directive: + +:: + + import PySide.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/doc/extras/PySide.QtUiTools.rst b/doc/extras/PySide.QtUiTools.rst new file mode 100644 index 000000000..c8558f2d1 --- /dev/null +++ b/doc/extras/PySide.QtUiTools.rst @@ -0,0 +1,9 @@ +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:`PySide.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 |