pyporegui.widgets.base_tabs module

class pyporegui.widgets.base_tabs.BaseQSplitter(parent)[source]

Bases: pyporegui._thread_manager._ThreadManager, PySide.QtGui.QSplitter

__init__(parent)[source]
set_on_status_update_callback(callback)[source]

Sets a callback for when the EventFinderTab’s status is updated. The status is a String of information about the current state of the EventFinderTab.

Parameters:callback (MethodType) – Callback method for when the EventFinderTab’s status is updated. This callback must accept one string parameter.
set_process_events_callback(callback)[source]

Sets a callback for when the EventFindingTab requests app.processEvents

Parameters:callback (MethodType) –
staticMetaObject = <PySide.QtCore.QMetaObject object at 0x59cc098>
class pyporegui.widgets.base_tabs.BaseQSplitterDataFile(parent)[source]

Bases: pyporegui.widgets.base_tabs.BaseQSplitter

__init__(parent)[source]
open_data_files(file_names=None)[source]

Analyzes the files for correctness, then adds them to the list widget.

Parameters:file_names (ListType<StringType>) – The file names to be included in the list widget. If not included, this function will use a QtGui.QFileDialog.getOpenFileNames to open files.
Returns:BooleanType – True if files were opened, False otherwise.
staticMetaObject = <PySide.QtCore.QMetaObject object at 0x59cc7a0>