#include <PatternDialog.h>
Public Member Functions | |
| PatternDialog (QWidget *parent, DBInterface *pattDBInter) | |
| ~PatternDialog () | |
Private Slots | |
| void | addPattern () |
| void | deletePattern () |
| void | tableHeaderClicked (int colNumber) |
Private Member Functions | |
| void | loadPatternTable () |
| PatternDialog | operator= (const PatternDialog &) |
| PatternDialog (const PatternDialog &) | |
| void | removePatternFromTable (unsigned int patternID) |
Private Attributes | |
| int | descriptionCol |
| DBInterface * | patternDBInterface |
| int | patternIDCol |
| PatternManager * | patternManager |
| QTable * | patternTable |
| int | selectionCol |
Definition at line 39 of file PatternDialog.h.
|
||||||||||||
|
Constructor. Definition at line 41 of file PatternDialog.cpp. References addPattern(), deletePattern(), descriptionCol, loadPatternTable(), patternDBInterface, patternIDCol, patternManager, patternTable, selectionCol, and tableHeaderClicked(). |
|
|
Destructor. Definition at line 128 of file PatternDialog.cpp. References patternManager. |
|
|
Declare copy constructor private so it cannot be used inadvertently. |
|
|
Adds a pattern selected by the user using a file dialog. Definition at line 142 of file PatternDialog.cpp. References PatternManager::addPattern(), loadPatternTable(), patternManager, SpikeStreamMainWindow::reloadPatterns(), SpikeStreamMainWindow::spikeStrMainWin, and SpikeStreamMainWindow::workingDirectory. Referenced by PatternDialog(). |
|
|
Deletes a pattern. Definition at line 190 of file PatternDialog.cpp. References PatternManager::deletePattern(), descriptionCol, patternIDCol, patternManager, patternTable, SpikeStreamMainWindow::reloadPatterns(), removePatternFromTable(), selectionCol, BusyDialog::showDialog(), SpikeStreamMainWindow::spikeStreamApplication, and SpikeStreamMainWindow::spikeStrMainWin. Referenced by PatternDialog(). |
|
|
Loads a table with all the available patterns. Enables a pattern to be assigned to a suitable neuron group before the simulation starts. Definition at line 289 of file PatternDialog.cpp. References patternDBInterface, and patternTable. Referenced by addPattern(), and PatternDialog(). |
|
|
Declare assignment private so it cannot be used inadvertently. |
|
|
Removes the indicated pattern from the table. Definition at line 357 of file PatternDialog.cpp. References patternIDCol, and patternTable. Referenced by deletePattern(). |
|
|
Called when the table header is clicked and selects or deselects all patterns. Definition at line 257 of file PatternDialog.cpp. References patternTable, and selectionCol. Referenced by PatternDialog(). |
|
|
Column containing description of pattern. Definition at line 65 of file PatternDialog.h. Referenced by deletePattern(), and PatternDialog(). |
|
|
Definition at line 55 of file PatternDialog.h. Referenced by loadPatternTable(), and PatternDialog(). |
|
|
Column containing the pattern ID. Definition at line 59 of file PatternDialog.h. Referenced by deletePattern(), PatternDialog(), and removePatternFromTable(). |
|
|
Manager that loads and deletes patterns in the database. Definition at line 68 of file PatternDialog.h. Referenced by addPattern(), deletePattern(), PatternDialog(), and ~PatternDialog(). |
|
|
Definition at line 56 of file PatternDialog.h. Referenced by deletePattern(), loadPatternTable(), PatternDialog(), removePatternFromTable(), and tableHeaderClicked(). |
|
|
Column containing the check boxes for selecting patterns. Definition at line 62 of file PatternDialog.h. Referenced by deletePattern(), PatternDialog(), and tableHeaderClicked(). |
1.4.4