#include <managerview.h>
Public Types | |
enum | returnMessage { OK = 0, NO_KPART = 1, PART_LOADING_ERROR = 2 } |
Public Slots | |
void | konsoleBeingDestroyed () |
void | neuroscopeFileChange (int index) |
Signals | |
void | beingDestroyed () |
void | checkBeforeLaunchingPrograms () |
void | checkBeforeLaunchingScripts () |
Public Member Functions | |
ManagerView (QWidget *parent=0, const char *name=0) | |
returnMessage | addKonsole (const KURL url, int nbSpikeGroups, QValueList< QString > fileExtensions, const QValueList< QString > &scriptNames) |
void | updateSpikeGroupList (int nbGroups) |
void | updateFileList (QValueList< QString > extensions) |
void | updateScriptList (const QValueList< QString > &scriptNames) |
void | updateDocUrl (const KURL url) |
void | updateDocumentInformation (const KURL url, bool isUptoDate) |
Information retun after a call to addKonsole
ManagerView::returnMessage ManagerView::addKonsole | ( | const KURL | url, | |
int | nbSpikeGroups, | |||
QValueList< QString > | fileExtensions, | |||
const QValueList< QString > & | scriptNames | |||
) |
Adds a Konsole and a LauncherPage.
url | url of the currently open parameter file. | |
nbSpikeGroups | number of current spike groups. | |
fileExtensions | list containing the extensions of the all specific files (other than the .dat and .eeg files). | |
scriptNames | list containing the script names. |
void ManagerView::updateSpikeGroupList | ( | int | nbGroups | ) |
Updates the dropdown list containing the spike groups used to launch Klusters.
nbGroups | the new number of spike groups. |
void ManagerView::updateFileList | ( | QValueList< QString > | extensions | ) |
Triggers the update of the dropdown list containing the file extensions.
extensions | list containing the extensions of all the specific files. |
void ManagerView::updateScriptList | ( | const QValueList< QString > & | scriptNames | ) |
Triggers the update of the dropdown list containing the script names.
scriptNames | list containing the script names. |
void ManagerView::updateDocUrl | ( | const KURL | url | ) |
Updates the parameter file url.
url | url of the currently open parameter file. |
void ManagerView::updateDocumentInformation | ( | const KURL | url, | |
bool | isUptoDate | |||
) |
Updates the parameter file information.
url | url of the currently open parameter file. | |
isUptoDate | true if the parameter file is up to date, false if there are unsaved changes. |