aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/doc/extras/QtCore.rst
blob: 4f86e5c35141154e3ab5ca6af45989973c0a6f9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
The Qt Core module is part of Qt's essential modules.

The Qt Core module adds these features to C++:

    * a very powerful mechanism for seamless object communication called signals and slots
    * queryable and designable object properties
    * hierarchical and queryable object trees

The following pages provide more information about Qt's core features:

    * :ref:`The Meta-Object System<The-Meta-Object-System>`
    * :ref:`The Property System<The-Property-System>`
    * :ref:`Object Model<Object-Model>`
    * :ref:`Object Trees & Ownership<Object-Trees---Ownership>`
    * :ref:`Signals & Slots<Signals---Slots>`

Using the Module
^^^^^^^^^^^^^^^^

To include the definitions of modules classes, use the following
directive:

::

    import PySide6.QtCore

Threading and Concurrent Programming
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Qt provides thread support in the form of platform-independent
threading classes, a thread-safe way of posting events, and
signal-slot connections across threads. Multithreaded programming is
also a useful paradigm for performing time-consuming operations
without freezing the user interface of an application.

The Thread Support in Qt page contains information on implementing
threads in applications. Additional concurrent classes are provided by
the :ref:`Qt Concurrent<Qt-Concurrent>` module.

Input/Output and Resources
^^^^^^^^^^^^^^^^^^^^^^^^^^

Qt provides a resource system for organizing application files and
assets, a set of containers, and classes for receiving input and
printing output.

    * :ref:`Serializing Qt Data Types<Serializing-Qt-Data-Types>`

In addition, Qt Core provides a platform-independent mechanism for
storing binary files in the application's executable.

    * :ref:`The Qt Resource System<tutorial_qrcfiles>`

Additional Frameworks
^^^^^^^^^^^^^^^^^^^^^

Qt Core also provides some of Qt's key frameworks.

    * :ref:`The Animation Framework<The-Animation-Framework>`
    * :ref:`CBOR-Support-in-Qt`
    * :ref:`JSON-Support-in-Qt`
    * :ref:`Inter-Process-Communication`
    * :ref:`The Event System<The-Event-System>`
    * :ref:`Application-Permissions`

List of Classes by Function
---------------------------

    * :ref:`Animation-Framework`
    * :ref:`Event-Classes`
    * :ref:`Input-Output-and-Networking`