neurochat.nc_uimerge module

Provides the GUI and functionalities for merging and accumulating graphics.

This module implements UiMerge Class for NeuroChaT.

@author: Md Nurul Islam; islammn at tcd dot ie

class neurochat.nc_uimerge.UiMerge(parent=None)[source]

Bases: PyQt5.QtWidgets.QDialog

Allow for merging graphics files through a UI.

This class invokes a graphical user interface where the user can upload a list of PDF or Postscript files in Excel format or can use a filepicker to manually pick the files to merge in a file or accumulate in a folder.

browse_excel_merge()[source]

Open a dialogue for selecting an Excel list.

The excel list should describe PDF/Postscript files, and this reads the file information.

Parameters:None
Returns:None
merge_files()[source]

Calling this method toggles the UI selection.

Switches between using an Excel list or picking files manually.

Parameters:None
Returns:None
save_in_merge()[source]

Open a dialogue for selecting the file or folder.

The PDF/Postscript files will be merged or accumulated here.

Parameters:None
Returns:None
select_files_merge()[source]

Invoke the UiGetFiles class for manual selection of the files.

Pick the PDF Postscript files for merging or accumulating.

Parameters:None
Returns:None
set_default()[source]

Set up the defaults of the GUI.

Parameters:None
Returns:None
setup_ui()[source]

Set up the GUI elements.

Parameters:None
Returns:None
start()[source]

Execute the merging or accumulating operation.

Parameters:None
Returns:None