Process
Qt Base Class: QProcess
Signature: QProcess(self, parent: Optional[PySide6.QtCore.QObject] = None) -> None
Base classes
Name | Children | Inherits |
---|---|---|
IODeviceMixin prettyqt.core.iodevice |
||
QProcess PySide6.QtCore QProcess(self, parent: Optional[PySide6.QtCore.QObject] \= None) -> None |
⋔ Inheritance diagram
graph TD
1473299878464["core.Process"]
1473299871632["core.IODeviceMixin"]
1473299815024["core.ObjectMixin"]
140713234304496["builtins.object"]
1473288852976["QtCore.QProcess"]
1473288885184["QtCore.QIODevice"]
1473288842240["QtCore.QObject"]
1473291690208["Shiboken.Object"]
1473243629040["QtCore.QIODeviceBase"]
1473299871632 --> 1473299878464
1473299815024 --> 1473299871632
140713234304496 --> 1473299815024
1473288852976 --> 1473299878464
1473288885184 --> 1473288852976
1473288842240 --> 1473288885184
1473291690208 --> 1473288842240
140713234304496 --> 1473291690208
1473243629040 --> 1473288885184
1473291690208 --> 1473243629040
🛈 DocStrings
Bases: IODeviceMixin
, QProcess
Used to start external programs and to communicate with them.
Source code in prettyqt\core\process.py
set_input_channel_mode(mode: InputChannelModeStr | core.QProcess.InputChannelMode)
Set the input channel mode.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
mode |
InputChannelModeStr | InputChannelMode
|
mode to set |
required |
set_process_channel_mode(mode: ProcessChannelModeStr | core.QProcess.ProcessChannelMode)
Set the process channel mode.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
mode |
ProcessChannelModeStr | ProcessChannelMode
|
mode to set |
required |
Source code in prettyqt\core\process.py
set_read_channel(channel: ProcessChannelStr | core.QProcess.ProcessChannelMode)
Set the input channel channel.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
channel |
ProcessChannelStr | ProcessChannelMode
|
channel to set |
required |
set_state(state: ProcessStateStr | core.QProcess.ProcessState)
Set the process state.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
state |
ProcessStateStr | ProcessState
|
state to set |
required |
⌗ Property table
Qt Property | Type | Doc |
---|---|---|
objectName |
QString |