Process
Base classes
| Name | Children | Inherits |
|---|---|---|
| IODeviceMixin prettyqt.core.iodevice |
||
| QProcess PySide6.QtCore QProcess(self, /, parent: PySide6.QtCore.QObject | None \= None) -> None |
⋔ Inheritance diagram
graph TD
3829170544["core.Process"]
1351663398["core.IODeviceMixin"]
3227531497["core.ObjectMixin"]
2751680898["builtins.object"]
9113625["QtCore.QProcess"]
3657792459["QtCore.QIODevice"]
3984060476["QtCore.QObject"]
37984305["Shiboken.Object"]
2183098470["QtCore.QIODeviceBase"]
1351663398 --> 3829170544
3227531497 --> 1351663398
2751680898 --> 3227531497
9113625 --> 3829170544
3657792459 --> 9113625
3984060476 --> 3657792459
37984305 --> 3984060476
2751680898 --> 37984305
2183098470 --> 3657792459
37984305 --> 2183098470
🛈 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 |