pyporegui.file_items module¶
@author: @parkin
- class pyporegui.file_items.DataFileListItem(filename, params)[source]¶
Bases: pyporegui.file_items.FileListItem
Is a FileListItem with a parameter.
- class pyporegui.file_items.FileListItem(filename)[source]¶
Bases: PySide.QtGui.QListWidgetItem
Subclass of QListWidgetItem to handle file names with long file paths.
- class pyporegui.file_items.FilterListItem(file_names, **params)[source]¶
Bases: PySide.QtGui.QListWidgetItem
Subclass of QListWidgetItem to handle filter list items.
self.params contain the filter parameters specified by the user.
- __init__(file_names, **params)[source]¶
Parameters: - file_names (ListType<String>) – File names that define this FilterListItem.
- params – A dictionary of the parameters for this FilterListItem.
- get_file_name_at(index)[source]¶
Parameters: index (IntType) – Position of the item. Returns: String – Full filename (including path) of the file at index.
- get_file_names()[source]¶
Returns: List – list of the full file names of the files that make up this Item.