populse_mia.user_interface.pipeline_manager.process_library¶
Module that contains class and methods to process the different libraries of the project.
- Contains:
- Class:
DictionaryTreeModel
InstallProcesses
Node
PackageLibrary
PackageLibraryDialog
ProcessHelp
ProcessLibrary
ProcessLibraryWidget
- Functions:
import_file
node_structure_from_dict
Functions
|
Import a Python module from a specified file path. |
|
Construct a hierarchical node structure from a dictionary. |
Classes
|
Data model providing a tree structure for an arbitrary dictionary. |
|
Dialog for installing Python packages from a folder or zip file. |
|
A tree-like structure to manage hierarchical data with parent-child relationships. |
|
A tree widget that displays user-added packages and their modules. |
|
Dialog for managing package library configurations. |
|
A tree view to display available Capsul's processes. |
|
Widget that manages the available Capsul's processes in the software. |
- populse_mia.user_interface.pipeline_manager.process_library.copy(x)[source]¶
Shallow copy operation on arbitrary Python objects.
See the module’s __doc__ string for more info.
- populse_mia.user_interface.pipeline_manager.process_library.deepcopy(x, memo=None, _nil=[])[source]¶
Deep copy operation on arbitrary Python objects.
See the module’s __doc__ string for more info.
- class populse_mia.user_interface.pipeline_manager.process_library.datetime(year, month, day[, hour[, minute[, second[, microsecond[, tzinfo]]]]])¶
Bases:
dateThe year, month and day arguments are required. tzinfo may be None, or an instance of a tzinfo subclass. The remaining arguments may be ints.
- astimezone()¶
tz -> convert to local time in new timezone tz
- combine()¶
date, time -> datetime with same date and time fields
- ctime()¶
Return ctime() style string.
- date()¶
Return date object with same year, month and day.
- dst()¶
Return self.tzinfo.dst(self).
- fold¶
- fromisoformat()¶
string -> datetime from a string in most ISO 8601 formats
- fromtimestamp()¶
timestamp[, tz] -> tz’s local time from POSIX timestamp.
- hour¶
- isoformat()¶
[sep] -> string in ISO 8601 format, YYYY-MM-DDT[HH[:MM[:SS[.mmm[uuu]]]]][+HH:MM]. sep is used to separate the year from the time, and defaults to ‘T’. The optional argument timespec specifies the number of additional terms of the time to include. Valid options are ‘auto’, ‘hours’, ‘minutes’, ‘seconds’, ‘milliseconds’ and ‘microseconds’.
- max = datetime.datetime(9999, 12, 31, 23, 59, 59, 999999)¶
- microsecond¶
- min = datetime.datetime(1, 1, 1, 0, 0)¶
- minute¶
- now()¶
Returns new datetime object representing current time local to tz.
- tz
Timezone object.
If no tz is specified, uses local timezone.
- replace()¶
Return datetime with new specified fields.
- resolution = datetime.timedelta(microseconds=1)¶
- second¶
- strptime()¶
string, format -> new datetime parsed from a string (like time.strptime()).
- time()¶
Return time object with same time but with tzinfo=None.
- timestamp()¶
Return POSIX timestamp as float.
- timetuple()¶
Return time tuple, compatible with time.localtime().
- timetz()¶
Return time object with same time and tzinfo.
- tzinfo¶
- tzname()¶
Return self.tzinfo.tzname(self).
- utcfromtimestamp()¶
Construct a naive UTC datetime from a POSIX timestamp.
- utcnow()¶
Return a new datetime representing UTC day and time.
- utcoffset()¶
Return self.tzinfo.utcoffset(self).
- utctimetuple()¶
Return UTC time tuple, compatible with time.localtime().
- class populse_mia.user_interface.pipeline_manager.process_library.partial[source]¶
Bases:
objectpartial(func, *args, **keywords) - new function with partial application of the given arguments and keywords.
- args¶
tuple of arguments to future partial calls
- func¶
function object to use in future partial calls
- keywords¶
dictionary of keyword arguments to future partial calls
- class populse_mia.user_interface.pipeline_manager.process_library.Path(*args, **kwargs)[source]¶
Bases:
PurePathPurePath subclass that can make system calls.
Path represents a filesystem path but unlike PurePath, also offers methods to do system calls on path objects. Depending on your system, instantiating a Path will return either a PosixPath or a WindowsPath object. You can also instantiate a PosixPath or WindowsPath directly, but cannot instantiate a WindowsPath on a POSIX system or vice versa.
- stat(*, follow_symlinks=True)[source]¶
Return the result of the stat() system call on this path, like os.stat() does.
- lstat()[source]¶
Like stat(), except if the path points to a symlink, the symlink’s status information is returned, rather than its target’s.
- exists(*, follow_symlinks=True)[source]¶
Whether this path exists.
This method normally follows symlinks; to check whether a symlink exists, add the argument follow_symlinks=False.
- is_file()[source]¶
Whether this path is a regular file (also True for symlinks pointing to regular files).
- samefile(other_path)[source]¶
Return whether other_path is the same or not as this file (as returned by os.path.samefile()).
- open(mode='r', buffering=-1, encoding=None, errors=None, newline=None)[source]¶
Open the file pointed to by this path and return a file object, as the built-in open() function does.
- read_text(encoding=None, errors=None)[source]¶
Open the file in text mode, read it, and close the file.
- write_text(data, encoding=None, errors=None, newline=None)[source]¶
Open the file in text mode, write to it, and close the file.
- iterdir()[source]¶
Yield path objects of the directory contents.
The children are yielded in arbitrary order, and the special entries ‘.’ and ‘..’ are not included.
- glob(pattern, *, case_sensitive=None)[source]¶
Iterate over this subtree and yield all existing files (of any kind, including directories) matching the given relative pattern.
- rglob(pattern, *, case_sensitive=None)[source]¶
Recursively yield all existing files (of any kind, including directories) matching the given relative pattern, anywhere in this subtree.
- walk(top_down=True, on_error=None, follow_symlinks=False)[source]¶
Walk the directory tree from this directory, similar to os.walk().
- classmethod home()[source]¶
Return a new path pointing to the user’s home directory (as returned by os.path.expanduser(‘~’)).
- absolute()[source]¶
Return an absolute version of this path by prepending the current working directory. No normalization or symlink resolution is performed.
Use resolve() to get the canonical path to a file.
- resolve(strict=False)[source]¶
Make the path absolute, resolving all symlinks on the way and also normalizing it.
- touch(mode=438, exist_ok=True)[source]¶
Create this file with the given access mode, if it doesn’t exist.
- lchmod(mode)[source]¶
Like chmod(), except if the path points to a symlink, the symlink’s permissions are changed, rather than its target’s.
- unlink(missing_ok=False)[source]¶
Remove this file or link. If the path is a directory, use rmdir() instead.
- rename(target)[source]¶
Rename this path to the target path.
The target path may be absolute or relative. Relative paths are interpreted relative to the current working directory, not the directory of the Path object.
Returns the new Path instance pointing to the target path.
- replace(target)[source]¶
Rename this path to the target path, overwriting if that path exists.
The target path may be absolute or relative. Relative paths are interpreted relative to the current working directory, not the directory of the Path object.
Returns the new Path instance pointing to the target path.
- symlink_to(target, target_is_directory=False)[source]¶
Make this path a symlink pointing to the target path. Note the order of arguments (link, target) is the reverse of os.symlink.
- class populse_mia.user_interface.pipeline_manager.process_library.ZipFile(file, mode='r', compression=0, allowZip64=True, compresslevel=None, *, strict_timestamps=True, metadata_encoding=None)[source]¶
Bases:
objectClass with methods to open, read, write, close, list zip files.
- z = ZipFile(file, mode=”r”, compression=ZIP_STORED, allowZip64=True,
compresslevel=None)
- file: Either the path to the file, or a file-like object.
If it is a path, the file will be opened and closed by ZipFile.
- mode: The mode can be either read ‘r’, write ‘w’, exclusive create ‘x’,
or append ‘a’.
- compression: ZIP_STORED (no compression), ZIP_DEFLATED (requires zlib),
ZIP_BZIP2 (requires bz2) or ZIP_LZMA (requires lzma).
- allowZip64: if True ZipFile will create files with ZIP64 extensions when
needed, otherwise it will raise an exception when this would be necessary.
- compresslevel: None (default for the given compression type) or an integer
specifying the level to pass to the compressor. When using ZIP_STORED or ZIP_LZMA this keyword has no effect. When using ZIP_DEFLATED integers 0 through 9 are accepted. When using ZIP_BZIP2 integers 1 through 9 are accepted.
- _windows_illegal_name_trans_table = None¶
- __init__(file, mode='r', compression=0, allowZip64=True, compresslevel=None, *, strict_timestamps=True, metadata_encoding=None)[source]¶
Open the ZIP file with mode read ‘r’, write ‘w’, exclusive create ‘x’, or append ‘a’.
- fp = None¶
- testzip()[source]¶
Read all the files and check the CRC.
Return None if all files could be read successfully, or the name of the offending file otherwise.
- property comment¶
The comment text associated with the ZIP file.
- read(name, pwd=None)[source]¶
Return file bytes for name. ‘pwd’ is the password to decrypt encrypted files.
- open(name, mode='r', pwd=None, *, force_zip64=False)[source]¶
Return file-like object for ‘name’.
name is a string for the file name within the ZIP file, or a ZipInfo object.
mode should be ‘r’ to read a file already in the ZIP file, or ‘w’ to write to a file newly added to the archive.
pwd is the password to decrypt files (only used for reading).
When writing, if the file size is not known in advance but may exceed 2 GiB, pass force_zip64 to use the ZIP64 format, which can handle large files. If the size is known in advance, it is best to pass a ZipInfo instance for name, with zinfo.file_size set.
- extract(member, path=None, pwd=None)[source]¶
Extract a member from the archive to the current working directory, using its full name. Its file information is extracted as accurately as possible. `member’ may be a filename or a ZipInfo object. You can specify a different directory using `path’. You can specify the password to decrypt the file using ‘pwd’.
- extractall(path=None, members=None, pwd=None)[source]¶
Extract all members from the archive to the current working directory. `path’ specifies a different directory to extract to. `members’ is optional and must be a subset of the list returned by namelist(). You can specify the password to decrypt all files using ‘pwd’.
- classmethod _sanitize_windows_name(arcname, pathsep)[source]¶
Replace bad characters and remove trailing dots from parts.
- _extract_member(member, targetpath, pwd)[source]¶
Extract the ZipInfo object ‘member’ to a physical file on the path targetpath.
- write(filename, arcname=None, compress_type=None, compresslevel=None)[source]¶
Put the bytes from filename into the archive under the name arcname.
- writestr(zinfo_or_arcname, data, compress_type=None, compresslevel=None)[source]¶
Write a file into the archive. The contents is ‘data’, which may be either a ‘str’ or a ‘bytes’ instance; if it is a ‘str’, it is encoded as UTF-8 first. ‘zinfo_or_arcname’ is either a ZipInfo instance or the name of the file in the archive.
- populse_mia.user_interface.pipeline_manager.process_library.is_zipfile(filename)[source]¶
Quickly see if a file is a ZIP file by checking the magic number.
The filename argument may be a file or file-like object too.
- populse_mia.user_interface.pipeline_manager.process_library.get_process_instance(process_or_id, study_config=None, **kwargs)[source]¶
Return a Process instance given an identifier.
Note that it is convenient to create a process from a StudyConfig instance: StudyConfig.get_process_instance()
The identifier is either:
a derived Process class.
a derived Process class instance.
a Nipype Interface instance.
a Nipype Interface class.
a string description of the class <module>.<class>.
a string description of a function to warp <module>.<function>.
a string description of a module containing a single process <module>
a string description of a pipeline <module>.<fname>.xml.
an XML filename for a pipeline.
a JSON filename for a pipeline.
a Python (.py) filename with process name in it: /path/process_source.py#ProcessName.
a Python (.py) filename for a file containing a single process.
Default values of the process instance are passed as additional parameters.
- Parameters:
process_or_id (instance or class description (mandatory)) – a process/nipype interface instance/class or a string description.
study_config (StudyConfig instance (optional)) – A Process instance belongs to a StudyConfig framework. If not specified the study_config can be set afterwards.
kwargs – default values of the process instance parameters.
- Returns:
result – an initialized process instance.
- Return type:
- class populse_mia.user_interface.pipeline_manager.process_library.QAbstractItemView(parent: QWidget | None = None)¶
Bases:
QAbstractScrollArea- AboveItem = 1¶
- AllEditTriggers = 31¶
- AnimatingState = 6¶
- AnyKeyPressed = 16¶
- BelowItem = 2¶
- CollapsingState = 5¶
- ContiguousSelection = 4¶
- CurrentChanged = 1¶
- DoubleClicked = 2¶
- DragDrop = 3¶
- DragOnly = 1¶
- DragSelectingState = 2¶
- DraggingState = 1¶
- DropOnly = 2¶
- EditKeyPressed = 8¶
- class EditTriggers¶
- class EditTriggers(f: QAbstractItemView.EditTriggers | QAbstractItemView.EditTrigger)
- class EditTriggers(a0: QAbstractItemView.EditTriggers)
Bases:
simplewrapper
- EditingState = 3¶
- EnsureVisible = 0¶
- ExpandingState = 4¶
- ExtendedSelection = 3¶
- InternalMove = 4¶
- MoveDown = 1¶
- MoveEnd = 5¶
- MoveHome = 4¶
- MoveLeft = 2¶
- MoveNext = 8¶
- MovePageDown = 7¶
- MovePageUp = 6¶
- MovePrevious = 9¶
- MoveRight = 3¶
- MoveUp = 0¶
- MultiSelection = 2¶
- NoDragDrop = 0¶
- NoEditTriggers = 0¶
- NoSelection = 0¶
- NoState = 0¶
- OnItem = 0¶
- OnViewport = 3¶
- PositionAtBottom = 2¶
- PositionAtCenter = 3¶
- PositionAtTop = 1¶
- ScrollPerItem = 0¶
- ScrollPerPixel = 1¶
- SelectColumns = 2¶
- SelectItems = 0¶
- SelectRows = 1¶
- SelectedClicked = 4¶
- SingleSelection = 1¶
- activated¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- clearSelection(self)¶
- clicked¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- closePersistentEditor(self, index: QModelIndex)¶
- currentChanged(self, current: QModelIndex, previous: QModelIndex)¶
- currentIndex(self) QModelIndex¶
- dataChanged(self, topLeft: QModelIndex, bottomRight: QModelIndex, roles: Iterable[int] = [])¶
- defaultDropAction(self) Qt.DropAction¶
- doubleClicked¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- dragDropMode(self) QAbstractItemView.DragDropMode¶
- dropIndicatorPosition(self) QAbstractItemView.DropIndicatorPosition¶
- edit(self, index: QModelIndex)¶
- edit(self, index: QModelIndex, trigger: QAbstractItemView.EditTrigger, event: QEvent | None) bool
- editTriggers(self) QAbstractItemView.EditTriggers¶
- entered¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- executeDelayedItemsLayout(self)¶
- horizontalScrollMode(self) QAbstractItemView.ScrollMode¶
- iconSize(self) QSize¶
- iconSizeChanged¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- indexAt(self, p: QPoint) QModelIndex¶
- indexWidget(self, index: QModelIndex) QWidget | None¶
- inputMethodQuery(self, query: Qt.InputMethodQuery) Any¶
- isIndexHidden(self, index: QModelIndex) bool¶
- isPersistentEditorOpen(self, index: QModelIndex) bool¶
- itemDelegate(self) QAbstractItemDelegate | None¶
- itemDelegate(self, index: QModelIndex) QAbstractItemDelegate | None
- model(self) QAbstractItemModel | None¶
- moveCursor(self, cursorAction: QAbstractItemView.CursorAction, modifiers: Qt.KeyboardModifiers | Qt.KeyboardModifier) QModelIndex¶
- openPersistentEditor(self, index: QModelIndex)¶
- pressed¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- reset(self)¶
- resetHorizontalScrollMode(self)¶
- resetVerticalScrollMode(self)¶
- rootIndex(self) QModelIndex¶
- rowsAboutToBeRemoved(self, parent: QModelIndex, start: int, end: int)¶
- rowsInserted(self, parent: QModelIndex, start: int, end: int)¶
- scheduleDelayedItemsLayout(self)¶
- scrollTo(self, index: QModelIndex, hint: QAbstractItemView.ScrollHint = QAbstractItemView.EnsureVisible)¶
- scrollToBottom(self)¶
- scrollToTop(self)¶
- selectAll(self)¶
- selectedIndexes(self) List[QModelIndex]¶
- selectionBehavior(self) QAbstractItemView.SelectionBehavior¶
- selectionChanged(self, selected: QItemSelection, deselected: QItemSelection)¶
- selectionCommand(self, index: QModelIndex, event: QEvent | None = None) QItemSelectionModel.SelectionFlags¶
- selectionMode(self) QAbstractItemView.SelectionMode¶
- selectionModel(self) QItemSelectionModel | None¶
- setCurrentIndex(self, index: QModelIndex)¶
- setDefaultDropAction(self, dropAction: Qt.DropAction)¶
- setDirtyRegion(self, region: QRegion)¶
- setDragDropMode(self, behavior: QAbstractItemView.DragDropMode)¶
- setEditTriggers(self, triggers: QAbstractItemView.EditTriggers | QAbstractItemView.EditTrigger)¶
- setHorizontalScrollMode(self, mode: QAbstractItemView.ScrollMode)¶
- setIconSize(self, size: QSize)¶
- setIndexWidget(self, index: QModelIndex, widget: QWidget | None)¶
- setModel(self, model: QAbstractItemModel | None)¶
- setRootIndex(self, index: QModelIndex)¶
- setSelection(self, rect: QRect, command: QItemSelectionModel.SelectionFlags | QItemSelectionModel.SelectionFlag)¶
- setSelectionBehavior(self, behavior: QAbstractItemView.SelectionBehavior)¶
- setSelectionMode(self, mode: QAbstractItemView.SelectionMode)¶
- setSelectionModel(self, selectionModel: QItemSelectionModel | None)¶
- setState(self, state: QAbstractItemView.State)¶
- setTextElideMode(self, mode: Qt.TextElideMode)¶
- setVerticalScrollMode(self, mode: QAbstractItemView.ScrollMode)¶
- sizeHintForIndex(self, index: QModelIndex) QSize¶
- startDrag(self, supportedActions: Qt.DropActions | Qt.DropAction)¶
- state(self) QAbstractItemView.State¶
- textElideMode(self) Qt.TextElideMode¶
- update(self)¶
- update(self, index: QModelIndex) None
- updateEditorData(self)¶
- updateEditorGeometries(self)¶
- updateGeometries(self)¶
- verticalScrollMode(self) QAbstractItemView.ScrollMode¶
- viewOptions(self) QStyleOptionViewItem¶
- viewportEntered¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- viewportSizeHint(self) QSize¶
- visualRect(self, index: QModelIndex) QRect¶
- visualRegionForSelection(self, selection: QItemSelection) QRegion¶
- class populse_mia.user_interface.pipeline_manager.process_library.QApplication(argv: List[str])¶
Bases:
QGuiApplication- CustomColor = 1¶
- ManyColor = 2¶
- NormalColor = 0¶
- aboutQt()¶
- beep()¶
- closeAllWindows()¶
- focusChanged¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- fontMetrics() QFontMetrics¶
- globalStrut() QSize¶
- isEffectEnabled(a0: Qt.UIEffect) bool¶
- setEffectEnabled(a0: Qt.UIEffect, enabled: bool = True)¶
- setGlobalStrut(a0: QSize)¶
- class populse_mia.user_interface.pipeline_manager.process_library.QDialog(parent: QWidget | None = None, flags: Qt.WindowFlags | Qt.WindowType = Qt.WindowFlags())¶
Bases:
QWidget- Accepted = 1¶
- Rejected = 0¶
- accept(self)¶
- accepted¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- finished¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- minimumSizeHint(self) QSize¶
- open(self)¶
- reject(self)¶
- rejected¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- sizeHint(self) QSize¶
- class populse_mia.user_interface.pipeline_manager.process_library.QFileDialog(parent: QWidget | None, f: Qt.WindowFlags | Qt.WindowType)¶
- class populse_mia.user_interface.pipeline_manager.process_library.QFileDialog(parent: QWidget | None = None, caption: str | None = '', directory: str | None = '', filter: str | None = '')
Bases:
QDialog- Accept = 3¶
- AcceptOpen = 0¶
- AcceptSave = 1¶
- AnyFile = 0¶
- Detail = 0¶
- Directory = 2¶
- DirectoryOnly = 4¶
- DontConfirmOverwrite = 4¶
- DontResolveSymlinks = 2¶
- DontUseCustomDirectoryIcons = 128¶
- DontUseNativeDialog = 16¶
- DontUseSheet = 8¶
- ExistingFile = 1¶
- ExistingFiles = 3¶
- FileName = 1¶
- FileType = 2¶
- HideNameFilterDetails = 64¶
- List = 1¶
- LookIn = 0¶
- class Options¶
- class Options(f: QFileDialog.Options | QFileDialog.Option)
- class Options(a0: QFileDialog.Options)
Bases:
simplewrapper
- ReadOnly = 32¶
- Reject = 4¶
- ShowDirsOnly = 1¶
- accept(self)¶
- acceptMode(self) QFileDialog.AcceptMode¶
- currentChanged¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- currentUrlChanged¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- directoryEntered¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- directoryUrl(self) QUrl¶
- directoryUrlEntered¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- fileMode(self) QFileDialog.FileMode¶
- fileSelected¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- filesSelected¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- filter(self) QDir.Filters¶
- filterSelected¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- static getExistingDirectory(parent: QWidget | None = None, caption: str | None = '', directory: str | None = '', options: QFileDialog.Options | QFileDialog.Option = QFileDialog.ShowDirsOnly) str¶
- getExistingDirectoryUrl(parent: QWidget | None = None, caption: str | None = '', directory: QUrl = QUrl(), options: QFileDialog.Options | QFileDialog.Option = QFileDialog.ShowDirsOnly, supportedSchemes: Iterable[str | None] = []) QUrl¶
- static getOpenFileName(parent: QWidget | None = None, caption: str | None = '', directory: str | None = '', filter: str | None = '', initialFilter: str | None = '', options: QFileDialog.Options | QFileDialog.Option = 0) Tuple[str, str]¶
- static getOpenFileNames(parent: QWidget | None = None, caption: str | None = '', directory: str | None = '', filter: str | None = '', initialFilter: str | None = '', options: QFileDialog.Options | QFileDialog.Option = 0) Tuple[List[str], str]¶
- getOpenFileUrl(parent: QWidget | None = None, caption: str | None = '', directory: QUrl = QUrl(), filter: str | None = '', initialFilter: str | None = '', options: QFileDialog.Options | QFileDialog.Option = 0, supportedSchemes: Iterable[str | None] = []) Tuple[QUrl, str]¶
- getOpenFileUrls(parent: QWidget | None = None, caption: str | None = '', directory: QUrl = QUrl(), filter: str | None = '', initialFilter: str | None = '', options: QFileDialog.Options | QFileDialog.Option = 0, supportedSchemes: Iterable[str | None] = []) Tuple[List[QUrl], str]¶
- static getSaveFileName(parent: QWidget | None = None, caption: str | None = '', directory: str | None = '', filter: str | None = '', initialFilter: str | None = '', options: QFileDialog.Options | QFileDialog.Option = 0) Tuple[str, str]¶
- getSaveFileUrl(parent: QWidget | None = None, caption: str | None = '', directory: QUrl = QUrl(), filter: str | None = '', initialFilter: str | None = '', options: QFileDialog.Options | QFileDialog.Option = 0, supportedSchemes: Iterable[str | None] = []) Tuple[QUrl, str]¶
- labelText(self, label: QFileDialog.DialogLabel) str¶
- options(self) QFileDialog.Options¶
- restoreState(self, state: QByteArray | bytes | bytearray) bool¶
- saveState(self) QByteArray¶
- selectUrl(self, url: QUrl)¶
- setAcceptMode(self, mode: QFileDialog.AcceptMode)¶
- setDirectoryUrl(self, directory: QUrl)¶
- setFileMode(self, mode: QFileDialog.FileMode)¶
- setFilter(self, filters: QDir.Filters | QDir.Filter)¶
- setLabelText(self, label: QFileDialog.DialogLabel, text: str | None)¶
- setOption(self, option: QFileDialog.Option, on: bool = True)¶
- setOptions(self, options: QFileDialog.Options | QFileDialog.Option)¶
- setSidebarUrls(self, urls: Iterable[QUrl])¶
- setViewMode(self, mode: QFileDialog.ViewMode)¶
- testOption(self, option: QFileDialog.Option) bool¶
- urlSelected¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- urlsSelected¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- viewMode(self) QFileDialog.ViewMode¶
- class populse_mia.user_interface.pipeline_manager.process_library.QHBoxLayout¶
- class populse_mia.user_interface.pipeline_manager.process_library.QHBoxLayout(parent: QWidget | None)
Bases:
QBoxLayout
- class populse_mia.user_interface.pipeline_manager.process_library.QLabel(parent: QWidget | None = None, flags: Qt.WindowFlags | Qt.WindowType = Qt.WindowFlags())¶
- class populse_mia.user_interface.pipeline_manager.process_library.QLabel(text: str | None, parent: QWidget | None = None, flags: Qt.WindowFlags | Qt.WindowType = Qt.WindowFlags())
Bases:
QFrame- alignment(self) Qt.Alignment¶
- clear(self)¶
- linkActivated¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- linkHovered¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- minimumSizeHint(self) QSize¶
- setAlignment(self, a0: Qt.Alignment | Qt.AlignmentFlag)¶
- setPicture(self, a0: QPicture)¶
- setTextFormat(self, a0: Qt.TextFormat)¶
- setTextInteractionFlags(self, flags: Qt.TextInteractionFlags | Qt.TextInteractionFlag)¶
- sizeHint(self) QSize¶
- textFormat(self) Qt.TextFormat¶
- textInteractionFlags(self) Qt.TextInteractionFlags¶
- class populse_mia.user_interface.pipeline_manager.process_library.QLineEdit(parent: QWidget | None = None)¶
- class populse_mia.user_interface.pipeline_manager.process_library.QLineEdit(contents: str | None, parent: QWidget | None = None)
Bases:
QWidget- LeadingPosition = 0¶
- NoEcho = 1¶
- Normal = 0¶
- Password = 2¶
- PasswordEchoOnEdit = 3¶
- TrailingPosition = 1¶
- addAction(self, action: QAction | None)¶
- addAction(self, action: QAction | None, position: QLineEdit.ActionPosition) None
- addAction(self, icon: QIcon, position: QLineEdit.ActionPosition) QAction | None
- alignment(self) Qt.Alignment¶
- backspace(self)¶
- clear(self)¶
- copy(self)¶
- cursorMoveStyle(self) Qt.CursorMoveStyle¶
- cursorPositionChanged¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- cursorRect(self) QRect¶
- cut(self)¶
- del_(self)¶
- deselect(self)¶
- echoMode(self) QLineEdit.EchoMode¶
- editingFinished¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- getTextMargins(self)¶
- inputMethodQuery(self, a0: Qt.InputMethodQuery) Any¶
- inputMethodQuery(self, property: Qt.InputMethodQuery, argument: Any) Any
- inputRejected¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- minimumSizeHint(self) QSize¶
- paste(self)¶
- redo(self)¶
- returnPressed¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- selectAll(self)¶
- selectionChanged¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- setAlignment(self, flag: Qt.Alignment | Qt.AlignmentFlag)¶
- setCursorMoveStyle(self, style: Qt.CursorMoveStyle)¶
- setEchoMode(self, a0: QLineEdit.EchoMode)¶
- setTextMargins(self, left: int, top: int, right: int, bottom: int)¶
- setTextMargins(self, margins: QMargins) None
- sizeHint(self) QSize¶
- textChanged¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- textEdited¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- textMargins(self) QMargins¶
- undo(self)¶
- class populse_mia.user_interface.pipeline_manager.process_library.QMessageBox(parent: QWidget | None = None)¶
- class populse_mia.user_interface.pipeline_manager.process_library.QMessageBox(icon: QMessageBox.Icon, title: str | None, text: str | None, buttons: QMessageBox.StandardButtons | QMessageBox.StandardButton = QMessageBox.NoButton, parent: QWidget | None = None, flags: Qt.WindowFlags | Qt.WindowType = Qt.Dialog | Qt.MSWindowsFixedSizeDialogHint)
Bases:
QDialog- Abort = 262144¶
- AcceptRole = 0¶
- ActionRole = 3¶
- Apply = 33554432¶
- ApplyRole = 8¶
- ButtonMask = -769¶
- Cancel = 4194304¶
- Close = 2097152¶
- Critical = 3¶
- Default = 256¶
- DestructiveRole = 2¶
- Discard = 8388608¶
- Escape = 512¶
- FirstButton = 1024¶
- FlagMask = 768¶
- Help = 16777216¶
- HelpRole = 4¶
- Ignore = 1048576¶
- Information = 1¶
- InvalidRole = -1¶
- LastButton = 134217728¶
- No = 65536¶
- NoAll = 131072¶
- NoButton = 0¶
- NoIcon = 0¶
- NoRole = 6¶
- NoToAll = 131072¶
- Ok = 1024¶
- Open = 8192¶
- Question = 4¶
- RejectRole = 1¶
- Reset = 67108864¶
- ResetRole = 7¶
- RestoreDefaults = 134217728¶
- Retry = 524288¶
- Save = 2048¶
- SaveAll = 4096¶
- class StandardButtons¶
- class StandardButtons(f: QMessageBox.StandardButtons | QMessageBox.StandardButton)
- class StandardButtons(a0: QMessageBox.StandardButtons)
Bases:
simplewrapper
- Warning = 2¶
- Yes = 16384¶
- YesAll = 32768¶
- YesRole = 5¶
- YesToAll = 32768¶
- addButton(self, button: QAbstractButton | None, role: QMessageBox.ButtonRole)¶
- addButton(self, text: str | None, role: QMessageBox.ButtonRole) QPushButton | None
- addButton(self, button: QMessageBox.StandardButton) QPushButton | None
- button(self, which: QMessageBox.StandardButton) QAbstractButton | None¶
- buttonClicked¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- buttonRole(self, button: QAbstractButton | None) QMessageBox.ButtonRole¶
- critical(parent: QWidget | None, title: str | None, text: str | None, buttons: QMessageBox.StandardButtons | QMessageBox.StandardButton = QMessageBox.Ok, defaultButton: QMessageBox.StandardButton = QMessageBox.NoButton) QMessageBox.StandardButton¶
- defaultButton(self) QPushButton | None¶
- icon(self) QMessageBox.Icon¶
- information(parent: QWidget | None, title: str | None, text: str | None, buttons: QMessageBox.StandardButtons | QMessageBox.StandardButton = QMessageBox.Ok, defaultButton: QMessageBox.StandardButton = QMessageBox.NoButton) QMessageBox.StandardButton¶
- question(parent: QWidget | None, title: str | None, text: str | None, buttons: QMessageBox.StandardButtons | QMessageBox.StandardButton = QMessageBox.StandardButtons(QMessageBox.Yes | QMessageBox.No), defaultButton: QMessageBox.StandardButton = QMessageBox.NoButton) QMessageBox.StandardButton¶
- setDefaultButton(self, button: QPushButton | None)¶
- setDefaultButton(self, button: QMessageBox.StandardButton) None
- setEscapeButton(self, button: QAbstractButton | None)¶
- setEscapeButton(self, button: QMessageBox.StandardButton) None
- setIcon(self, a0: QMessageBox.Icon)¶
- setStandardButtons(self, buttons: QMessageBox.StandardButtons | QMessageBox.StandardButton)¶
- setTextFormat(self, a0: Qt.TextFormat)¶
- setTextInteractionFlags(self, flags: Qt.TextInteractionFlags | Qt.TextInteractionFlag)¶
- setWindowModality(self, windowModality: Qt.WindowModality)¶
- standardButton(self, button: QAbstractButton | None) QMessageBox.StandardButton¶
- standardButtons(self) QMessageBox.StandardButtons¶
- standardIcon(icon: QMessageBox.Icon) QPixmap¶
- textFormat(self) Qt.TextFormat¶
- textInteractionFlags(self) Qt.TextInteractionFlags¶
- warning(parent: QWidget | None, title: str | None, text: str | None, buttons: QMessageBox.StandardButtons | QMessageBox.StandardButton = QMessageBox.Ok, defaultButton: QMessageBox.StandardButton = QMessageBox.NoButton) QMessageBox.StandardButton¶
- class populse_mia.user_interface.pipeline_manager.process_library.QPushButton(parent: QWidget | None = None)¶
- class populse_mia.user_interface.pipeline_manager.process_library.QPushButton(text: str | None, parent: QWidget | None = None)
- class populse_mia.user_interface.pipeline_manager.process_library.QPushButton(icon: QIcon, text: str | None, parent: QWidget | None = None)
Bases:
QAbstractButton- minimumSizeHint(self) QSize¶
- showMenu(self)¶
- sizeHint(self) QSize¶
- class populse_mia.user_interface.pipeline_manager.process_library.QSplitter(parent: QWidget | None = None)¶
- class populse_mia.user_interface.pipeline_manager.process_library.QSplitter(orientation: Qt.Orientation, parent: QWidget | None = None)
Bases:
QFrame- minimumSizeHint(self) QSize¶
- orientation(self) Qt.Orientation¶
- refresh(self)¶
- restoreState(self, state: QByteArray | bytes | bytearray) bool¶
- saveState(self) QByteArray¶
- setOrientation(self, a0: Qt.Orientation)¶
- sizeHint(self) QSize¶
- splitterMoved¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- class populse_mia.user_interface.pipeline_manager.process_library.QTreeView(parent: QWidget | None = None)¶
Bases:
QAbstractItemView- collapse(self, index: QModelIndex)¶
- collapseAll(self)¶
- collapsed¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- columnMoved(self)¶
- currentChanged(self, current: QModelIndex, previous: QModelIndex)¶
- dataChanged(self, topLeft: QModelIndex, bottomRight: QModelIndex, roles: Iterable[int] = [])¶
- drawBranches(self, painter: QPainter | None, rect: QRect, index: QModelIndex)¶
- drawRow(self, painter: QPainter | None, options: QStyleOptionViewItem, index: QModelIndex)¶
- expand(self, index: QModelIndex)¶
- expandAll(self)¶
- expandRecursively(self, index: QModelIndex, depth: int = -1)¶
- expanded¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- header(self) QHeaderView | None¶
- indexAbove(self, index: QModelIndex) QModelIndex¶
- indexAt(self, p: QPoint) QModelIndex¶
- indexBelow(self, index: QModelIndex) QModelIndex¶
- indexRowSizeHint(self, index: QModelIndex) int¶
- isExpanded(self, index: QModelIndex) bool¶
- isFirstColumnSpanned(self, row: int, parent: QModelIndex) bool¶
- isIndexHidden(self, index: QModelIndex) bool¶
- isRowHidden(self, row: int, parent: QModelIndex) bool¶
- moveCursor(self, cursorAction: QAbstractItemView.CursorAction, modifiers: Qt.KeyboardModifiers | Qt.KeyboardModifier) QModelIndex¶
- reexpand(self)¶
- reset(self)¶
- resetIndentation(self)¶
- rowHeight(self, index: QModelIndex) int¶
- rowsAboutToBeRemoved(self, parent: QModelIndex, start: int, end: int)¶
- rowsInserted(self, parent: QModelIndex, start: int, end: int)¶
- rowsRemoved(self, parent: QModelIndex, first: int, last: int)¶
- scrollTo(self, index: QModelIndex, hint: QAbstractItemView.ScrollHint = QAbstractItemView.EnsureVisible)¶
- selectAll(self)¶
- selectedIndexes(self) List[QModelIndex]¶
- selectionChanged(self, selected: QItemSelection, deselected: QItemSelection)¶
- setExpanded(self, index: QModelIndex, expand: bool)¶
- setFirstColumnSpanned(self, row: int, parent: QModelIndex, span: bool)¶
- setHeader(self, header: QHeaderView | None)¶
- setModel(self, model: QAbstractItemModel | None)¶
- setRootIndex(self, index: QModelIndex)¶
- setRowHidden(self, row: int, parent: QModelIndex, hide: bool)¶
- setSelection(self, rect: QRect, command: QItemSelectionModel.SelectionFlags | QItemSelectionModel.SelectionFlag)¶
- setSelectionModel(self, selectionModel: QItemSelectionModel | None)¶
- sortByColumn(self, column: int, order: Qt.SortOrder)¶
- updateGeometries(self)¶
- viewportSizeHint(self) QSize¶
- visualRect(self, index: QModelIndex) QRect¶
- visualRegionForSelection(self, selection: QItemSelection) QRegion¶
- class populse_mia.user_interface.pipeline_manager.process_library.QTreeWidget(parent: QWidget | None = None)¶
Bases:
QTreeView- addTopLevelItem(self, item: QTreeWidgetItem | None)¶
- addTopLevelItems(self, items: Iterable[QTreeWidgetItem])¶
- clear(self)¶
- closePersistentEditor(self, item: QTreeWidgetItem | None, column: int = 0)¶
- collapseItem(self, item: QTreeWidgetItem | None)¶
- currentItem(self) QTreeWidgetItem | None¶
- currentItemChanged¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- dropMimeData(self, parent: QTreeWidgetItem | None, index: int, data: QMimeData | None, action: Qt.DropAction) bool¶
- editItem(self, item: QTreeWidgetItem | None, column: int = 0)¶
- expandItem(self, item: QTreeWidgetItem | None)¶
- findItems(self, text: str | None, flags: Qt.MatchFlags | Qt.MatchFlag, column: int = 0) List[QTreeWidgetItem]¶
- headerItem(self) QTreeWidgetItem | None¶
- indexFromItem(self, item: QTreeWidgetItem | None, column: int = 0) QModelIndex¶
- indexOfTopLevelItem(self, item: QTreeWidgetItem | None) int¶
- insertTopLevelItem(self, index: int, item: QTreeWidgetItem | None)¶
- insertTopLevelItems(self, index: int, items: Iterable[QTreeWidgetItem])¶
- invisibleRootItem(self) QTreeWidgetItem | None¶
- isFirstItemColumnSpanned(self, item: QTreeWidgetItem | None) bool¶
- isPersistentEditorOpen(self, item: QTreeWidgetItem | None, column: int = 0) bool¶
- itemAbove(self, item: QTreeWidgetItem | None) QTreeWidgetItem | None¶
- itemActivated¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- itemAt(self, p: QPoint) QTreeWidgetItem | None¶
- itemAt(self, ax: int, ay: int) QTreeWidgetItem | None
- itemBelow(self, item: QTreeWidgetItem | None) QTreeWidgetItem | None¶
- itemChanged¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- itemClicked¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- itemCollapsed¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- itemDoubleClicked¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- itemEntered¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- itemExpanded¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- itemFromIndex(self, index: QModelIndex) QTreeWidgetItem | None¶
- itemPressed¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- itemSelectionChanged¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- mimeData(self, items: Iterable[QTreeWidgetItem]) QMimeData | None¶
- openPersistentEditor(self, item: QTreeWidgetItem | None, column: int = 0)¶
- removeItemWidget(self, item: QTreeWidgetItem | None, column: int)¶
- scrollToItem(self, item: QTreeWidgetItem | None, hint: QAbstractItemView.ScrollHint = QAbstractItemView.EnsureVisible)¶
- selectedItems(self) List[QTreeWidgetItem]¶
- setCurrentItem(self, item: QTreeWidgetItem | None)¶
- setCurrentItem(self, item: QTreeWidgetItem | None, column: int) None
- setCurrentItem(self, item: QTreeWidgetItem | None, column: int, command: QItemSelectionModel.SelectionFlags | QItemSelectionModel.SelectionFlag) None
- setFirstItemColumnSpanned(self, item: QTreeWidgetItem | None, span: bool)¶
- setHeaderItem(self, item: QTreeWidgetItem | None)¶
- setModel(self, model: QAbstractItemModel | None)¶
- setSelectionModel(self, selectionModel: QItemSelectionModel | None)¶
- sortItems(self, column: int, order: Qt.SortOrder)¶
- supportedDropActions(self) Qt.DropActions¶
- takeTopLevelItem(self, index: int) QTreeWidgetItem | None¶
- topLevelItem(self, index: int) QTreeWidgetItem | None¶
- visualItemRect(self, item: QTreeWidgetItem | None) QRect¶
- class populse_mia.user_interface.pipeline_manager.process_library.QTreeWidgetItem(type: int = QTreeWidgetItem.Type)¶
- class populse_mia.user_interface.pipeline_manager.process_library.QTreeWidgetItem(strings: Iterable[str | None], type: int = QTreeWidgetItem.Type)
- class populse_mia.user_interface.pipeline_manager.process_library.QTreeWidgetItem(parent: QTreeWidget | None, type: int = QTreeWidgetItem.Type)
- class populse_mia.user_interface.pipeline_manager.process_library.QTreeWidgetItem(parent: QTreeWidget | None, strings: Iterable[str | None], type: int = QTreeWidgetItem.Type)
- class populse_mia.user_interface.pipeline_manager.process_library.QTreeWidgetItem(parent: QTreeWidget | None, preceding: QTreeWidgetItem | None, type: int = QTreeWidgetItem.Type)
- class populse_mia.user_interface.pipeline_manager.process_library.QTreeWidgetItem(parent: QTreeWidgetItem | None, type: int = QTreeWidgetItem.Type)
- class populse_mia.user_interface.pipeline_manager.process_library.QTreeWidgetItem(parent: QTreeWidgetItem | None, strings: Iterable[str | None], type: int = QTreeWidgetItem.Type)
- class populse_mia.user_interface.pipeline_manager.process_library.QTreeWidgetItem(parent: QTreeWidgetItem | None, preceding: QTreeWidgetItem | None, type: int = QTreeWidgetItem.Type)
- class populse_mia.user_interface.pipeline_manager.process_library.QTreeWidgetItem(other: QTreeWidgetItem)
Bases:
wrapper- DontShowIndicator = 1¶
- DontShowIndicatorWhenChildless = 2¶
- ShowIndicator = 0¶
- Type = 0¶
- UserType = 1000¶
- addChild(self, child: QTreeWidgetItem | None)¶
- addChildren(self, children: Iterable[QTreeWidgetItem])¶
- checkState(self, column: int) Qt.CheckState¶
- child(self, index: int) QTreeWidgetItem | None¶
- childIndicatorPolicy(self) QTreeWidgetItem.ChildIndicatorPolicy¶
- clone(self) QTreeWidgetItem | None¶
- emitDataChanged(self)¶
- flags(self) Qt.ItemFlags¶
- indexOfChild(self, achild: QTreeWidgetItem | None) int¶
- insertChild(self, index: int, child: QTreeWidgetItem | None)¶
- insertChildren(self, index: int, children: Iterable[QTreeWidgetItem])¶
- parent(self) QTreeWidgetItem | None¶
- read(self, in_: QDataStream)¶
- removeChild(self, child: QTreeWidgetItem | None)¶
- setBackground(self, column: int, brush: QBrush | QColor | Qt.GlobalColor | QGradient)¶
- setCheckState(self, column: int, state: Qt.CheckState)¶
- setChildIndicatorPolicy(self, policy: QTreeWidgetItem.ChildIndicatorPolicy)¶
- setFlags(self, aflags: Qt.ItemFlags | Qt.ItemFlag)¶
- setForeground(self, column: int, brush: QBrush | QColor | Qt.GlobalColor | QGradient)¶
- sortChildren(self, column: int, order: Qt.SortOrder)¶
- takeChild(self, index: int) QTreeWidgetItem | None¶
- takeChildren(self) List[QTreeWidgetItem]¶
- treeWidget(self) QTreeWidget | None¶
- write(self, out: QDataStream)¶
- class populse_mia.user_interface.pipeline_manager.process_library.QVBoxLayout¶
- class populse_mia.user_interface.pipeline_manager.process_library.QVBoxLayout(parent: QWidget | None)
Bases:
QBoxLayout
- class populse_mia.user_interface.pipeline_manager.process_library.QWidget(parent: QWidget | None = None, flags: Qt.WindowFlags | Qt.WindowType = Qt.WindowFlags())¶
Bases:
QObject,QPaintDevice- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- IgnoreMask = 4¶
- class RenderFlags¶
- class RenderFlags(f: QWidget.RenderFlags | QWidget.RenderFlag)
- class RenderFlags(a0: QWidget.RenderFlags)
Bases:
simplewrapper
- activateWindow(self)¶
- adjustSize(self)¶
- backgroundRole(self) QPalette.ColorRole¶
- baseSize(self) QSize¶
- childrenRect(self) QRect¶
- childrenRegion(self) QRegion¶
- clearFocus(self)¶
- clearMask(self)¶
- contentsMargins(self) QMargins¶
- contentsRect(self) QRect¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy¶
- create(self, window: PyQt5.sip.voidptr = None, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(window: QWindow | None, parent: QWidget | None = None, flags: Qt.WindowFlags | Qt.WindowType = 0) QWidget¶
- customContextMenuRequested¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- effectiveWinId(self) PyQt5.sip.voidptr¶
- ensurePolished(self)¶
- focusPolicy(self) Qt.FocusPolicy¶
- fontInfo(self) QFontInfo¶
- fontMetrics(self) QFontMetrics¶
- foregroundRole(self) QPalette.ColorRole¶
- frameGeometry(self) QRect¶
- frameSize(self) QSize¶
- geometry(self) QRect¶
- getContentsMargins(self)¶
- grabGesture(self, type: Qt.GestureType, flags: Qt.GestureFlags | Qt.GestureFlag = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, a0: QCursor | Qt.CursorShape) None
- grabShortcut(self, key: QKeySequence | QKeySequence.StandardKey | str | None | int, context: Qt.ShortcutContext = Qt.WindowShortcut) int¶
- hide(self)¶
- inputMethodHints(self) Qt.InputMethodHints¶
- inputMethodQuery(self, a0: Qt.InputMethodQuery) Any¶
- layoutDirection(self) Qt.LayoutDirection¶
- locale(self) QLocale¶
- lower(self)¶
- mask(self) QRegion¶
- maximumSize(self) QSize¶
- minimumSize(self) QSize¶
- minimumSizeHint(self) QSize¶
- nativeEvent(self, eventType: QByteArray | bytes | bytearray, message: PyQt5.sip.voidptr | None)¶
- normalGeometry(self) QRect¶
- overrideWindowFlags(self, type: Qt.WindowFlags | Qt.WindowType)¶
- overrideWindowState(self, state: Qt.WindowStates | Qt.WindowState)¶
- palette(self) QPalette¶
- raise_(self)¶
- rect(self) QRect¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- render(self, target: QPaintDevice | None, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlags | QWidget.RenderFlag = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren))¶
- render(self, painter: QPainter | None, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlags | QWidget.RenderFlag = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren)) None
- repaint(self)¶
- repaint(self, x: int, y: int, w: int, h: int) None
- repaint(self, a0: QRect) None
- repaint(self, a0: QRegion) None
- restoreGeometry(self, geometry: QByteArray | bytes | bytearray) bool¶
- saveGeometry(self) QByteArray¶
- setAttribute(self, attribute: Qt.WidgetAttribute, on: bool = True)¶
- setBackgroundRole(self, a0: QPalette.ColorRole)¶
- setContentsMargins(self, left: int, top: int, right: int, bottom: int)¶
- setContentsMargins(self, margins: QMargins) None
- setContextMenuPolicy(self, policy: Qt.ContextMenuPolicy)¶
- setCursor(self, a0: QCursor | Qt.CursorShape)¶
- setFocus(self)¶
- setFocus(self, reason: Qt.FocusReason) None
- setFocusPolicy(self, policy: Qt.FocusPolicy)¶
- setForegroundRole(self, a0: QPalette.ColorRole)¶
- setInputMethodHints(self, hints: Qt.InputMethodHints | Qt.InputMethodHint)¶
- setLayoutDirection(self, direction: Qt.LayoutDirection)¶
- setLocale(self, locale: QLocale)¶
- setPalette(self, a0: QPalette)¶
- setParent(self, parent: QWidget | None)¶
- setParent(self, parent: QWidget | None, f: Qt.WindowFlags | Qt.WindowType) None
- setSizePolicy(self, a0: QSizePolicy)¶
- setSizePolicy(self, hor: QSizePolicy.Policy, ver: QSizePolicy.Policy) None
- setWindowFlag(self, a0: Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, type: Qt.WindowFlags | Qt.WindowType)¶
- setWindowModality(self, windowModality: Qt.WindowModality)¶
- setWindowState(self, state: Qt.WindowStates | Qt.WindowState)¶
- show(self)¶
- showFullScreen(self)¶
- showMaximized(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- size(self) QSize¶
- sizeHint(self) QSize¶
- sizeIncrement(self) QSize¶
- sizePolicy(self) QSizePolicy¶
- testAttribute(self, attribute: Qt.WidgetAttribute) bool¶
- ungrabGesture(self, type: Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, a0: QRect) None
- update(self, a0: QRegion) None
- update(self, ax: int, ay: int, aw: int, ah: int) None
- updateGeometry(self)¶
- updateMicroFocus(self)¶
- visibleRegion(self) QRegion¶
- winId(self) PyQt5.sip.voidptr¶
- windowFlags(self) Qt.WindowFlags¶
- windowIconChanged¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- windowIconTextChanged¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- windowModality(self) Qt.WindowModality¶
- windowState(self) Qt.WindowStates¶
- windowTitleChanged¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- windowType(self) Qt.WindowType¶
- class populse_mia.user_interface.pipeline_manager.process_library.QAbstractItemModel(parent: QObject | None = None)¶
Bases:
QObject- class CheckIndexOption(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)¶
Bases:
IntEnum- DoNotUseParent = 2¶
- IndexIsValid = 1¶
- NoOption = 0¶
- ParentIsInvalid = 4¶
- class CheckIndexOptions¶
- class CheckIndexOptions(f: QAbstractItemModel.CheckIndexOptions | QAbstractItemModel.CheckIndexOption)
- class CheckIndexOptions(a0: QAbstractItemModel.CheckIndexOptions)
Bases:
simplewrapper
- DoNotUseParent = 2¶
- HorizontalSortHint = 2¶
- IndexIsValid = 1¶
- NoLayoutChangeHint = 0¶
- NoOption = 0¶
- ParentIsInvalid = 4¶
- VerticalSortHint = 1¶
- beginInsertColumns(self, parent: QModelIndex, first: int, last: int)¶
- beginInsertRows(self, parent: QModelIndex, first: int, last: int)¶
- beginMoveColumns(self, sourceParent: QModelIndex, sourceFirst: int, sourceLast: int, destinationParent: QModelIndex, destinationColumn: int) bool¶
- beginMoveRows(self, sourceParent: QModelIndex, sourceFirst: int, sourceLast: int, destinationParent: QModelIndex, destinationRow: int) bool¶
- beginRemoveColumns(self, parent: QModelIndex, first: int, last: int)¶
- beginRemoveRows(self, parent: QModelIndex, first: int, last: int)¶
- beginResetModel(self)¶
- buddy(self, index: QModelIndex) QModelIndex¶
- canDropMimeData(self, data: QMimeData | None, action: Qt.DropAction, row: int, column: int, parent: QModelIndex) bool¶
- canFetchMore(self, parent: QModelIndex) bool¶
- changePersistentIndex(self, from_: QModelIndex, to: QModelIndex)¶
- changePersistentIndexList(self, from_: Iterable[QModelIndex], to: Iterable[QModelIndex])¶
- checkIndex(self, index: QModelIndex, options: QAbstractItemModel.CheckIndexOptions | QAbstractItemModel.CheckIndexOption = QAbstractItemModel.CheckIndexOption.NoOption) bool¶
- columnCount(self, parent: QModelIndex = QModelIndex()) int¶
- columnsAboutToBeInserted¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- columnsAboutToBeMoved¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- columnsAboutToBeRemoved¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- columnsInserted¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- columnsMoved¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- columnsRemoved¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- createIndex(self, row: int, column: int, object: Any = None) QModelIndex¶
- data(self, index: QModelIndex, role: int = Qt.ItemDataRole.DisplayRole) Any¶
- dataChanged¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- decodeData(self, row: int, column: int, parent: QModelIndex, stream: QDataStream) bool¶
- dropMimeData(self, data: QMimeData | None, action: Qt.DropAction, row: int, column: int, parent: QModelIndex) bool¶
- encodeData(self, indexes: Iterable[QModelIndex], stream: QDataStream)¶
- endInsertColumns(self)¶
- endInsertRows(self)¶
- endMoveColumns(self)¶
- endMoveRows(self)¶
- endRemoveColumns(self)¶
- endRemoveRows(self)¶
- endResetModel(self)¶
- fetchMore(self, parent: QModelIndex)¶
- flags(self, index: QModelIndex) Qt.ItemFlags¶
- hasChildren(self, parent: QModelIndex = QModelIndex()) bool¶
- hasIndex(self, row: int, column: int, parent: QModelIndex = QModelIndex()) bool¶
- headerData(self, section: int, orientation: Qt.Orientation, role: int = Qt.ItemDataRole.DisplayRole) Any¶
- headerDataChanged¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- index(self, row: int, column: int, parent: QModelIndex = QModelIndex()) QModelIndex¶
- insertColumn(self, column: int, parent: QModelIndex = QModelIndex()) bool¶
- insertColumns(self, column: int, count: int, parent: QModelIndex = QModelIndex()) bool¶
- insertRow(self, row: int, parent: QModelIndex = QModelIndex()) bool¶
- insertRows(self, row: int, count: int, parent: QModelIndex = QModelIndex()) bool¶
- itemData(self, index: QModelIndex) Dict[int, Any]¶
- layoutAboutToBeChanged¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- layoutChanged¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- match(self, start: QModelIndex, role: int, value: Any, hits: int = 1, flags: Qt.MatchFlags | Qt.MatchFlag = Qt.MatchStartsWith | Qt.MatchWrap) List[QModelIndex]¶
- mimeData(self, indexes: Iterable[QModelIndex]) QMimeData | None¶
- modelAboutToBeReset¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- modelReset¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- moveColumn(self, sourceParent: QModelIndex, sourceColumn: int, destinationParent: QModelIndex, destinationChild: int) bool¶
- moveColumns(self, sourceParent: QModelIndex, sourceColumn: int, count: int, destinationParent: QModelIndex, destinationChild: int) bool¶
- moveRow(self, sourceParent: QModelIndex, sourceRow: int, destinationParent: QModelIndex, destinationChild: int) bool¶
- moveRows(self, sourceParent: QModelIndex, sourceRow: int, count: int, destinationParent: QModelIndex, destinationChild: int) bool¶
- parent(self, child: QModelIndex) QModelIndex¶
- parent(self) QObject | None
- persistentIndexList(self) List[QModelIndex]¶
- removeColumn(self, column: int, parent: QModelIndex = QModelIndex()) bool¶
- removeColumns(self, column: int, count: int, parent: QModelIndex = QModelIndex()) bool¶
- removeRow(self, row: int, parent: QModelIndex = QModelIndex()) bool¶
- removeRows(self, row: int, count: int, parent: QModelIndex = QModelIndex()) bool¶
- resetInternalData(self)¶
- revert(self)¶
- roleNames(self) Dict[int, QByteArray]¶
- rowCount(self, parent: QModelIndex = QModelIndex()) int¶
- rowsAboutToBeInserted¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- rowsAboutToBeMoved¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- rowsAboutToBeRemoved¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- rowsInserted¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- rowsMoved¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- rowsRemoved¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- setData(self, index: QModelIndex, value: Any, role: int = Qt.ItemDataRole.EditRole) bool¶
- setHeaderData(self, section: int, orientation: Qt.Orientation, value: Any, role: int = Qt.ItemDataRole.EditRole) bool¶
- setItemData(self, index: QModelIndex, roles: Dict[int, Any]) bool¶
- sibling(self, row: int, column: int, idx: QModelIndex) QModelIndex¶
- sort(self, column: int, order: Qt.SortOrder = Qt.AscendingOrder)¶
- span(self, index: QModelIndex) QSize¶
- supportedDragActions(self) Qt.DropActions¶
- supportedDropActions(self) Qt.DropActions¶
- class populse_mia.user_interface.pipeline_manager.process_library.QByteArray¶
- class populse_mia.user_interface.pipeline_manager.process_library.QByteArray(size: int, c: str)
- class populse_mia.user_interface.pipeline_manager.process_library.QByteArray(a: QByteArray | bytes | bytearray)
Bases:
simplewrapper- AbortOnBase64DecodingErrors = 4¶
- class Base64DecodingStatus(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)¶
Bases:
IntEnum- IllegalCharacter = 2¶
- IllegalInputLength = 1¶
- IllegalPadding = 3¶
- Ok = 0¶
- Base64DecodingStatuss¶
alias of
Base64DecodingStatus
- Base64Encoding = 0¶
- class Base64Options¶
- class Base64Options(f: QByteArray.Base64Options | QByteArray.Base64Option)
- class Base64Options(a0: QByteArray.Base64Options)
Bases:
simplewrapper
- Base64UrlEncoding = 1¶
- class FromBase64Result¶
- class FromBase64Result(a0: QByteArray.FromBase64Result)
Bases:
simplewrapper- decoded¶
- decodingStatus¶
- swap(self, other: QByteArray.FromBase64Result)¶
- IgnoreBase64DecodingErrors = 0¶
- IllegalCharacter = 2¶
- IllegalInputLength = 1¶
- IllegalPadding = 3¶
- KeepTrailingEquals = 0¶
- Ok = 0¶
- OmitTrailingEquals = 2¶
- append(self, a: QByteArray | bytes | bytearray) QByteArray¶
- append(self, s: str | None) QByteArray
- append(self, count: int, c: bytes) QByteArray
- chopped(self, len: int) QByteArray¶
- clear(self)¶
- compare(self, a: QByteArray | bytes | bytearray, cs: Qt.CaseSensitivity = Qt.CaseSensitive) int¶
- contains(self, a: QByteArray | bytes | bytearray) bool¶
- endsWith(self, a: QByteArray | bytes | bytearray) bool¶
- fill(self, ch: str, size: int = -1) QByteArray¶
- fromBase64(base64: QByteArray | bytes | bytearray) QByteArray¶
- fromBase64(base64: QByteArray | bytes | bytearray, options: QByteArray.Base64Options | QByteArray.Base64Option) QByteArray
- fromBase64Encoding(base64: QByteArray | bytes | bytearray, options: QByteArray.Base64Options | QByteArray.Base64Option = QByteArray.Base64Encoding) QByteArray.FromBase64Result¶
- fromHex(hexEncoded: QByteArray | bytes | bytearray) QByteArray¶
- fromPercentEncoding(input: QByteArray | bytes | bytearray, percent: str = '%') QByteArray¶
- fromRawData(a0: PyQt5.sip.array[bytes] | None) QByteArray¶
- indexOf(self, ba: QByteArray | bytes | bytearray, from_: int = 0) int¶
- indexOf(self, str: str | None, from_: int = 0) int
- insert(self, i: int, a: QByteArray | bytes | bytearray) QByteArray¶
- insert(self, i: int, s: str | None) QByteArray
- insert(self, i: int, count: int, c: bytes) QByteArray
- lastIndexOf(self, ba: QByteArray | bytes | bytearray, from_: int = -1) int¶
- lastIndexOf(self, str: str | None, from_: int = -1) int
- left(self, len: int) QByteArray¶
- leftJustified(self, width: int, fill: str = ' ', truncate: bool = False) QByteArray¶
- mid(self, pos: int, length: int = -1) QByteArray¶
- number(n: float, format: str = 'g', precision: int = 6) QByteArray¶
- number(n: int, base: int = 10) QByteArray
- prepend(self, a: QByteArray | bytes | bytearray) QByteArray¶
- prepend(self, count: int, c: bytes) QByteArray
- push_back(self, a: QByteArray | bytes | bytearray)¶
- push_front(self, a: QByteArray | bytes | bytearray)¶
- remove(self, index: int, len: int) QByteArray¶
- repeated(self, times: int) QByteArray¶
- replace(self, index: int, len: int, s: QByteArray | bytes | bytearray) QByteArray¶
- replace(self, before: QByteArray | bytes | bytearray, after: QByteArray | bytes | bytearray) QByteArray
- replace(self, before: str | None, after: QByteArray | bytes | bytearray) QByteArray
- right(self, len: int) QByteArray¶
- rightJustified(self, width: int, fill: str = ' ', truncate: bool = False) QByteArray¶
- setNum(self, n: float, format: str = 'g', precision: int = 6) QByteArray¶
- setNum(self, n: int, base: int = 10) QByteArray
- simplified(self) QByteArray¶
- split(self, sep: str) List[QByteArray]¶
- squeeze(self)¶
- startsWith(self, a: QByteArray | bytes | bytearray) bool¶
- swap(self, other: QByteArray)¶
- toBase64(self) QByteArray¶
- toBase64(self, options: QByteArray.Base64Options | QByteArray.Base64Option) QByteArray
- toDouble(self)¶
- toFloat(self)¶
- toHex(self) QByteArray¶
- toHex(self, separator: str) QByteArray
- toLower(self) QByteArray¶
- toPercentEncoding(self, exclude: QByteArray | bytes | bytearray = QByteArray(), include: QByteArray | bytes | bytearray = QByteArray(), percent: str = '%') QByteArray¶
- toUpper(self) QByteArray¶
- trimmed(self) QByteArray¶
- class populse_mia.user_interface.pipeline_manager.process_library.QMimeData¶
Bases:
QObject- clear(self)¶
- data(self, mimetype: str | None) QByteArray¶
- retrieveData(self, mimetype: str | None, preferredType: QVariant.Type) Any¶
- setUrls(self, urls: Iterable[QUrl])¶
- class populse_mia.user_interface.pipeline_manager.process_library.QModelIndex¶
- class populse_mia.user_interface.pipeline_manager.process_library.QModelIndex(a0: QModelIndex)
- class populse_mia.user_interface.pipeline_manager.process_library.QModelIndex(a0: QPersistentModelIndex)
Bases:
simplewrapper- child(self, arow: int, acolumn: int) QModelIndex¶
- flags(self) Qt.ItemFlags¶
- model(self) QAbstractItemModel | None¶
- parent(self) QModelIndex¶
- sibling(self, arow: int, acolumn: int) QModelIndex¶
- siblingAtColumn(self, column: int) QModelIndex¶
- siblingAtRow(self, row: int) QModelIndex¶
- class populse_mia.user_interface.pipeline_manager.process_library.Qt¶
Bases:
simplewrapper- AA_CompressHighFrequencyEvents = 25¶
- AA_CompressTabletEvents = 29¶
- AA_DisableHighDpiScaling = 21¶
- AA_DisableNativeVirtualKeyboard = 9¶
- AA_DisableSessionManager = 31¶
- AA_DisableShaderDiskCache = 27¶
- AA_DisableWindowContextHelpButton = 30¶
- AA_DontCheckOpenGLContextThreadAffinity = 26¶
- AA_DontCreateNativeWidgetSiblings = 4¶
- AA_DontShowIconsInMenus = 2¶
- AA_DontShowShortcutsInContextMenus = 28¶
- AA_DontUseNativeDialogs = 23¶
- AA_DontUseNativeMenuBar = 6¶
- AA_EnableHighDpiScaling = 20¶
- AA_ForceRasterWidgets = 14¶
- AA_ImmediateWidgetCreation = 0¶
- AA_MSWindowsUseDirect3DByDefault = 1¶
- AA_MacDontSwapCtrlAndMeta = 7¶
- AA_MacPluginApplication = 5¶
- AA_NativeWindows = 3¶
- AA_PluginApplication = 5¶
- AA_SetPalette = 19¶
- AA_SynthesizeMouseForUnhandledTabletEvents = 24¶
- AA_SynthesizeMouseForUnhandledTouchEvents = 12¶
- AA_SynthesizeTouchForUnhandledMouseEvents = 11¶
- AA_Use96Dpi = 8¶
- AA_UseDesktopOpenGL = 15¶
- AA_UseHighDpiPixmaps = 13¶
- AA_UseOpenGLES = 16¶
- AA_UseSoftwareOpenGL = 17¶
- AA_UseStyleSheetPropagationInWidgetStyles = 22¶
- AA_X11InitThreads = 10¶
- ALT = 134217728¶
- AbsoluteSize = 0¶
- AccessibleDescriptionRole = 12¶
- AccessibleTextRole = 11¶
- ActionMask = 255¶
- ActionsContextMenu = 2¶
- ActiveWindowFocusReason = 3¶
- AddToSelection = 1¶
- AlignAbsolute = 16¶
- AlignBaseline = 256¶
- AlignBottom = 64¶
- AlignCenter = 132¶
- AlignHCenter = 4¶
- AlignHorizontal_Mask = 31¶
- AlignJustify = 8¶
- AlignLeading = 1¶
- AlignLeft = 1¶
- AlignRight = 2¶
- AlignTop = 32¶
- AlignTrailing = 2¶
- AlignVCenter = 128¶
- AlignVertical_Mask = 480¶
- class Alignment¶
- class Alignment(f: Qt.Alignment | Qt.AlignmentFlag)
- class Alignment(a0: Qt.Alignment)
Bases:
simplewrapper
- AllButtons = 134217727¶
- AllDockWidgetAreas = 15¶
- AllToolBarAreas = 15¶
- AltModifier = 134217728¶
- AnchorBottom = 5¶
- AnchorHorizontalCenter = 1¶
- AnchorLeft = 0¶
- AnchorRight = 2¶
- AnchorTop = 3¶
- AnchorVerticalCenter = 4¶
- ApplicationActive = 4¶
- ApplicationHidden = 1¶
- ApplicationInactive = 2¶
- ApplicationModal = 2¶
- ApplicationShortcut = 2¶
- class ApplicationStates¶
- class ApplicationStates(f: Qt.ApplicationStates | Qt.ApplicationState)
- class ApplicationStates(a0: Qt.ApplicationStates)
Bases:
simplewrapper
- ApplicationSuspended = 0¶
- ArrowCursor = 0¶
- AscendingOrder = 0¶
- AutoColor = 0¶
- AutoConnection = 0¶
- AutoDither = 0¶
- AutoText = 2¶
- AvoidDither = 128¶
- BDiagPattern = 12¶
- BackButton = 8¶
- BackgroundColorRole = 8¶
- BackgroundRole = 8¶
- BacktabFocusReason = 2¶
- BeginNativeGesture = 0¶
- BevelJoin = 64¶
- BitmapCursor = 24¶
- BlankCursor = 10¶
- BlockingQueuedConnection = 3¶
- BottomDockWidgetArea = 8¶
- BottomEdge = 8¶
- BottomLeftCorner = 2¶
- BottomLeftSection = 8¶
- BottomRightCorner = 3¶
- BottomRightSection = 6¶
- BottomSection = 7¶
- BottomToolBarArea = 8¶
- BusyCursor = 16¶
- BypassGraphicsProxyWidget = 536870912¶
- BypassWindowManagerHint = 1024¶
- CTRL = 67108864¶
- CaseInsensitive = 0¶
- CaseSensitive = 1¶
- Ceil = 2¶
- CheckStateRole = 10¶
- Checked = 2¶
- ChecksumIso3309 = 0¶
- ChecksumItuV41 = 1¶
- ClickFocus = 2¶
- ClosedHandCursor = 18¶
- CoarseTimer = 1¶
- ColorOnly = 3¶
- ConicalGradientPattern = 17¶
- ContainsItemBoundingRect = 2¶
- ContainsItemShape = 0¶
- ControlModifier = 67108864¶
- CopyAction = 1¶
- CoverWindow = 65¶
- CrossCursor = 2¶
- CrossPattern = 11¶
- CustomContextMenu = 3¶
- CustomCursor = 25¶
- CustomDashLine = 6¶
- CustomGesture = 256¶
- CustomizeWindowHint = 33554432¶
- DashDotDotLine = 5¶
- DashDotLine = 4¶
- DashLine = 2¶
- DecorationRole = 1¶
- DefaultContextMenu = 1¶
- DefaultLocaleLongDate = 7¶
- DefaultLocaleShortDate = 6¶
- Dense1Pattern = 2¶
- Dense2Pattern = 3¶
- Dense3Pattern = 4¶
- Dense4Pattern = 5¶
- Dense5Pattern = 6¶
- Dense6Pattern = 7¶
- Dense7Pattern = 8¶
- DescendingOrder = 1¶
- Desktop = 17¶
- DeviceCoordinates = 0¶
- DiagCrossPattern = 14¶
- Dialog = 3¶
- DiffuseAlphaDither = 8¶
- DiffuseDither = 0¶
- DirectConnection = 1¶
- DisplayRole = 0¶
- DockWidgetArea_Mask = 15¶
- class DockWidgetAreas¶
- class DockWidgetAreas(f: Qt.DockWidgetAreas | Qt.DockWidgetArea)
- class DockWidgetAreas(a0: Qt.DockWidgetAreas)
Bases:
simplewrapper
- DontStartGestureOnChildren = 1¶
- DotLine = 3¶
- DownArrow = 2¶
- DragCopyCursor = 19¶
- DragLinkCursor = 21¶
- DragMoveCursor = 20¶
- Drawer = 7¶
- class DropActions¶
- class DropActions(f: Qt.DropActions | Qt.DropAction)
- class DropActions(a0: Qt.DropActions)
Bases:
simplewrapper
- EditRole = 2¶
- ElideLeft = 0¶
- ElideMiddle = 2¶
- ElideNone = 3¶
- ElideRight = 1¶
- EndNativeGesture = 1¶
- EnterKeyDefault = 0¶
- EnterKeyDone = 2¶
- EnterKeyGo = 3¶
- EnterKeyNext = 6¶
- EnterKeyPrevious = 7¶
- EnterKeyReturn = 1¶
- EnterKeySearch = 5¶
- EnterKeySend = 4¶
- ExactHit = 0¶
- ExtraButton1 = 8¶
- ExtraButton10 = 4096¶
- ExtraButton11 = 8192¶
- ExtraButton12 = 16384¶
- ExtraButton13 = 32768¶
- ExtraButton14 = 65536¶
- ExtraButton15 = 131072¶
- ExtraButton16 = 262144¶
- ExtraButton17 = 524288¶
- ExtraButton18 = 1048576¶
- ExtraButton19 = 2097152¶
- ExtraButton2 = 16¶
- ExtraButton20 = 4194304¶
- ExtraButton21 = 8388608¶
- ExtraButton22 = 16777216¶
- ExtraButton23 = 33554432¶
- ExtraButton24 = 67108864¶
- ExtraButton3 = 32¶
- ExtraButton4 = 64¶
- ExtraButton5 = 128¶
- ExtraButton6 = 256¶
- ExtraButton7 = 512¶
- ExtraButton8 = 1024¶
- ExtraButton9 = 2048¶
- FDiagPattern = 13¶
- FastTransformation = 0¶
- class FindChildOptions¶
- class FindChildOptions(f: Qt.FindChildOptions | Qt.FindChildOption)
- class FindChildOptions(a0: Qt.FindChildOptions)
Bases:
simplewrapper
- FindChildrenRecursively = 1¶
- FindDirectChildrenOnly = 0¶
- FlatCap = 0¶
- Floor = 3¶
- FontRole = 6¶
- ForbiddenCursor = 14¶
- ForegroundRole = 9¶
- ForeignWindow = 33¶
- ForwardButton = 16¶
- FramelessWindowHint = 2048¶
- Friday = 5¶
- FuzzyHit = 1¶
- GestureCanceled = 4¶
- GestureFinished = 3¶
- class GestureFlags¶
- class GestureFlags(f: Qt.GestureFlags | Qt.GestureFlag)
- class GestureFlags(a0: Qt.GestureFlags)
Bases:
simplewrapper
- GestureStarted = 1¶
- GestureUpdated = 2¶
- GroupSwitchModifier = 1073741824¶
- class HighDpiScaleFactorRoundingPolicy(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)¶
Bases:
IntEnum- Ceil = 2¶
- Floor = 3¶
- PassThrough = 5¶
- Round = 1¶
- RoundPreferFloor = 4¶
- HighDpiScaleFactorRoundingPolicys¶
alias of
HighDpiScaleFactorRoundingPolicy
- HighEventPriority = 1¶
- HorPattern = 9¶
- Horizontal = 1¶
- IBeamCursor = 4¶
- ISODate = 1¶
- ISODateWithMs = 9¶
- IgnoreAction = 0¶
- IgnoreAspectRatio = 0¶
- IgnoredGesturesPropagateToParent = 4¶
- ImAbsolutePosition = 1024¶
- ImAnchorPosition = 128¶
- ImAnchorRectangle = 16384¶
- ImCurrentSelection = 32¶
- ImCursorPosition = 8¶
- ImCursorRectangle = 2¶
- ImEnabled = 1¶
- ImEnterKeyType = 8192¶
- ImFont = 4¶
- ImHints = 256¶
- ImInputItemClipRectangle = 32768¶
- ImMaximumTextLength = 64¶
- ImMicroFocus = 2¶
- ImPlatformData = -2147483648¶
- ImPreferredLanguage = 512¶
- ImQueryAll = -1¶
- ImQueryInput = 16570¶
- ImSurroundingText = 16¶
- ImTextAfterCursor = 4096¶
- ImTextBeforeCursor = 2048¶
- class ImageConversionFlags¶
- class ImageConversionFlags(f: Qt.ImageConversionFlags | Qt.ImageConversionFlag)
- class ImageConversionFlags(a0: Qt.ImageConversionFlags)
Bases:
simplewrapper
- ImhDate = 128¶
- ImhDialableCharactersOnly = 1048576¶
- ImhDigitsOnly = 65536¶
- ImhEmailCharactersOnly = 2097152¶
- ImhExclusiveInputMask = -65536¶
- ImhFormattedNumbersOnly = 131072¶
- ImhHiddenText = 1¶
- ImhLatinOnly = 8388608¶
- ImhLowercaseOnly = 524288¶
- ImhMultiLine = 1024¶
- ImhNoAutoUppercase = 4¶
- ImhNoEditMenu = 2048¶
- ImhNoPredictiveText = 64¶
- ImhNoTextHandles = 4096¶
- ImhNone = 0¶
- ImhPreferLatin = 512¶
- ImhPreferLowercase = 32¶
- ImhPreferNumbers = 8¶
- ImhPreferUppercase = 16¶
- ImhSensitiveData = 2¶
- ImhTime = 256¶
- ImhUppercaseOnly = 262144¶
- ImhUrlCharactersOnly = 4194304¶
- InitialSortOrderRole = 14¶
- class InputMethodHints¶
- class InputMethodHints(f: Qt.InputMethodHints | Qt.InputMethodHint)
- class InputMethodHints(a0: Qt.InputMethodHints)
Bases:
simplewrapper
- class InputMethodQueries¶
- class InputMethodQueries(f: Qt.InputMethodQueries | Qt.InputMethodQuery)
- class InputMethodQueries(a0: Qt.InputMethodQueries)
Bases:
simplewrapper
- IntersectClip = 2¶
- IntersectsItemBoundingRect = 3¶
- IntersectsItemShape = 1¶
- InvertedLandscapeOrientation = 8¶
- InvertedPortraitOrientation = 4¶
- class ItemFlags¶
- class ItemFlags(f: Qt.ItemFlags | Qt.ItemFlag)
- class ItemFlags(a0: Qt.ItemFlags)
Bases:
simplewrapper
- ItemIsAutoTristate = 64¶
- ItemIsDragEnabled = 4¶
- ItemIsDropEnabled = 8¶
- ItemIsEditable = 2¶
- ItemIsEnabled = 32¶
- ItemIsSelectable = 1¶
- ItemIsTristate = 64¶
- ItemIsUserCheckable = 16¶
- ItemIsUserTristate = 256¶
- ItemNeverHasChildren = 128¶
- KeepAspectRatio = 1¶
- KeepAspectRatioByExpanding = 2¶
- Key_0 = 48¶
- Key_1 = 49¶
- Key_2 = 50¶
- Key_3 = 51¶
- Key_4 = 52¶
- Key_5 = 53¶
- Key_6 = 54¶
- Key_7 = 55¶
- Key_8 = 56¶
- Key_9 = 57¶
- Key_A = 65¶
- Key_AE = 198¶
- Key_Aacute = 193¶
- Key_Acircumflex = 194¶
- Key_AddFavorite = 16777408¶
- Key_Adiaeresis = 196¶
- Key_Agrave = 192¶
- Key_Alt = 16777251¶
- Key_AltGr = 16781571¶
- Key_Ampersand = 38¶
- Key_Any = 32¶
- Key_Apostrophe = 39¶
- Key_ApplicationLeft = 16777415¶
- Key_ApplicationRight = 16777416¶
- Key_Aring = 197¶
- Key_AsciiCircum = 94¶
- Key_AsciiTilde = 126¶
- Key_Asterisk = 42¶
- Key_At = 64¶
- Key_Atilde = 195¶
- Key_AudioCycleTrack = 16777478¶
- Key_AudioForward = 16777474¶
- Key_AudioRandomPlay = 16777476¶
- Key_AudioRepeat = 16777475¶
- Key_AudioRewind = 16777413¶
- Key_Away = 16777464¶
- Key_B = 66¶
- Key_Back = 16777313¶
- Key_BackForward = 16777414¶
- Key_Backslash = 92¶
- Key_Backspace = 16777219¶
- Key_Backtab = 16777218¶
- Key_Bar = 124¶
- Key_BassBoost = 16777331¶
- Key_BassDown = 16777333¶
- Key_BassUp = 16777332¶
- Key_Battery = 16777470¶
- Key_Blue = 16777495¶
- Key_Bluetooth = 16777471¶
- Key_Book = 16777417¶
- Key_BraceLeft = 123¶
- Key_BraceRight = 125¶
- Key_BracketLeft = 91¶
- Key_BracketRight = 93¶
- Key_BrightnessAdjust = 16777410¶
- Key_C = 67¶
- Key_CD = 16777418¶
- Key_Calculator = 16777419¶
- Key_Calendar = 16777444¶
- Key_Call = 17825796¶
- Key_Camera = 17825824¶
- Key_CameraFocus = 17825825¶
- Key_Cancel = 16908289¶
- Key_CapsLock = 16777252¶
- Key_Ccedilla = 199¶
- Key_ChannelDown = 16777497¶
- Key_ChannelUp = 16777496¶
- Key_Clear = 16777227¶
- Key_ClearGrab = 16777421¶
- Key_Close = 16777422¶
- Key_Codeinput = 16781623¶
- Key_Colon = 58¶
- Key_Comma = 44¶
- Key_Community = 16777412¶
- Key_Context1 = 17825792¶
- Key_Context2 = 17825793¶
- Key_Context3 = 17825794¶
- Key_Context4 = 17825795¶
- Key_ContrastAdjust = 16777485¶
- Key_Control = 16777249¶
- Key_Copy = 16777423¶
- Key_Cut = 16777424¶
- Key_D = 68¶
- Key_DOS = 16777426¶
- Key_Dead_A = 16781953¶
- Key_Dead_Abovecomma = 16781924¶
- Key_Dead_Abovedot = 16781910¶
- Key_Dead_Abovereversedcomma = 16781925¶
- Key_Dead_Abovering = 16781912¶
- Key_Dead_Aboveverticalline = 16781969¶
- Key_Dead_Acute = 16781905¶
- Key_Dead_Belowbreve = 16781931¶
- Key_Dead_Belowcircumflex = 16781929¶
- Key_Dead_Belowcomma = 16781934¶
- Key_Dead_Belowdiaeresis = 16781932¶
- Key_Dead_Belowdot = 16781920¶
- Key_Dead_Belowmacron = 16781928¶
- Key_Dead_Belowring = 16781927¶
- Key_Dead_Belowtilde = 16781930¶
- Key_Dead_Belowverticalline = 16781970¶
- Key_Dead_Breve = 16781909¶
- Key_Dead_Capital_Schwa = 16781963¶
- Key_Dead_Caron = 16781914¶
- Key_Dead_Cedilla = 16781915¶
- Key_Dead_Circumflex = 16781906¶
- Key_Dead_Currency = 16781935¶
- Key_Dead_Diaeresis = 16781911¶
- Key_Dead_Doubleacute = 16781913¶
- Key_Dead_Doublegrave = 16781926¶
- Key_Dead_E = 16781955¶
- Key_Dead_Grave = 16781904¶
- Key_Dead_Greek = 16781964¶
- Key_Dead_Hook = 16781921¶
- Key_Dead_Horn = 16781922¶
- Key_Dead_I = 16781957¶
- Key_Dead_Invertedbreve = 16781933¶
- Key_Dead_Iota = 16781917¶
- Key_Dead_Longsolidusoverlay = 16781971¶
- Key_Dead_Lowline = 16781968¶
- Key_Dead_Macron = 16781908¶
- Key_Dead_O = 16781959¶
- Key_Dead_Ogonek = 16781916¶
- Key_Dead_Semivoiced_Sound = 16781919¶
- Key_Dead_Small_Schwa = 16781962¶
- Key_Dead_Stroke = 16781923¶
- Key_Dead_Tilde = 16781907¶
- Key_Dead_U = 16781961¶
- Key_Dead_Voiced_Sound = 16781918¶
- Key_Dead_a = 16781952¶
- Key_Dead_e = 16781954¶
- Key_Dead_i = 16781956¶
- Key_Dead_o = 16781958¶
- Key_Dead_u = 16781960¶
- Key_Delete = 16777223¶
- Key_Direction_L = 16777305¶
- Key_Direction_R = 16777312¶
- Key_Display = 16777425¶
- Key_Documents = 16777427¶
- Key_Dollar = 36¶
- Key_Down = 16777237¶
- Key_E = 69¶
- Key_ETH = 208¶
- Key_Eacute = 201¶
- Key_Ecircumflex = 202¶
- Key_Ediaeresis = 203¶
- Key_Egrave = 200¶
- Key_Eisu_Shift = 16781615¶
- Key_Eisu_toggle = 16781616¶
- Key_Eject = 16777401¶
- Key_End = 16777233¶
- Key_Enter = 16777221¶
- Key_Equal = 61¶
- Key_Escape = 16777216¶
- Key_Excel = 16777428¶
- Key_Exclam = 33¶
- Key_Execute = 16908291¶
- Key_Exit = 16908298¶
- Key_Explorer = 16777429¶
- Key_F = 70¶
- Key_F1 = 16777264¶
- Key_F10 = 16777273¶
- Key_F11 = 16777274¶
- Key_F12 = 16777275¶
- Key_F13 = 16777276¶
- Key_F14 = 16777277¶
- Key_F15 = 16777278¶
- Key_F16 = 16777279¶
- Key_F17 = 16777280¶
- Key_F18 = 16777281¶
- Key_F19 = 16777282¶
- Key_F2 = 16777265¶
- Key_F20 = 16777283¶
- Key_F21 = 16777284¶
- Key_F22 = 16777285¶
- Key_F23 = 16777286¶
- Key_F24 = 16777287¶
- Key_F25 = 16777288¶
- Key_F26 = 16777289¶
- Key_F27 = 16777290¶
- Key_F28 = 16777291¶
- Key_F29 = 16777292¶
- Key_F3 = 16777266¶
- Key_F30 = 16777293¶
- Key_F31 = 16777294¶
- Key_F32 = 16777295¶
- Key_F33 = 16777296¶
- Key_F34 = 16777297¶
- Key_F35 = 16777298¶
- Key_F4 = 16777267¶
- Key_F5 = 16777268¶
- Key_F6 = 16777269¶
- Key_F7 = 16777270¶
- Key_F8 = 16777271¶
- Key_F9 = 16777272¶
- Key_Favorites = 16777361¶
- Key_Finance = 16777411¶
- Key_Find = 16777506¶
- Key_Flip = 17825798¶
- Key_Forward = 16777314¶
- Key_G = 71¶
- Key_Game = 16777430¶
- Key_Go = 16777431¶
- Key_Greater = 62¶
- Key_Green = 16777493¶
- Key_Guide = 16777498¶
- Key_H = 72¶
- Key_Hangul = 16781617¶
- Key_Hangul_Banja = 16781625¶
- Key_Hangul_End = 16781619¶
- Key_Hangul_Hanja = 16781620¶
- Key_Hangul_Jamo = 16781621¶
- Key_Hangul_Jeonja = 16781624¶
- Key_Hangul_PostHanja = 16781627¶
- Key_Hangul_PreHanja = 16781626¶
- Key_Hangul_Romaja = 16781622¶
- Key_Hangul_Special = 16781631¶
- Key_Hangul_Start = 16781618¶
- Key_Hangup = 17825797¶
- Key_Hankaku = 16781609¶
- Key_Help = 16777304¶
- Key_Henkan = 16781603¶
- Key_Hibernate = 16777480¶
- Key_Hiragana = 16781605¶
- Key_Hiragana_Katakana = 16781607¶
- Key_History = 16777407¶
- Key_Home = 16777232¶
- Key_HomePage = 16777360¶
- Key_HotLinks = 16777409¶
- Key_Hyper_L = 16777302¶
- Key_Hyper_R = 16777303¶
- Key_I = 73¶
- Key_Iacute = 205¶
- Key_Icircumflex = 206¶
- Key_Idiaeresis = 207¶
- Key_Igrave = 204¶
- Key_Info = 16777499¶
- Key_Insert = 16777222¶
- Key_J = 74¶
- Key_K = 75¶
- Key_Kana_Lock = 16781613¶
- Key_Kana_Shift = 16781614¶
- Key_Kanji = 16781601¶
- Key_Katakana = 16781606¶
- Key_KeyboardBrightnessDown = 16777398¶
- Key_KeyboardBrightnessUp = 16777397¶
- Key_KeyboardLightOnOff = 16777396¶
- Key_L = 76¶
- Key_LastNumberRedial = 17825801¶
- Key_Launch0 = 16777378¶
- Key_Launch1 = 16777379¶
- Key_Launch2 = 16777380¶
- Key_Launch3 = 16777381¶
- Key_Launch4 = 16777382¶
- Key_Launch5 = 16777383¶
- Key_Launch6 = 16777384¶
- Key_Launch7 = 16777385¶
- Key_Launch8 = 16777386¶
- Key_Launch9 = 16777387¶
- Key_LaunchA = 16777388¶
- Key_LaunchB = 16777389¶
- Key_LaunchC = 16777390¶
- Key_LaunchD = 16777391¶
- Key_LaunchE = 16777392¶
- Key_LaunchF = 16777393¶
- Key_LaunchG = 16777486¶
- Key_LaunchH = 16777487¶
- Key_LaunchMail = 16777376¶
- Key_LaunchMedia = 16777377¶
- Key_Left = 16777234¶
- Key_Less = 60¶
- Key_LightBulb = 16777405¶
- Key_LogOff = 16777433¶
- Key_M = 77¶
- Key_MailForward = 16777467¶
- Key_Market = 16777434¶
- Key_Massyo = 16781612¶
- Key_MediaLast = 16842751¶
- Key_MediaNext = 16777347¶
- Key_MediaPause = 16777349¶
- Key_MediaPlay = 16777344¶
- Key_MediaPrevious = 16777346¶
- Key_MediaRecord = 16777348¶
- Key_MediaStop = 16777345¶
- Key_MediaTogglePlayPause = 16777350¶
- Key_Meeting = 16777435¶
- Key_Memo = 16777404¶
- Key_Menu = 16777301¶
- Key_MenuKB = 16777436¶
- Key_MenuPB = 16777437¶
- Key_Messenger = 16777465¶
- Key_Meta = 16777250¶
- Key_MicMute = 16777491¶
- Key_MicVolumeDown = 16777502¶
- Key_MicVolumeUp = 16777501¶
- Key_Minus = 45¶
- Key_Mode_switch = 16781694¶
- Key_MonBrightnessDown = 16777395¶
- Key_MonBrightnessUp = 16777394¶
- Key_Muhenkan = 16781602¶
- Key_Multi_key = 16781600¶
- Key_MultipleCandidate = 16781629¶
- Key_Music = 16777469¶
- Key_MySites = 16777438¶
- Key_N = 78¶
- Key_New = 16777504¶
- Key_News = 16777439¶
- Key_No = 16842754¶
- Key_Ntilde = 209¶
- Key_NumLock = 16777253¶
- Key_NumberSign = 35¶
- Key_O = 79¶
- Key_Oacute = 211¶
- Key_Ocircumflex = 212¶
- Key_Odiaeresis = 214¶
- Key_OfficeHome = 16777440¶
- Key_Ograve = 210¶
- Key_Ooblique = 216¶
- Key_Open = 16777505¶
- Key_OpenUrl = 16777364¶
- Key_Option = 16777441¶
- Key_Otilde = 213¶
- Key_P = 80¶
- Key_PageDown = 16777239¶
- Key_PageUp = 16777238¶
- Key_ParenLeft = 40¶
- Key_ParenRight = 41¶
- Key_Paste = 16777442¶
- Key_Pause = 16777224¶
- Key_Percent = 37¶
- Key_Period = 46¶
- Key_Phone = 16777443¶
- Key_Pictures = 16777468¶
- Key_Play = 16908293¶
- Key_Plus = 43¶
- Key_PowerDown = 16777483¶
- Key_PowerOff = 16777399¶
- Key_PreviousCandidate = 16781630¶
- Key_Print = 16777225¶
- Key_Printer = 16908290¶
- Key_Q = 81¶
- Key_Question = 63¶
- Key_QuoteDbl = 34¶
- Key_QuoteLeft = 96¶
- Key_R = 82¶
- Key_Red = 16777492¶
- Key_Redo = 16777508¶
- Key_Refresh = 16777316¶
- Key_Reload = 16777446¶
- Key_Reply = 16777445¶
- Key_Return = 16777220¶
- Key_Right = 16777236¶
- Key_Romaji = 16781604¶
- Key_RotateWindows = 16777447¶
- Key_RotationKB = 16777449¶
- Key_RotationPB = 16777448¶
- Key_S = 83¶
- Key_Save = 16777450¶
- Key_ScreenSaver = 16777402¶
- Key_ScrollLock = 16777254¶
- Key_Search = 16777362¶
- Key_Select = 16842752¶
- Key_Semicolon = 59¶
- Key_Send = 16777451¶
- Key_Settings = 16777500¶
- Key_Shift = 16777248¶
- Key_Shop = 16777406¶
- Key_SingleCandidate = 16781628¶
- Key_Slash = 47¶
- Key_Sleep = 16908292¶
- Key_Space = 32¶
- Key_Spell = 16777452¶
- Key_SplitScreen = 16777453¶
- Key_Standby = 16777363¶
- Key_Stop = 16777315¶
- Key_Subtitle = 16777477¶
- Key_Super_L = 16777299¶
- Key_Super_R = 16777300¶
- Key_Support = 16777454¶
- Key_Suspend = 16777484¶
- Key_SysReq = 16777226¶
- Key_T = 84¶
- Key_THORN = 222¶
- Key_Tab = 16777217¶
- Key_TaskPane = 16777455¶
- Key_Terminal = 16777456¶
- Key_Time = 16777479¶
- Key_ToDoList = 16777420¶
- Key_ToggleCallHangup = 17825799¶
- Key_Tools = 16777457¶
- Key_TopMenu = 16777482¶
- Key_TouchpadOff = 16777490¶
- Key_TouchpadOn = 16777489¶
- Key_TouchpadToggle = 16777488¶
- Key_Touroku = 16781611¶
- Key_Travel = 16777458¶
- Key_TrebleDown = 16777335¶
- Key_TrebleUp = 16777334¶
- Key_U = 85¶
- Key_UWB = 16777473¶
- Key_Uacute = 218¶
- Key_Ucircumflex = 219¶
- Key_Udiaeresis = 220¶
- Key_Ugrave = 217¶
- Key_Underscore = 95¶
- Key_Undo = 16777507¶
- Key_Up = 16777235¶
- Key_V = 86¶
- Key_Video = 16777459¶
- Key_View = 16777481¶
- Key_VoiceDial = 17825800¶
- Key_VolumeDown = 16777328¶
- Key_VolumeMute = 16777329¶
- Key_VolumeUp = 16777330¶
- Key_W = 87¶
- Key_WLAN = 16777472¶
- Key_WWW = 16777403¶
- Key_WakeUp = 16777400¶
- Key_WebCam = 16777466¶
- Key_Word = 16777460¶
- Key_X = 88¶
- Key_Xfer = 16777461¶
- Key_Y = 89¶
- Key_Yacute = 221¶
- Key_Yellow = 16777494¶
- Key_Yes = 16842753¶
- Key_Z = 90¶
- Key_Zenkaku = 16781608¶
- Key_Zenkaku_Hankaku = 16781610¶
- Key_Zoom = 16908294¶
- Key_ZoomIn = 16777462¶
- Key_ZoomOut = 16777463¶
- Key_acute = 180¶
- Key_brokenbar = 166¶
- Key_cedilla = 184¶
- Key_cent = 162¶
- Key_copyright = 169¶
- Key_currency = 164¶
- Key_degree = 176¶
- Key_diaeresis = 168¶
- Key_division = 247¶
- Key_exclamdown = 161¶
- Key_guillemotleft = 171¶
- Key_guillemotright = 187¶
- Key_hyphen = 173¶
- Key_iTouch = 16777432¶
- Key_macron = 175¶
- Key_masculine = 186¶
- Key_mu = 181¶
- Key_multiply = 215¶
- Key_nobreakspace = 160¶
- Key_notsign = 172¶
- Key_onehalf = 189¶
- Key_onequarter = 188¶
- Key_onesuperior = 185¶
- Key_ordfeminine = 170¶
- Key_paragraph = 182¶
- Key_periodcentered = 183¶
- Key_plusminus = 177¶
- Key_questiondown = 191¶
- Key_registered = 174¶
- Key_section = 167¶
- Key_ssharp = 223¶
- Key_sterling = 163¶
- Key_threequarters = 190¶
- Key_threesuperior = 179¶
- Key_twosuperior = 178¶
- Key_unknown = 33554431¶
- Key_ydiaeresis = 255¶
- Key_yen = 165¶
- KeyboardModifierMask = -33554432¶
- class KeyboardModifiers¶
- class KeyboardModifiers(f: Qt.KeyboardModifiers | Qt.KeyboardModifier)
- class KeyboardModifiers(a0: Qt.KeyboardModifiers)
Bases:
simplewrapper
- KeypadModifier = 536870912¶
- LandscapeOrientation = 2¶
- LastCursor = 21¶
- LayoutDirectionAuto = 2¶
- LeftArrow = 3¶
- LeftButton = 1¶
- LeftDockWidgetArea = 1¶
- LeftEdge = 2¶
- LeftSection = 1¶
- LeftToRight = 0¶
- LeftToolBarArea = 1¶
- LinearGradientPattern = 15¶
- LinkAction = 4¶
- LinksAccessibleByKeyboard = 8¶
- LinksAccessibleByMouse = 4¶
- LocalDate = 2¶
- LocalTime = 0¶
- LocaleDate = 3¶
- LogicalCoordinates = 1¶
- LogicalMoveStyle = 0¶
- LowEventPriority = -1¶
- META = 268435456¶
- MODIFIER_MASK = -33554432¶
- MPenCapStyle = 48¶
- MPenJoinStyle = 448¶
- MPenStyle = 15¶
- MSWindowsFixedSizeDialogHint = 256¶
- MSWindowsOwnDC = 512¶
- MacWindowToolBarButtonHint = 268435456¶
- MarkdownText = 3¶
- MaskInColor = 0¶
- MaskOutColor = 1¶
- MatchCaseSensitive = 16¶
- MatchContains = 1¶
- MatchEndsWith = 3¶
- MatchExactly = 0¶
- MatchFixedString = 8¶
- class MatchFlags¶
- class MatchFlags(f: Qt.MatchFlags | Qt.MatchFlag)
- class MatchFlags(a0: Qt.MatchFlags)
Bases:
simplewrapper
- MatchRecursive = 64¶
- MatchRegExp = 4¶
- MatchRegularExpression = 9¶
- MatchStartsWith = 2¶
- MatchWildcard = 5¶
- MatchWrap = 32¶
- MaximizeUsingFullscreenGeometryHint = 4194304¶
- MaximumSize = 2¶
- MenuBarFocusReason = 6¶
- MetaModifier = 268435456¶
- MidButton = 4¶
- MiddleButton = 4¶
- MinimumDescent = 3¶
- MinimumSize = 0¶
- MiterJoin = 0¶
- Monday = 1¶
- MonoOnly = 2¶
- class MouseButtons¶
- class MouseButtons(f: Qt.MouseButtons | Qt.MouseButton)
- class MouseButtons(a0: Qt.MouseButtons)
Bases:
simplewrapper
- MouseEventCreatedDoubleClick = 1¶
- class MouseEventFlags¶
- class MouseEventFlags(f: Qt.MouseEventFlags | Qt.MouseEventFlag)
- class MouseEventFlags(a0: Qt.MouseEventFlags)
Bases:
simplewrapper
- MouseEventNotSynthesized = 0¶
- MouseEventSynthesizedByApplication = 3¶
- MouseEventSynthesizedByQt = 2¶
- MouseEventSynthesizedBySystem = 1¶
- MouseFocusReason = 0¶
- MoveAction = 2¶
Bases:
int
- NoArrow = 0¶
- NoBrush = 0¶
- NoButton = 0¶
- NoClip = 0¶
- NoContextMenu = 0¶
- NoDockWidgetArea = 0¶
- NoDropShadowWindowHint = 1073741824¶
- NoFocus = 0¶
- NoFocusReason = 8¶
- NoFormatConversion = 512¶
- NoItemFlags = 0¶
- NoModifier = 0¶
- NoOpaqueDetection = 256¶
- NoPen = 0¶
- NoScrollPhase = 0¶
- NoSection = 0¶
- NoTabFocus = 0¶
- NoTextInteraction = 0¶
- NoToolBarArea = 0¶
- NonModal = 0¶
- NormalEventPriority = 0¶
- OddEvenFill = 0¶
- OffsetFromUTC = 2¶
- OpaqueMode = 1¶
- OpenHandCursor = 17¶
- OrderedAlphaDither = 4¶
- OrderedDither = 16¶
- class Orientations¶
- class Orientations(f: Qt.Orientations | Qt.Orientation)
- class Orientations(a0: Qt.Orientations)
Bases:
simplewrapper
- OtherFocusReason = 7¶
- PanGesture = 3¶
- PanNativeGesture = 2¶
- PartiallyChecked = 1¶
- PassThrough = 5¶
- PinchGesture = 4¶
- PlainText = 0¶
- PointingHandCursor = 13¶
- Popup = 9¶
- PopupFocusReason = 4¶
- PortraitOrientation = 1¶
- PreciseTimer = 0¶
- PreferDither = 64¶
- PreferredSize = 1¶
- PreventContextMenu = 4¶
- PrimaryOrientation = 0¶
- QueuedConnection = 2¶
- RFC2822Date = 8¶
- RadialGradientPattern = 16¶
- ReceivePartialGestures = 2¶
- RelativeSize = 1¶
- RepeatTile = 1¶
- ReplaceClip = 1¶
- ReplaceSelection = 0¶
- RichText = 1¶
- RightArrow = 4¶
- RightButton = 2¶
- RightDockWidgetArea = 2¶
- RightEdge = 4¶
- RightSection = 5¶
- RightToLeft = 1¶
- RightToolBarArea = 2¶
- RotateNativeGesture = 5¶
- Round = 1¶
- RoundCap = 32¶
- RoundJoin = 128¶
- RoundPreferFloor = 4¶
- RoundTile = 2¶
- SHIFT = 33554432¶
- Saturday = 6¶
- class ScreenOrientations¶
- class ScreenOrientations(f: Qt.ScreenOrientations | Qt.ScreenOrientation)
- class ScreenOrientations(a0: Qt.ScreenOrientations)
Bases:
simplewrapper
- ScrollBarAlwaysOff = 1¶
- ScrollBarAlwaysOn = 2¶
- ScrollBarAsNeeded = 0¶
- ScrollBegin = 1¶
- ScrollEnd = 3¶
- ScrollMomentum = 4¶
- ScrollUpdate = 2¶
- Sheet = 5¶
- ShiftModifier = 33554432¶
- ShortcutFocusReason = 5¶
- SizeAllCursor = 9¶
- SizeBDiagCursor = 7¶
- SizeFDiagCursor = 8¶
- SizeHintRole = 13¶
- SizeHorCursor = 6¶
- SizeVerCursor = 5¶
- SmartZoomNativeGesture = 4¶
- SmoothTransformation = 1¶
- SolidLine = 1¶
- SolidPattern = 1¶
- SplashScreen = 15¶
- SplitHCursor = 12¶
- SplitVCursor = 11¶
- SquareCap = 16¶
- StatusTipRole = 4¶
- StretchTile = 0¶
- StrongFocus = 11¶
- SubWindow = 18¶
- Sunday = 7¶
- SvgMiterJoin = 256¶
- SwipeGesture = 5¶
- SwipeNativeGesture = 6¶
- SystemLocaleDate = 2¶
- SystemLocaleLongDate = 5¶
- SystemLocaleShortDate = 4¶
- TabFocus = 1¶
- TabFocusAllControls = 255¶
- TabFocusListControls = 2¶
- TabFocusReason = 1¶
- TabFocusTextControls = 1¶
- TapAndHoldGesture = 2¶
- TapGesture = 1¶
- TargetMoveAction = 32770¶
- TaskButton = 32¶
- TextAlignmentRole = 7¶
- TextBrowserInteraction = 13¶
- TextColorRole = 9¶
- TextDate = 0¶
- TextDontClip = 512¶
- TextDontPrint = 16384¶
- TextEditable = 16¶
- TextEditorInteraction = 19¶
- TextExpandTabs = 1024¶
- TextHideMnemonic = 32768¶
- TextIncludeTrailingSpaces = 134217728¶
- class TextInteractionFlags¶
- class TextInteractionFlags(f: Qt.TextInteractionFlags | Qt.TextInteractionFlag)
- class TextInteractionFlags(a0: Qt.TextInteractionFlags)
Bases:
simplewrapper
- TextJustificationForced = 65536¶
- TextSelectableByKeyboard = 2¶
- TextSelectableByMouse = 1¶
- TextShowMnemonic = 2048¶
- TextSingleLine = 256¶
- TextWordWrap = 4096¶
- TextWrapAnywhere = 8192¶
- TexturePattern = 24¶
- ThresholdAlphaDither = 0¶
- ThresholdDither = 32¶
- Thursday = 4¶
- TimeZone = 3¶
- TitleBarArea = 9¶
- Tool = 11¶
- ToolBarArea_Mask = 15¶
- class ToolBarAreas¶
- class ToolBarAreas(f: Qt.ToolBarAreas | Qt.ToolBarArea)
- class ToolBarAreas(a0: Qt.ToolBarAreas)
Bases:
simplewrapper
- ToolButtonFollowStyle = 4¶
- ToolButtonIconOnly = 0¶
- ToolButtonTextBesideIcon = 2¶
- ToolButtonTextOnly = 1¶
- ToolButtonTextUnderIcon = 3¶
- ToolTip = 13¶
- ToolTipRole = 3¶
- TopDockWidgetArea = 4¶
- TopEdge = 1¶
- TopLeftCorner = 0¶
- TopLeftSection = 2¶
- TopRightCorner = 1¶
- TopRightSection = 4¶
- TopSection = 3¶
- TopToolBarArea = 4¶
- TouchPointMoved = 2¶
- TouchPointPressed = 1¶
- TouchPointReleased = 8¶
- class TouchPointStates¶
- class TouchPointStates(f: Qt.TouchPointStates | Qt.TouchPointState)
- class TouchPointStates(a0: Qt.TouchPointStates)
Bases:
simplewrapper
- TouchPointStationary = 4¶
- TransparentMode = 0¶
- Tuesday = 2¶
- UI_AnimateCombo = 3¶
- UI_AnimateMenu = 1¶
- UI_AnimateToolBox = 6¶
- UI_AnimateTooltip = 4¶
- UI_FadeMenu = 2¶
- UI_FadeTooltip = 5¶
- UI_General = 0¶
- UNICODE_ACCEL = 0¶
- UTC = 1¶
- Unchecked = 0¶
- UniqueConnection = 128¶
- UpArrow = 1¶
- UpArrowCursor = 1¶
- UserRole = 256¶
- VerPattern = 10¶
- Vertical = 2¶
- VeryCoarseTimer = 2¶
- VisualMoveStyle = 1¶
- WA_AcceptDrops = 78¶
- WA_AcceptTouchEvents = 121¶
- WA_AlwaysShowToolTips = 84¶
- WA_AlwaysStackOnTop = 128¶
- WA_AttributeCount = 132¶
- WA_ContentsMarginsRespectsSafeArea = 130¶
- WA_CustomWhatsThis = 47¶
- WA_DeleteOnClose = 55¶
- WA_Disabled = 0¶
- WA_DontCreateNativeAncestors = 101¶
- WA_DontShowOnScreen = 103¶
- WA_ForceDisabled = 32¶
- WA_ForceUpdatesDisabled = 59¶
- WA_GrabbedShortcut = 50¶
- WA_GroupLeader = 72¶
- WA_Hover = 74¶
- WA_InputMethodEnabled = 14¶
- WA_InputMethodTransparent = 75¶
- WA_InvalidSize = 45¶
- WA_KeyCompression = 33¶
- WA_KeyboardFocusChange = 77¶
- WA_LaidOut = 7¶
- WA_LayoutOnEntireRect = 48¶
- WA_LayoutUsesWidgetRect = 92¶
- WA_MSWindowsUseDirect3D = 94¶
- WA_MacAlwaysShowToolWindow = 96¶
- WA_MacBrushedMetal = 46¶
- WA_MacFrameworkScaled = 117¶
- WA_MacMetalStyle = 46¶
- WA_MacMiniSize = 91¶
- WA_MacNoClickThrough = 12¶
- WA_MacNoShadow = 127¶
- WA_MacNormalSize = 89¶
- WA_MacOpaqueSizeGrip = 85¶
- WA_MacShowFocusRect = 88¶
- WA_MacSmallSize = 90¶
- WA_MacVariableSize = 102¶
- WA_Mapped = 11¶
- WA_MouseNoMask = 71¶
- WA_MouseTracking = 2¶
- WA_Moved = 43¶
- WA_NativeWindow = 100¶
- WA_NoChildEventsForParent = 58¶
- WA_NoChildEventsFromChildren = 39¶
- WA_NoMousePropagation = 73¶
- WA_NoMouseReplay = 54¶
- WA_NoSystemBackground = 9¶
- WA_NoX11EventCompression = 81¶
- WA_OpaquePaintEvent = 4¶
- WA_OutsideWSRange = 49¶
- WA_PaintOnScreen = 8¶
- WA_PaintUnclipped = 52¶
- WA_PendingMoveEvent = 34¶
- WA_PendingResizeEvent = 35¶
- WA_PendingUpdate = 44¶
- WA_QuitOnClose = 76¶
- WA_Resized = 42¶
- WA_RightToLeft = 56¶
- WA_SetCursor = 38¶
- WA_SetFont = 37¶
- WA_SetLayoutDirection = 57¶
- WA_SetLocale = 87¶
- WA_SetPalette = 36¶
- WA_SetStyle = 86¶
- WA_SetWindowIcon = 53¶
- WA_ShowWithoutActivating = 98¶
- WA_StaticContents = 5¶
- WA_StyleSheet = 97¶
- WA_StyleSheetTarget = 131¶
- WA_StyledBackground = 93¶
- WA_TabletTracking = 129¶
- WA_TintedBackground = 82¶
- WA_TouchPadAcceptSingleTouchEvents = 123¶
- WA_TranslucentBackground = 120¶
- WA_TransparentForMouseEvents = 51¶
- WA_UnderMouse = 1¶
- WA_UpdatesDisabled = 10¶
- WA_WState_CompressKeys = 61¶
- WA_WState_ConfigPending = 64¶
- WA_WState_Created = 60¶
- WA_WState_ExplicitShowHide = 69¶
- WA_WState_Hidden = 16¶
- WA_WState_InPaintEvent = 62¶
- WA_WState_OwnSizePolicy = 68¶
- WA_WState_Polished = 66¶
- WA_WState_Reparented = 63¶
- WA_WState_Visible = 15¶
- WA_WindowModified = 41¶
- WA_WindowPropagation = 80¶
- WA_X11DoNotAcceptFocus = 126¶
- WA_X11NetWmWindowTypeCombo = 115¶
- WA_X11NetWmWindowTypeDND = 116¶
- WA_X11NetWmWindowTypeDesktop = 104¶
- WA_X11NetWmWindowTypeDialog = 110¶
- WA_X11NetWmWindowTypeDock = 105¶
- WA_X11NetWmWindowTypeDropDownMenu = 111¶
- WA_X11NetWmWindowTypeMenu = 107¶
- WA_X11NetWmWindowTypeNotification = 114¶
- WA_X11NetWmWindowTypePopupMenu = 112¶
- WA_X11NetWmWindowTypeSplash = 109¶
- WA_X11NetWmWindowTypeToolBar = 106¶
- WA_X11NetWmWindowTypeToolTip = 113¶
- WA_X11NetWmWindowTypeUtility = 108¶
- WA_X11OpenGLOverlay = 83¶
- WaitCursor = 3¶
- Wednesday = 3¶
- WhatsThisCursor = 15¶
- WhatsThisRole = 5¶
- WheelFocus = 15¶
- WhiteSpaceModeUndefined = -1¶
- WhiteSpaceNoWrap = 2¶
- WhiteSpaceNormal = 0¶
- WhiteSpacePre = 1¶
- Widget = 0¶
- WidgetShortcut = 0¶
- WidgetWithChildrenShortcut = 3¶
- WindingFill = 1¶
- Window = 1¶
- WindowActive = 8¶
- WindowCloseButtonHint = 134217728¶
- WindowContextHelpButtonHint = 65536¶
- WindowDoesNotAcceptFocus = 2097152¶
- class WindowFlags¶
- class WindowFlags(f: Qt.WindowFlags | Qt.WindowType)
- class WindowFlags(a0: Qt.WindowFlags)
Bases:
simplewrapper
- WindowFullScreen = 4¶
- WindowFullscreenButtonHint = -2147483648¶
- WindowMaximizeButtonHint = 32768¶
- WindowMaximized = 2¶
- WindowMinMaxButtonsHint = 49152¶
- WindowMinimizeButtonHint = 16384¶
- WindowMinimized = 1¶
- WindowModal = 1¶
- WindowNoState = 0¶
- WindowOverridesSystemGestures = 1048576¶
- WindowShadeButtonHint = 131072¶
- WindowShortcut = 1¶
- class WindowStates¶
- class WindowStates(f: Qt.WindowStates | Qt.WindowState)
- class WindowStates(a0: Qt.WindowStates)
Bases:
simplewrapper
- WindowStaysOnBottomHint = 67108864¶
- WindowStaysOnTopHint = 262144¶
- WindowSystemMenuHint = 8192¶
- WindowTitleHint = 4096¶
- WindowTransparentForInput = 524288¶
- WindowType_Mask = 255¶
- X11BypassWindowManagerHint = 1024¶
- XAxis = 0¶
- XButton1 = 8¶
- XButton2 = 16¶
- YAxis = 1¶
- ZAxis = 2¶
- ZoomNativeGesture = 3¶
- black = 2¶
- blue = 9¶
- color0 = 0¶
- color1 = 1¶
- convertFromPlainText(plain: str | None, mode: Qt.WhiteSpaceMode = Qt.WhiteSpacePre) str¶
- cyan = 10¶
- darkBlue = 15¶
- darkCyan = 16¶
- darkGray = 4¶
- darkGreen = 14¶
- darkMagenta = 17¶
- darkRed = 13¶
- darkYellow = 18¶
- gray = 5¶
- green = 8¶
- lightGray = 6¶
- magenta = 11¶
- red = 7¶
- transparent = 19¶
- white = 3¶
- yellow = 12¶
- populse_mia.user_interface.pipeline_manager.process_library.Signal¶
alias of
pyqtSignal
- class populse_mia.user_interface.pipeline_manager.process_library.QGroupBox(parent: QWidget | None = None)¶
- class populse_mia.user_interface.pipeline_manager.process_library.QGroupBox(title: str | None, parent: QWidget | None = None)
Bases:
QWidget- alignment(self) Qt.Alignment¶
- clicked¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- minimumSizeHint(self) QSize¶
- toggled¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- class populse_mia.user_interface.pipeline_manager.process_library.QListWidget(parent: QWidget | None = None)¶
Bases:
QListView- clear(self)¶
- closePersistentEditor(self, item: QListWidgetItem | None)¶
- currentItem(self) QListWidgetItem | None¶
- currentItemChanged¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- currentRowChanged¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- currentTextChanged¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- editItem(self, item: QListWidgetItem | None)¶
- findItems(self, text: str | None, flags: Qt.MatchFlags | Qt.MatchFlag) List[QListWidgetItem]¶
- indexFromItem(self, item: QListWidgetItem | None) QModelIndex¶
- insertItem(self, row: int, item: QListWidgetItem | None)¶
- insertItem(self, row: int, label: str | None) None
- isPersistentEditorOpen(self, item: QListWidgetItem | None) bool¶
- item(self, row: int) QListWidgetItem | None¶
- itemActivated¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- itemAt(self, p: QPoint) QListWidgetItem | None¶
- itemAt(self, ax: int, ay: int) QListWidgetItem | None
- itemChanged¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- itemClicked¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- itemDoubleClicked¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- itemEntered¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- itemFromIndex(self, index: QModelIndex) QListWidgetItem | None¶
- itemPressed¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- itemSelectionChanged¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- itemWidget(self, item: QListWidgetItem | None) QWidget | None¶
- items(self, data: QMimeData | None) List[QListWidgetItem]¶
- mimeData(self, items: Iterable[QListWidgetItem]) QMimeData | None¶
- openPersistentEditor(self, item: QListWidgetItem | None)¶
- removeItemWidget(self, aItem: QListWidgetItem | None)¶
- row(self, item: QListWidgetItem | None) int¶
- scrollToItem(self, item: QListWidgetItem | None, hint: QAbstractItemView.ScrollHint = QAbstractItemView.EnsureVisible)¶
- selectedItems(self) List[QListWidgetItem]¶
- setCurrentItem(self, item: QListWidgetItem | None)¶
- setCurrentItem(self, item: QListWidgetItem | None, command: QItemSelectionModel.SelectionFlags | QItemSelectionModel.SelectionFlag) None
- setCurrentRow(self, row: int)¶
- setCurrentRow(self, row: int, command: QItemSelectionModel.SelectionFlags | QItemSelectionModel.SelectionFlag) None
- setItemWidget(self, item: QListWidgetItem | None, widget: QWidget | None)¶
- setModel(self, model: QAbstractItemModel | None)¶
- setSelectionModel(self, selectionModel: QItemSelectionModel | None)¶
- sortItems(self, order: Qt.SortOrder = Qt.AscendingOrder)¶
- supportedDropActions(self) Qt.DropActions¶
- takeItem(self, row: int) QListWidgetItem | None¶
- visualItemRect(self, item: QListWidgetItem | None) QRect¶
- class populse_mia.user_interface.pipeline_manager.process_library.QMenu(parent: QWidget | None = None)¶
- class populse_mia.user_interface.pipeline_manager.process_library.QMenu(title: str | None, parent: QWidget | None = None)
Bases:
QWidget- aboutToHide¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- aboutToShow¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- addMenu(self, menu: QMenu | None) QAction | None¶
- addMenu(self, title: str | None) QMenu | None
- addMenu(self, icon: QIcon, title: str | None) QMenu | None
- addSection(self, text: str | None) QAction | None¶
- addSection(self, icon: QIcon, text: str | None) QAction | None
- clear(self)¶
- exec(self) QAction | None¶
- exec(self, pos: QPoint, action: QAction | None = None) QAction | None
- exec(actions: Iterable[QAction], pos: QPoint, at: QAction | None = None, parent: QWidget | None = None) QAction | None
- exec_(self) QAction | None¶
- exec_(self, p: QPoint, action: QAction | None = None) QAction | None
- exec_(actions: Iterable[QAction], pos: QPoint, at: QAction | None = None, parent: QWidget | None = None) QAction | None
- hideTearOffMenu(self)¶
- hovered¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- insertSection(self, before: QAction | None, text: str | None) QAction | None¶
- insertSection(self, before: QAction | None, icon: QIcon, text: str | None) QAction | None
- sizeHint(self) QSize¶
- triggered¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- class populse_mia.user_interface.pipeline_manager.process_library.Config(properties_path=None)[source]¶
Bases:
objectObject that handles the configuration of the software
Contains:
Methods:
_configure_matlab_only: Configures MATLAB without SPM
_configure_matlab_spm: Configures SPM and MATLAB
_configure_mcr_only: Configures MCR without SPM
_configure_standalone_spm: Configures standalone SPM and MCR
_disable_matlab_spm: Disables all MATLAB and SPM configurations
get_admin_hash: Get the value of the hash of the admin password
get_afni_path: Returns the path of AFNI
get_ants_path: Returns the path of ANTS
getBackgroundColor: Get background color
get_capsul_config: Get CAPSUL config dictionary
get_capsul_engine: Get a global CapsulEngine object used for all operations in MIA application
getChainCursors: Returns if the “chain cursors” checkbox of the mini-viewer is activated
get_freesurfer_setup: Get freesurfer path
get_fsl_config: Returns the path of the FSL config file
get_mainwindow_maximized: Get the maximized (full-screen) flag
get_mainwindow_size: Get the main window size
get_matlab_command: Returns Matlab command
get_matlab_path: Returns the path of Matlab’s executable
get_matlab_standalone_path: Returns the path of Matlab Compiler Runtime
get_max_projects: Returns the maximum number of projects displayed in the “Saved projects” menu
get_max_thumbnails: Get max thumbnails number at the data browser bottom
get_mri_conv_path: Returns the MRIManager.jar path
get_mrtrix_path: Returns mrtrix path
getNbAllSlicesMax: Returns the maximum number of slices to display in the mini viewer
get_opened_projects: Returns the opened projects
get_projects_save_path: Returns the folder where the projects are saved
get_properties_path: Returns the software’s properties path
get_referential: Returns boolean to indicate DataViewer referential
get_resources_path: Get the resources path
getShowAllSlices: Returns if the “show all slices” checkbox of the mini viewer is activated
getSourceImageDir: Get the source directory for project images
get_spm_path: Returns the path of SPM12 (license version)
get_spm_standalone_path: Returns the path of SPM12 (standalone version)
getTextColor: Return the text color
getThumbnailTag: Returns the tag that is displayed in the mini viewer
get_use_afni: Returns the value of “use afni” checkbox in the preferences
get_use_ants: Returns the value of “use ants” checkbox in the preferences
get_use_clinical: Returns the value of “clinical mode” checkbox in the preferences
get_use_freesurfer: Returns the value of “use freesurfer” checkbox in the preferences
get_use_fsl: Returns the value of “use fsl” checkbox in the preferences
get_use_matlab: Returns the value of “use matlab” checkbox in the preferences
get_use_matlab_standalone: Returns the value of “use matlab standalone” checkbox in the preferences
get_use_mrtrix: Returns the value of “use mrtrix” checkbox in the preferences
get_user_level: Get the user level in the Capsul config
get_user_mode: Returns the value of “user mode” checkbox in the preferences
get_use_spm: Returns the value of “use spm” checkbox in the preferences
get_use_spm_standalone: Returns the value of “use spm standalone” checkbox in the preferences
getViewerConfig: Returns the DataViewer configuration (neuro or radio), by default neuro
getViewerFramerate: Returns the DataViewer framerate for automatic time running images
isAutoSave: Checks if auto-save mode is activated
isControlV1: Checks if the selected display of the controller is of V1 type
isRadioView: Checks if miniviewer in radiological orientation (if not, then it is in neurological orientation)
loadConfig: Reads the config in the config.yml file
saveConfig: Saves the config to the config.yml file
set_admin_hash: Set the password hash
set_afni_path: Set the path of the AFNI
set_ants_path: Set the path of the ANTS
setAutoSave: Sets the auto-save mode
setBackgroundColor: Sets the background color
set_capsul_config: Set CAPSUL configuration dict into MIA config
setChainCursors: Set the “chain cursors” checkbox of the mini viewer
set_clinical_mode: Set the value of “clinical mode” in the preferences
setControlV1: Set controller display mode (True if V1)
set_freesurfer_setup: Set freesurfer path
set_fsl_config: Set the path of the FSL config file
set_mainwindow_maximized: Set the maximized (fullscreen) flag
set_mainwindow_size: Set main window size
set_matlab_path: Set the path of Matlab’s executable
set_matlab_standalone_path: Set the path of Matlab Compiler Runtime
set_max_projects: Set the maximum number of projects displayed in the “Saved projects” menu
set_max_thumbnails: Set max thumbnails number at the data browser bottom
set_mri_conv_path: Set the MRIManager.jar path
set_mrtrix_path: Set the path of mrtrix
setNbAllSlicesMax: Set the maximum number of slices to display in the mini viewer
set_opened_projects: Set the opened projects
set_projects_save_path: Set the folder where the projects are saved
set_radioView: Set the orientation in miniviewer (True for radiological, False for neurological orientation)
set_referential: Set the DataViewer referential
set_resources_path: Set the resources path
setShowAllSlices: Set the “show all slices” checkbox of the mini viewer
setSourceImageDir: Set the source directory for project images
set_spm_path: Set the path of SPM12 (license version)
set_spm_standalone_path: Set the path of SPM12 (standalone version)
setTextColor: Set the text color
setThumbnailTag: Set the tag that is displayed in the mini viewer
set_use_afni: Set the value of “use afni” checkbox in the preferences
set_use_ants: Set the value of “use ants” checkbox in the preferences
set_use_freesurfer: Set the value of “use freesurfer” checkbox in the preferences
set_use_fsl: Set the value of “use fsl” checkbox in the preferences
set_use_matlab: Set the value of “use matlab” checkbox in the preferences
set_use_matlab_standalone: Set the value of “use matlab standalone” checkbox in the preferences
set_use_mrtrix: Set the value of “use mrtrix” checkbox in the preferences
set_user_mode: Set the value of “user mode” checkbox in the preferences
set_use_spm: Set the value of “use spm” checkbox in the preferences
set_use_spm_standalone: Set the value of “use spm standalone” checkbox in the preferences
setViewerConfig: Set the Viewer configuration neuro or radio
setViewerFramerate: Set the Viewer frame rate for automatic running time images
update_capsul_config: Update a global CapsulEngine object used for all operations in MIA application
- capsul_engine = None¶
- __init__(properties_path=None)[source]¶
Initialization of the Config class
- Parameters:
properties_path – (str) If provided, the configuration file will be loaded / saved from the given directory. Otherwise, the regular heuristics will be used to determine the config path. This option allows to use an alternative config directory (for tests for instance).
- _configure_matlab_only(matlab_path: str) None[source]¶
Configures MATLAB without SPM, ensuring that only MATLAB is used.
- Parameters:
matlab_path – (str) The directory path of the MATLAB installation.
- _configure_matlab_spm(spm_dir, matlab_path)[source]¶
Configures SPM to use the specified SPM directory with a MATLAB installation.
- Parameters:
spm_dir – (str) The directory path of the SPM installation.
matlab_path – (str) The directory path of the MATLAB installation.
- _configure_mcr_only(mcr_dir: str) None[source]¶
Configures MATLAB Compiler Runtime (MCR) without SPM, ensuring that only MCR is used.
- Parameters:
mcr_dir – (str) The directory path of the MATLAB Compiler Runtime (MCR).
- _configure_standalone_spm(spm_dir, mcr_dir)[source]¶
Configures standalone SPM to use the specified SPM and MATLAB Compiler Runtime (MCR) directories.
- Parameters:
spm_dir – (str) The directory path of the standalone SPM installation.
mcr_dir – (str) The directory path of the MATLAB Compiler Runtime (MCR).
- _disable_matlab_spm() None[source]¶
Disables all MATLAB and SPM configurations, ensuring that neither MATLAB nor SPM is used.
- get_admin_hash()[source]¶
Retrieves the hashed admin password from the configuration.
- Returns:
The hashed admin password if found in config, False if not present in config.
- getBackgroundColor()[source]¶
Get background color.
- Returns:
(str) Background color, or “” if unknown.
- get_capsul_config(sync_from_engine=True)[source]¶
Retrieve and construct the Capsul configuration dictionary.
This function builds a configuration dictionary for Capsul, incorporating settings for various neuroimaging tools and processing engines. It manages configurations for tools like SPM, FSL, FreeSurfer, MATLAB, AFNI, ANTs, and MRTrix.
The function first retrieves local settings for each tool from the Mia preferences, then constructs the appropriate configuration structure. If requested, it can synchronize the configuration with the current Capsul engine state.
- Parameters:
sync_from_engine – (bool) If True, synchronizes the configuration with the current Capsul engine settings after building the base configuration.
- Returns:
(dict) A nested dictionary containing the complete Capsul configuration, structured with the following main sections:
engine_modules: List of available processing modulesengine: Contains global and environment-specific settings, as well as configurations specific to certain tools (SPM, FSL, etc.)
- Private functions:
_configure_spm: Configure SPM settings.
_configure_tool: Configure various neuroimaging settings (e.g. ‘fsl’, ‘afni’, etc.)
- static get_capsul_engine()[source]¶
Get or create a global CapsulEngine singleton for Mia application operations.
The engine is created only once when first needed (lazy initialization). Subsequent calls return the same instance.
- Returns:
(CapsulEngine) The global CapsulEngine instance.
- getChainCursors()[source]¶
Get the value of the checkbox ‘chain cursor’ in miniviewer.
- Returns:
(bool) Value of the checkbox.
- get_freesurfer_setup()[source]¶
Get the freesurfer path.
- Returns:
(str) Path to freesurfer, or “” if unknown.
- get_fsl_config()[source]¶
Get the FSL config file path.
- Returns:
(str) Path to the fsl/etc/fslconf/fsl.sh file.
- get_mainwindow_maximized()[source]¶
Get the maximized (fullscreen) flag.
- Returns:
(bool) Maximized (fullscreen) flag.
- get_matlab_command()[source]¶
Retrieves the appropriate Matlab command based on the configuration.
- Returns:
(str) The Matlab executable path or None if no path is specified.
- get_matlab_standalone_path()[source]¶
Get the path to matlab compiler runtime.
- Returns:
(str) A path.
- get_max_projects()[source]¶
Retrieves the maximum number of projects displayed in the “Saved projects” menu.
- Returns:
(int) The maximum number of projects. Defaults to 5 if not specified.
- get_max_thumbnails()[source]¶
Retrieves the maximum number of thumbnails displayed in the mini-viewer at the bottom of the data browser.
- Returns:
(int) The maximum number of thumbnails. Defaults to 5 if not specified.
- getNbAllSlicesMax()[source]¶
Get number the maximum number of slices to display in the miniviewer.
- Returns:
(int) Maximum number of slices to display in miniviewer.
- get_properties_path()[source]¶
Retrieves the path to the folder containing the “processes” and “properties” directories of Mia.
The properties path is defined in the configuration_path.yml file, located in ~/.populse_mia.
In user mode, the path is retrieved from the properties_user_path parameter.
In developer mode, the path is retrieved from the properties_dev_path parameter.
If outdated parameters (mia_path, mia_user_path) are found, they are automatically updated in the configuration file.
- Returns:
(str) The absolute path to the properties folder.
- get_referential()[source]¶
Retrieves the chosen referential from the anatomist_2 data viewer.
- Returns:
(str) “0” for World Coordinates, “1” for Image ref.
- getShowAllSlices()[source]¶
Get whether the show_all_slices parameters was enabled or not in the miniviewer.
- Returns:
(bool) True if the show_all_slices parameters was enabled.
- get_spm_standalone_path()[source]¶
Get the path to the SPM12 standalone version.
- Returns:
(str) A path.
- getThumbnailTag()[source]¶
Get the tag of the thumbnail displayed in the miniviewer.
- Returns:
(str) The tag of the thumbnail displayed in miniviewer.
- get_use_afni()[source]¶
Get the value of “use afni” checkbox in the preferences.
- Returns:
(bool) The value of “use afni” checkbox.
- get_use_ants()[source]¶
Get the value of “use ants” checkbox in the preferences.
- Returns:
(bool) The value of “use ants” checkbox.
- get_use_clinical()[source]¶
Get the clinical mode in the preferences.
- Returns:
(bool) The clinical mode.
- get_use_freesurfer()[source]¶
Get the value of “use freesurfer” checkbox in the preferences.
- Returns:
(bool) The value of “use freesurfer” checkbox.
- get_use_fsl()[source]¶
Get the value of “use fsl” checkbox in the preferences.
- Returns:
(bool) The value of “use fsl” checkbox.
- get_use_matlab()[source]¶
Get the value of “use matlab” checkbox in the preferences.
- Returns:
(bool) The value of “use matlab” checkbox.
- get_use_matlab_standalone()[source]¶
Get the value of “use matlab standalone” checkbox in the preferences.
- Returns:
(bool) The value of “use matlab standalone” checkbox.
- get_use_mrtrix()[source]¶
Get the value of “use mrtrix” checkbox in the preferences.
- Returns:
(bool) The value of “use mrtrix” checkbox.
- get_user_level()[source]¶
Get the user level in the Capsul config.
- Returns:
(int) The user level in the Capsul config.
- get_user_mode()[source]¶
Get if user mode is disabled or enabled in the preferences.
- Returns:
(bool) If True, the user mode is enabled.
- get_use_spm()[source]¶
Get the value of “use spm” checkbox in the preferences.
- Returns:
(bool) The value of “use spm” checkbox.
- get_use_spm_standalone()[source]¶
Get the value of “use spm standalone” checkbox in the preferences.
- Returns:
(bool) The value of “use spm standalone” checkbox.
- getViewerConfig()[source]¶
Get the viewer config “neuro” or “radio”, “neuro” by default.
- Returns:
(str) The viewer config (“neuro” or “radio”).
- getViewerFramerate()[source]¶
Get the Viewer framerate.
- Returns:
(str) The Viewer framerat (ex. “5”).
- isAutoSave()[source]¶
Get if the auto-save mode is enabled or not.
- Returns:
(bool) If True, auto-save mode is enabled.
- isControlV1()[source]¶
Gets whether the controller display is of type V1.
- Returns:
(bool) If True, V1 controller display.
- isRadioView()[source]¶
Get if the display in miniviewer is in radiological orientation.
- Returns:
(bool) If True, radiological orientation, otherwise neurological orientation.
- loadConfig()[source]¶
Read the config from config.yml file.
Attempts to read an encrypted YAML configuration file from the properties directory, decrypt it using Fernet encryption, and parse it as YAML.
- Returns:
(dict) Parsed configuration from the YAML file. Returns empty dict if parsing fails.
- saveConfig()[source]¶
Save the current parameters in the config.yml file.
Encrypts and writes the current configuration (self.config) to config.yml using Fernet encryption. Creates the necessary directory structure if it doesn’t exist. After saving, updates the capsul configuration.
- setBackgroundColor(color)[source]¶
Set background color and save configuration.
- Parameters:
color – Color string (‘Black’, ‘Blue’, ‘Green’, ‘Grey’, ‘Orange’, ‘Red’, ‘Yellow’, ‘White’)
- set_capsul_config(capsul_config_dict)[source]¶
Update Mia configuration with Capsul settings and synchronize tools configuration.
Called after editing Capsul config (via File > Mia preferences > Pipeline tab > Edit CAPSUL config) to synchronize Capsul settings with Mia preferences. Configures various neuroimaging tools (AFNI, ANTs, FSL, etc.) based on the Capsul engine configuration.
- Parameters:
capsul_config_dict – Dictionary containing Capsul configuration.
Structure of capsul_config_dict:
{ 'engine': { 'environment_name': {...configuration...} }, 'engine_modules': [...] }
- Private function:
_get_module_config: Extracts module configuration from the global Capsul configuration.
- setChainCursors(chain_cursors)[source]¶
Set the value of the checkbox ‘chain cursor’ in the mini viewer.
- Parameters:
chain_cursors – A boolean.
- set_clinical_mode(clinical_mode)[source]¶
Enable or disable clinical mode.
- Parameters:
clinical_mode – A boolean.
- setControlV1(controlV1)[source]¶
Set controller display mode (True if V1).
- Parameters:
controlV1 – A boolean.
- set_freesurfer_setup(path)[source]¶
Set the freesurfer config file.
- Parameters:
path – (str) Path to freesurfer/FreeSurferEnv.sh.
- set_fsl_config(path)[source]¶
Set the FSL config file.
- Parameters:
path – (str) Path to fsl/etc/fslconf/fsl.sh.
- set_mainwindow_maximized(enabled)[source]¶
Set the maximized (full-screen) flag.
- Parameters:
enabled – A boolean.
- set_matlab_path(path)[source]¶
Set the path of Matlab’s executable.
- Parameters:
path – (str) A path.
- set_matlab_standalone_path(path)[source]¶
Set the path of Matlab Compiler Runtime.
- Parameters:
path – (str) A path.
- set_max_projects(nb_max_projects)[source]¶
Set the maximum number of projects displayed in the “Saved projects” menu.
- Parameters:
nb_max_projects – An integer.
- set_max_thumbnails(nb_max_thumbnails)[source]¶
Set max thumbnails number at the data browser bottom.
- Parameters:
nb_max_thumbnails – An integer.
- setNbAllSlicesMax(nb_slices_max)[source]¶
Set the number of slices to display in the mini-viewer.
- Parameters:
nb_slices_max – (int) Maximum number of slices to display.
- set_opened_projects(new_projects)[source]¶
Set the list of opened projects and saves the modification.
- Parameters:
new_projects – (list[str]) A list of paths.
- set_projects_save_path(path)[source]¶
Set the folder where the projects are saved.
- Parameters:
path – (str) A path.
- set_radioView(radio_view)[source]¶
Set the radiological / neurological orientation in mini viewer.
True for radiological
False for neurological
- Parameters:
radio_view – A boolean.
- set_referential(ref)[source]¶
Set the referential to “image Ref” or “World Coordinates” in anatomist_2 data viewer.
- Parameters:
ref – (str) “0” for World Coordinates, “1” for Image Ref.
- setShowAllSlices(show_all_slices)[source]¶
Set the show_all_slides setting in miniviewer.
- Parameters:
show_all_slices – A boolean.
- setSourceImageDir(source_image_dir)[source]¶
Set the source directory for project images.
- Parameters:
source_image_dir – (str) A path.
- set_spm_standalone_path(path)[source]¶
Set the path of SPM (standalone version).
- Parameters:
path – (str) A path.
- setTextColor(color)[source]¶
Set text color and save configuration.
- Parameters:
color – Color string (‘Black’, ‘Blue’, ‘Green’, ‘Grey’, ‘Orange’, ‘Red’, ‘Yellow’, ‘White’)
- setThumbnailTag(thumbnail_tag)[source]¶
Set the tag that is displayed in the mini-viewer.
- Parameters:
thumbnail_tag – A string.
- set_use_afni(use_afni)[source]¶
Set the value of “use_afni” checkbox in the preferences.
- Parameters:
use_afni – A boolean.
- set_use_ants(use_ants)[source]¶
Set the value of “use_ants” checkbox in the preferences.
- Parameters:
use_ants – A boolean.
- set_use_freesurfer(use_freesurfer)[source]¶
Set the value of “use_freesurfer” checkbox in the preferences.
- Parameters:
use_freesurfer – A boolean.
- set_use_fsl(use_fsl)[source]¶
Set the value of “use_fsl” checkbox in the preferences.
- Parameters:
use_fsl – A boolean.
- set_use_matlab(use_matlab)[source]¶
Set the value of “use matlab” checkbox in the preferences.
- Parameters:
use_matlab – A boolean.
- set_use_matlab_standalone(use_matlab_standalone)[source]¶
Set the value of “use_matlab_standalone” checkbox in the preferences.
- Parameters:
use_matlab – A boolean.
- set_use_mrtrix(use_mrtrix)[source]¶
Set the value of “use_mrtrix” checkbox in the preferences.
- Parameters:
use_mrtrix – A boolean.
- set_use_spm(use_spm)[source]¶
Set the value of “use spm” checkbox in the preferences.
- Parameters:
use_spm – A boolean.
- set_use_spm_standalone(use_spm_standalone)[source]¶
Set the value of “use spm standalone” checkbox in the preferences.
- Parameters:
use_spm_standalone – A boolean.
- setViewerConfig(config_NeuRad)[source]¶
sets user’s configuration neuro or radio for data_viewer.
neuro: neurological
radio: radiological
- Parameters:
config_NeuRad – A string.
- setViewerFramerate(im_sec)[source]¶
sets user’s framerate for data_viewer.
- Parameters:
im_sec – (int) Number of images per second.
- update_capsul_config()[source]¶
Updates the global CapsulEngine object used for all operations in the Mia application.
The CapsulEngine is created once when needed and updated each time the configuration is saved. This method ensures that all necessary engine modules are loaded and configurations are properly imported from the saved settings.
- Returns:
(capsul.engine.CapsulEngine) The updated CapsulEngine object, or None if the engine is not initialized.
- populse_mia.user_interface.pipeline_manager.process_library.verCmp(first_ver, sec_ver, comp)[source]¶
Version comparator.
- Compares two versions according to the specified comparator:
‘eq’: Returns True if the first version is equal to the second.
- ‘sup’: Returns True if the first version is greater than or equal
to the second.
- ‘inf’: Returns True if the first version is less than or equal to
the second.
- Parameters:
(str) (comp) – The first version to compare (e.g., ‘0.13.0’).
(str) – The second version to compare (e.g., ‘0.13.0’).
(str) – The comparator to use (‘sup’, ‘inf’, ‘eq’).
- Returns:
True if the comparison condition is satisfied, False otherwise.
- Contains:
- Private function:
normalise: transform a version of a package to a corresponding list of integer
- class populse_mia.user_interface.pipeline_manager.process_library.DictionaryTreeModel(root, parent=None)[source]¶
Bases:
QAbstractItemModelData model providing a tree structure for an arbitrary dictionary.
This model is designed to represent a dictionary as a tree structure, enabling interaction with the data through a tree view.
- __init__(root, parent=None)[source]¶
Initializes the DictionaryTreeModel with a root node.
- Parameters:
root – The root node of the tree.
“param parent (QObject): The parent object.
- columnCount(parent=None)[source]¶
Returns the number of columns, which is always 1.
- Parameters:
(QModelIndex) (parent) – The parent index (unused in this implementation).
- Return (int):
The number of columns.
- data(index, role)[source]¶
Returns the data stored under the given role for the item at the given index.
- Parameters:
(QModelIndex) (index) – The index of the item.
(Qt.ItemDataRole) (role) – The role of the data to retrieve.
- Returns:
The data stored under the given role, or None if not available.
- flags(index)[source]¶
Get the item flags for the specified index.
- Parameters:
(QModelIndex) (index) – The model index to retrieve flags for.
- Return (Qt.ItemFlags):
The corresponding item flags.
- getNode(index)[source]¶
Retrieves the Node object from the given index.
- Parameters:
(QModelIndex) (index) – The index of the node.
- Returns:
The Node object.
- headerData(section, orientation, role)[source]¶
Returns the data for the given role and section in the header.
- Parameters:
(int) (section) – The section number.
(Qt.Orientation) (orientation) – The orientation of the header (unused in this implementation).
(Qt.ItemDataRole) (role) – The role of the data to retrieve.
- Return (str):
The header data, or None if not available.
- index(row, column, parent)[source]¶
Creates an index for the given row, column, and parent.
- Parameters:
(int) (column) – The row number.
(int) – The column number.
(QModelIndex) (parent) – The parent index.
- Return (QModelIndex):
The created index, or an invalid index if not available.
- insertRows(position, rows, parent=<PyQt5.QtCore.QModelIndex object>)[source]¶
Inserts rows starting from the specified position.
- Parameters:
(int) (rows) – The starting position to insert rows.
(int) – The number of rows to insert.
(QModelIndex) (parent) – The parent index.
- Return (bool):
True if the rows were successfully inserted, False otherwise.
- mimeData(indexes)[source]¶
Generate MIME data for a drag-and-drop operation.
- Parameters:
QModelIndex) (indexes (list of) – The list of model indexes being dragged.
- Return (QMimeData):
A QMimeData object containing serialized node information.
- mimeTypes()[source]¶
Returns the supported MIME types.
- Return (list of str):
A list of supported MIME types.
- parent(index)[source]¶
Returns the parent index for the given index.
- Parameters:
(QModelIndex) (index) – The index of the item.
- Return (QModelIndex):
The parent index, or an invalid index if not available.
- removeRows(position, rows, parent=<PyQt5.QtCore.QModelIndex object>)[source]¶
Removes rows starting from the specified position to position+rows.
- Parameters:
(int) (rows) – The starting position to remove rows.
(int) – The number of rows to remove.
(QModelIndex) (parent) – The parent index.
- Return (bool):
True if all rows were successfully removed, False otherwise.
- rowCount(parent)[source]¶
Returns the number of rows, which corresponds to the number of children.
- Parameters:
(QModelIndex) (parent) – The parent index.
- Return (int):
The number of rows.
- setData(index, value, role=2)[source]¶
Updates the data when the user makes changes.
- Parameters:
(QModelIndex) (index) – The index of the item.
value – The new value to set.
(Qt.ItemDataRole) (role) – The role of the data to set.
- Return (bool):
True if the data was successfully set, False otherwise.
- class populse_mia.user_interface.pipeline_manager.process_library.InstallProcesses(main_window, folder)[source]¶
Bases:
QDialogDialog for installing Python packages from a folder or zip file.
This widget allows users to browse and select a Python package or zip file containing packages, then install them into Populse_MIA.
- process_installed¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- __init__(main_window, folder)[source]¶
Initialize the installation dialog.
- Parameters:
main_window – The main application window
(bool) (folder) – If True, install from folder; if False, install from zip file
- _add_package(proc_dic, module_name)[source]¶
Add a package and its modules to the process tree.
- Parameters:
(dict) (proc_dic) – The process tree dictionary to update.
(str) (module_name) – Name of the module to add.
- Return (dict):
The updated process tree dictionary.
- _change_pattern_in_folder(path, old_pattern, new_pattern)[source]¶
Replace pattern in all Python files within a folder.
- Parameters:
(str) (new_pattern) – Directory path to process.
(str) – Pattern to search for.
(str) – Pattern to replace with.
- _install_new_package(filename, package_name, processes_path)[source]¶
Install a new package.
- Parameters:
(str) (processes_path) – Path to zip file or directory.
(str) – Name of the package to install.
(str) – Target directory for installation.
- _load_process_config(config_path)[source]¶
Load the process configuration from YAML.
- Parameters:
(str) (config_path) – Path to the configuration file.
- Return (dict):
The loaded configuration or empty dict if error.
- _rollback_changes(config_path, original_config, processes_path, package_names, mia_processes_not_found, tmp_folder4MIA)[source]¶
Roll back changes in case of installation failure.
:param : :type : param config_path (str): Path to configuration file. :param : :type : param original_config (dict): Original configuration to restore. :param : :type : param processes_path (str): Path to processes directory. :param : installed. :type : param package_names (list): Names of packages that were being :param : Mia processes backup was made. :type : param mia_processes_not_found (bool): Flag indicating if :param : :type : param tmp_folder4MIA (str): Path to Mia processes backup.
- _show_qmessagebox(message, critical=True)[source]¶
Display an error message box.
- Parameters:
(str) (message) – Message to display
(bool) (critical) – If True, display a critical message box.
- _show_status_message(message)[source]¶
Update status message in the main window.
- Parameters:
(str) (message) – Status message to display
- _update_existing_package(filename, package_name, processes_path)[source]¶
Update an existing package.
- Parameters:
(str) (processes_path) – Path to zip file or directory.
(str) – Name of the package to update.
(str) – Target directory for installation.
- Return (str):
The new package name (with timestamp).
- _validate_input(filename)[source]¶
Validate the input file or directory.
- Parameters:
(str) (filename) – Path to the file or directory.
- Return (bool):
True if valid, False otherwise
- get_filename(folder)[source]¶
Open a file dialog to select the package source.
- Parameters:
(bool) (folder) – If True, opens a directory selection dialog; If False, opens a zip file selection dialog
- install()[source]¶
Install a package from a zip file or a folder.
This method handles the complete installation process: 1. Extracts or copies the package to the processes directory 2. Updates the process dictionary 3. Registers the new package in the configuration
Any exceptions during installation are caught and reported to the user, with automatic rollback of any changes made.
- class populse_mia.user_interface.pipeline_manager.process_library.Node(name, parent=None)[source]¶
Bases:
objectA tree-like structure to manage hierarchical data with parent-child relationships.
This class provides functionality to create and manipulate tree nodes, where each node can have a name, value, parent, and multiple children.
- __init__(name, parent=None)[source]¶
Initialize a new Node instance.
- Parameters:
(str) (name) – The name of the node.
parent – The parent node. If provided, this node is automatically added as a child to the parent. Defaults to None.
- _recurse_dict(d)[source]¶
Recursively build a dictionary representation of the node hierarchy.
- Parameters:
(dict) (d) – The dictionary to populate with the node hierarchy.
- attrs()[source]¶
Get attributes of this node as a dictionary.
- Return (dict):
A dictionary of property names and their values.
- child(row)[source]¶
Get a child node by its index.
- Parameters:
(int) (row) – The index of the child node in the children list.
- Returns:
The child node at the specified index.
- childCount()[source]¶
Get the number of children of this node.
- Return (int):
The number of child nodes.
- data(column)[source]¶
Get data about this node based on the column parameter.
- Parameters:
(int) (column) – 0 for the fully qualified name (including parent names), 1 for the value of this node.
- Return (str):
The requested data (either string path or node value).
- insertChild(position, child)[source]¶
Insert a child node at a specific position.
- Parameters:
(int) (position) – The position at which to insert the child.
child – The child node to insert.
- Return (bool):
True if insertion was successful, False otherwise.
- log(tabLevel=-1)[source]¶
Generate a formatted string representation of the node hierarchy.
- Parameters:
(int) (tabLevel) – The current indentation level. Defaults to -1.
- Retur (str):
A formatted string showing the node hierarchy.
- property name¶
Get the name of this node.
- Return (str):
The name of the node.
- parent()[source]¶
Get the parent of this node.
- Returns:
The parent node or None if this is a root node.
- removeChild(position, child)[source]¶
Remove a child node at the specified position.
- Parameters:
(int) (position) – The position of the child to remove.
child – The child node to remove.
- Return (bool):
True if removal was successful, False otherwise.
- resource()[source]¶
Get resource information for this node.
This method is a placeholder that always returns None.
- Returns:
None
- row()[source]¶
Get the index of this node in its parent’s children list.
- Return (int):
The index of this node in its parent’s children list, or None if this node has no parent.
- setData(column, value)[source]¶
Set the name or value of this node based on the column parameter.
- Parameters:
(int) (column) – 0 to set the name, 1 to set the value.
value – The new name or value to set.
- to_dict(d=None)[source]¶
Convert the node hierarchy to a dictionary.
- Parameters:
(dict) (d) – A dictionary to populate. Defaults to empty dict.
- Return (dict):
A dictionary representation of the node hierarchy.
- to_list()[source]¶
Convert the node hierarchy to a list.
- Return (list):
A list representation of the node hierarchy.
- property value¶
Get the value of this node.
- Returns:
The value of the node.
- class populse_mia.user_interface.pipeline_manager.process_library.PackageLibrary(package_tree, paths)[source]¶
Bases:
QTreeWidgetA tree widget that displays user-added packages and their modules.
This widget allows users to enable or disable packages and modules by checking or unchecking them in the tree view. The tree structure reflects the hierarchical organization of packages and their modules.
- __init__(package_tree, paths)[source]¶
Initialize the PackageLibrary widget.
- Parameters:
(dict) (package_tree) – Hierarchical representation of packages.
(list) (paths) – System paths for importing the packages.
- fill_item(item, value)[source]¶
Recursively populate the tree items.
Traverses the package tree and creates corresponding QTreeWidgetItems with appropriate check states.
- generate_tree()[source]¶
Generate the package tree structure.
Clears the current tree and populates it with items from package_tree. Temporarily disconnects the itemChanged signal to prevent unwanted updates.
- recursive_checks(parent)[source]¶
Propagate check state down to all child items.
When a parent item is checked/unchecked, all its children inherit the same check state.
- Parameters:
(QTreeWidgetItem) (parent) – Parent item whose check state is propagated.
- recursive_checks_from_child(child)[source]¶
Propagate check state up to parent items.
When a child item is checked, its parents are also checked. When a child item is unchecked, its parent is unchecked only if all siblings are also unchecked.
- Parameters:
(QTreeWidgetItem) (child) – Child item whose check state affects parents.
- set_module_view(item, state)[source]¶
Update the module’s enabled/disabled status in the package tree.
Updates the underlying package_tree data structure when an item’s check state changes in the UI.
- Parameters:
(QTreeWidgetItem) (item) – Tree item corresponding to a module.
(Qt.CheckState) (state) – New check state, Qt.Checked or Qt.Unchecked. (Qt.Checked == 2. So if val == 2 -> checkbox is checked, and if val == 0 -> checkbox is not checked)
- update_checks(item, column)[source]¶
“Handle check state changes and propagate them.
When an item’s check state changes, this method ensures the change is properly propagated to children and parent items.
- Parameters:
(QTreeWidgetItem) (item) – Item whose check state changed.
(int) (column) – Column index of the change (should be 0).
- class populse_mia.user_interface.pipeline_manager.process_library.PackageLibraryDialog(mia_main_window=None, parent=None)[source]¶
Bases:
QDialogDialog for managing package library configurations.
This dialog allows users to add, remove, and delete packages from the process library. It provides interfaces for installing packages, updating the package tree, and saving configurations.
- signal_save¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- __init__(mia_main_window=None, parent=None)[source]¶
Initialize the PackageLibraryDialog.
- Parameters:
mia_main_window – Reference to the main application window.
(QWidget) (parent) – Parent widget for the dialog.
- _create_button(text, callback)[source]¶
Create a standardized button.
- Parameters:
(str) (text) – Button text.
(callable) (callback) – Function to call when button is clicked.
- Returns (QPushButton):
Configured button.
- _create_install_buttons()[source]¶
Create buttons for installing processes.
- Return (QHBoxLayout):
Layout with install process buttons.
- _create_line_edit()[source]¶
Create and configure the line edit.
- Return QLineEdit:
Configured line edit for package input.
- _create_list_group(title, list_widget, reset_callback)[source]¶
Create a group box for a list with reset functionality.
- Parameters:
(str) (title) – Group box title.
(QListWidget) (list_widget) – List widget to add to group.
(callable) (reset_callback) – Callback for reset button.
- Return (QGroupBox):
Configured group box with list and reset button.
- _create_list_widget()[source]¶
Create a list widget with extended selection mode.
- Return (QListWidget):
Configured list widget.
- _create_main_layout(install_layout, management_layout, user_mode)[source]¶
Create the main layout for the dialog.
- Parameters:
(QHBoxLayout) (management_layout) – Layout for install buttons.
(QHBoxLayout) – Layout for package management buttons.
(bool) (user_mode) – Whether the application is in user mode.
- Return (QHBoxLayout):
Main layout of the dialog.
- _create_package_management_buttons(user_mode)[source]¶
Create buttons for package management.
- Parameters:
(bool) (user_mode) – Whether the application is in user mode.
- Return (QHBoxLayout):
Layout with package management buttons.
- _create_save_cancel_layout()[source]¶
Create layout for save and cancel buttons.
- Return (QHBoxLayout):
Layout with save and cancel buttons.
- _create_status_label()[source]¶
Create and configure the status label.
- Return (QLabel):
Configured status label.
- add_package(module_name, class_name=None, show_error=False, init_package_tree=False)[source]¶
Add a package and its modules to the package tree with comprehensive module and class discovery.
This method recursively discovers and adds packages, subpackages, and their classes to the package tree. It provides flexible options for package initialization and error handling.
- Parameters:
(str) (class_name) – Fully qualified name of the module to add. Example: ‘myproject.processors’
(str) – Specific class name to focus on during package addition. If provided, only this class or its parent packages will be processed.
(bool) (init_package_tree) – Controls error reporting behavior. If True, displays error messages in a QMessageBox. If False, collects errors silently. Defaults to False.
(bool) – If True, reinitializes the entire package tree before adding the module. Defaults to False.
- Return (List[str] | str):
A list of error messages encountered during package addition, or “No package selected!” if no module name is provided.
- add_package_with_text(package_name=False, update_view=True)[source]¶
Add a package to the Package Library.
This method attempts to add a package or module to the library based on the provided package name. It supports adding packages with or without file extensions, and handles various import scenarios.
- Parameters:
False) (package_name (str |) – Name of the package to add. If False (default), uses the text from the line edit widget.
(bool) (update_view) – Whether to update the package list view. Defaults to True.
- delete_package(index=1, to_delete=None, remove=True, loop=False, from_pipeline_manager=False)[source]¶
Delete a package from the library (admin-only functionality).
This method removes the package from the package library tree, updates the __init__.py file, and deletes the package directory and files if they are empty.
- Parameters:
(int) (index) – Recursive index for navigating modules. Defaults to 1.
(str) (to_delete) – The package/brick to delete (e.g., ‘test.Test’). Defaults to None.
(bool) (from_pipeline_manager) – Whether to remove the brick from the package tree. Defaults to True.
(bool) – Whether to delete silently without confirmation. Defaults to False.
(bool) – Whether deletion is initiated from pipeline manager. Defaults to False.
- Return (list[str]):
A list of deleted packages/bricks.(classes).
- delete_package_with_text(package_name='', update_view=True)[source]¶
Delete a package from the line edit’s text.
- Parameters:
(str) (package_name) – The name of the package to delete. Defaults to the text in the line edit.
(bool) (update_view) – Whether to update the QListWidget after deletion. Defaults to True.
- install_processes_pop_up(from_folder=False)[source]¶
Display the install processes pop-up.
- Parameters:
(bool) (from_folder) – Whether the installation is from a folder. Defaults to False.
- static load_config()[source]¶
Loads and returns the configuration from ‘process_config.yml’.
- Return (dict | {}):
The configuration dictionary if successfully loaded, otherwise None in case of an error.
- remove_package(package)[source]¶
Removes a package from the package tree.
This method attempts to remove the specified package from the package library. If the package is not found, a warning message is displayed. The package tree is updated after a successful removal.
- Parameters:
(str) (package) – The fully qualified module name (e.g., ‘nipype.interfaces.spm’).
- Returns (bool):
True if the package was successfully removed, False if the package was not found or no package was provided.
- remove_package_with_text(package_name='', update_view=True, tree_remove=True)[source]¶
Removes the specified package from the package tree and updates the view accordingly.
- Parameters:
(str) (package_name) – The name of the package to remove. If not provided, the package name is taken from the line edit.
(bool) (tree_remove) – Whether to update the QListWidget view after removal. Defaults to True.
(bool) – Whether to remove the package from the tree. Defaults to True.
- reset_action(itemlist, add)[source]¶
Resets a previous package addition or removal action.
- Parameters:
(QListWidget) (itemlist) – The list widget containing items to reset.
(bool) (add) – If True, resets an addition by removing the package if it exists in the configuration. If False, re-adds the package.
- save(close=True)[source]¶
Saves the package library configuration to process_config.yml.
This method updates the package information from the package library tree and writes it to the configuration file. Optionally, it can close the dialog after saving.
- Parameters:
(bool) (close) – If True, closes the dialog after saving. Defaults to True.
- class populse_mia.user_interface.pipeline_manager.process_library.ProcessLibrary(d, pkg_lib)[source]¶
Bases:
QTreeViewA tree view to display available Capsul’s processes.
- Parameters:
d – dictionary corresponding to the tree (dict)
- item_library_clicked¶
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- __init__(d, pkg_lib)[source]¶
Initialize the ProcessLibrary class.
- Parameters:
(dict) (d) – Dictionary corresponding to the tree.
pkg_lib – An instance of the PackageLibraryDialog class.
- keyPressEvent(event)[source]¶
Handles key press events, specifically the Delete key.
If the Delete key is pressed and the user is not in user mode, the selected package(s) will be deleted from the package library.
- Parameters:
(QKeyEvent) (event) – The key event triggering this handler.
- load_dictionary(d)[source]¶
Load a dictionary into the tree.
- Parameters:
(dict) (d) – Dictionary to load. See the packages attribute in the ProcessLibraryWidget class.
- mousePressEvent(event)[source]¶
Handles mouse press events on the tree view.
If a valid item is clicked, it sets the current index and emits a signal with the selected item’s text. If the right mouse button is pressed, a context menu is displayed, allowing the user to remove or delete a package.
- Parameters:
(QMouseEvent) (event) – The mouse event triggering this handler.
- class populse_mia.user_interface.pipeline_manager.process_library.ProcessLibraryWidget(main_window=None)[source]¶
Bases:
QWidgetWidget that manages the available Capsul’s processes in the software.
- __init__(main_window=None)[source]¶
Initialize the ProcessLibraryWidget.
- Parameters:
main_window – The current main window.
- populse_mia.user_interface.pipeline_manager.process_library.import_file(full_name, path)[source]¶
Import a Python module from a specified file path.
This function dynamically imports a module from a given file path and returns the module object. It does not modify sys.modules.
- Parameters:
(str) (path) – The name of the module to import.
(str) – The file path of the module.
- Returns:
The imported module.
- populse_mia.user_interface.pipeline_manager.process_library.node_structure_from_dict(datadict, parent=None, root_node=None)[source]¶
Construct a hierarchical node structure from a dictionary.
This function converts a nested dictionary into a tree structure suitable for a TreeModel. It processes nodes based on specific conditions and recursively builds the tree.
- Parameters:
(dict) (datadict) – The dictionary to convert into a node structure.
parent – The parent node of the current node. Defaults to None.
root_node – The root node of the tree. Defaults to None.
- Returns:
The root node of the constructed tree.