#include <ConnectionPropertiesDialog.h>
Definition at line 57 of file ConnectionPropertiesDialog.h.
|
||||||||||||||||
|
Constructor used for standard connections that allows user to select the connection type Definition at line 47 of file ConnectionPropertiesDialog.cpp. References connectionType, constructDialog(), dbInterface, editMode, fromNeurGrpID, loadError, parameterError, and toNeurGrpID. |
|
||||||||||||||||||||||||||||
|
Constructor used when creating SIMNOS component connections. In this case the from and to neuron group id are known along with the connection type. In this case this dialog is used to gather remaining information about the connection Definition at line 93 of file ConnectionPropertiesDialog.cpp. References connectionType, constructDialog(), dbInterface, editMode, fromNeurGrpID, loadError, and toNeurGrpID. |
|
|
Destructor Qt widgets created with this as a reference should be deleted automatically. Definition at line 308 of file ConnectionPropertiesDialog.cpp. |
|
|
Declare copy constructor private so it cannot be used inadvertently. |
|
||||||||||||||||
|
Checks the parameters of the connection for inter layer connection types Only need to check this for certain connection topologies. Definition at line 523 of file ConnectionPropertiesDialog.cpp. References dbInterface, fromLayerCombo, fromNeurGrpID, getParameterValue(), setParameterValue(), toLayerCombo, and toNeurGrpID. Referenced by okButtonPressed(). |
|
|
Checks the parametes for intra layer connections. Definition at line 825 of file ConnectionPropertiesDialog.cpp. References getParameterValue(). Referenced by okButtonPressed(). |
|
|
Creates the dialog, either using the supplied neuron group ids or allowing the user to select the neuron group ids and connection type Definition at line 136 of file ConnectionPropertiesDialog.cpp. References connectionType, connectionTypeCombo, connParamTable, dbInterface, DEFAULT_MAX_DELAY, DEFAULT_MIN_DELAY, delayValidator, editMode, fillConnectionTypeCombo_INTRA(), fromLayerCombo, fromLayerLabel, interRadioButt, intraLayerCombo, intraLayerLabel, intraRadioButt, layerRadioStateChanged(), loadLayerNames(), loadParameterTable(), maxDelayText, minDelayText, okButtonPressed(), paramSelectionChanged(), paramValidator, paramValueChanged(), synapseTypeCombo, synapseTypePositionMap, toLayerCombo, and toLayerLabel. Referenced by ConnectionPropertiesDialog(). |
|
|
Fills connection type combo with the connection types appropriate to inter layer connections and sets up the parameter table appropriately. Definition at line 931 of file ConnectionPropertiesDialog.cpp. References connectionTypeCombo, connParamTable, and loadParameterTable(). Referenced by layerRadioStateChanged(). |
|
|
Fills the connection type combo with the connection types appropriate to intra layer connections. Definition at line 954 of file ConnectionPropertiesDialog.cpp. References connectionTypeCombo, connParamTable, and loadParameterTable(). Referenced by constructDialog(), and layerRadioStateChanged(). |
|
|
Returns a connection holder containing all the critical information about a connection group. Definition at line 320 of file ConnectionPropertiesDialog.cpp. References connectionType, ConnectionHolder::connectionType, connectionTypeCombo, editMode, fromLayerCombo, ConnectionHolder::fromLayerID, fromNeurGrpID, getConnectionParameters(), intraLayerCombo, intraRadioButt, ConnectionHolder::maxDelay, maxDelayText, ConnectionHolder::minDelay, minDelayText, ConnectionHolder::paramMap, ConnectionHolder::synapseType, synapseTypeCombo, synapseTypePositionMap, toLayerCombo, ConnectionHolder::toLayerID, and toNeurGrpID. Referenced by ConnectionWidget::createConnections(). |
|
|
Returns a map containing all the connection parameters. Definition at line 362 of file ConnectionPropertiesDialog.cpp. References connectionType, connectionTypeCombo, editMode, and getParameterValue(). Referenced by getConnectionHolder(). |
|
|
Searches through the parameter table to get the latest value of a parameter. Definition at line 975 of file ConnectionPropertiesDialog.cpp. References connParamTable. Referenced by checkConnection_INTER(), checkConnection_INTRA(), and getConnectionParameters(). |
|
|
Sets up dialog depending on whether it is for intra or inter layer connections. Definition at line 386 of file ConnectionPropertiesDialog.cpp. References fillConnectionTypeCombo_INTER(), fillConnectionTypeCombo_INTRA(), fromLayerCombo, fromLayerLabel, interRadioButt, intraLayerCombo, intraLayerLabel, intraRadioButt, toLayerCombo, and toLayerLabel. Referenced by constructDialog(). |
|
|
Loads up the layer names into the combo boxes. Definition at line 996 of file ConnectionPropertiesDialog.cpp. References dbInterface, editMode, fromLayerCombo, fromNeurGrpID, intraLayerCombo, toLayerCombo, and toNeurGrpID. Referenced by constructDialog(). |
|
|
Loads parameter table from parameters specified in ConnectionType These should all be doubles. Definition at line 1032 of file ConnectionPropertiesDialog.cpp. References connParamTable. Referenced by constructDialog(), fillConnectionTypeCombo_INTER(), fillConnectionTypeCombo_INTRA(), paramSelectionChanged(), and paramValueChanged(). |
|
|
Runs checks on parameters and delay, informing the user about any errors and changes. Definition at line 409 of file ConnectionPropertiesDialog.cpp. References checkConnection_INTER(), checkConnection_INTRA(), connectionType, connectionTypeCombo, connParamTable, editMode, ConnectionParameterTable::endAllEditing(), fromLayerCombo, fromNeurGrpID, interRadioButt, intraRadioButt, loadError, maxDelayText, minDelayText, parameterError, toLayerCombo, and toNeurGrpID. Referenced by constructDialog(). |
|
|
Declare assignment private so it cannot be used inadvertently. |
|
|
Changes the parameters displayed in the parameter table depending on the connection type selected. Definition at line 495 of file ConnectionPropertiesDialog.cpp. References connectionTypeCombo, and loadParameterTable(). Referenced by constructDialog(). |
|
||||||||||||
|
When the user edits a parameter in the parameter table this method is called, which checks the new value for errors. Definition at line 503 of file ConnectionPropertiesDialog.cpp. References connectionTypeCombo, connParamTable, loadParameterTable(), parameterError, and paramValidator. Referenced by constructDialog(). |
|
||||||||||||
|
Sets the value of a parameter. Definition at line 1052 of file ConnectionPropertiesDialog.cpp. References connParamTable. Referenced by checkConnection_INTER(). |
|
|
Used in edit mode to hold the type of the connection, defined in ConnectionType.h Definition at line 95 of file ConnectionPropertiesDialog.h. Referenced by ConnectionPropertiesDialog(), constructDialog(), getConnectionHolder(), getConnectionParameters(), and okButtonPressed(). |
|
|
Definition at line 111 of file ConnectionPropertiesDialog.h. Referenced by constructDialog(), fillConnectionTypeCombo_INTER(), fillConnectionTypeCombo_INTRA(), getConnectionHolder(), getConnectionParameters(), okButtonPressed(), paramSelectionChanged(), and paramValueChanged(). |
|
|
Definition at line 114 of file ConnectionPropertiesDialog.h. Referenced by constructDialog(), fillConnectionTypeCombo_INTER(), fillConnectionTypeCombo_INTRA(), getParameterValue(), loadParameterTable(), okButtonPressed(), paramValueChanged(), and setParameterValue(). |
|
|
References to database handling class. Definition at line 78 of file ConnectionPropertiesDialog.h. Referenced by checkConnection_INTER(), ConnectionPropertiesDialog(), constructDialog(), and loadLayerNames(). |
|
|
Validator to check integer input. Definition at line 81 of file ConnectionPropertiesDialog.h. Referenced by constructDialog(). |
|
|
Records whether the from and to neuron groups and connection type has already been determined at the launch of the dialog. Definition at line 91 of file ConnectionPropertiesDialog.h. Referenced by ConnectionPropertiesDialog(), constructDialog(), getConnectionHolder(), getConnectionParameters(), loadLayerNames(), and okButtonPressed(). |
|
|
Definition at line 108 of file ConnectionPropertiesDialog.h. Referenced by checkConnection_INTER(), constructDialog(), getConnectionHolder(), layerRadioStateChanged(), loadLayerNames(), and okButtonPressed(). |
|
|
Definition at line 105 of file ConnectionPropertiesDialog.h. Referenced by constructDialog(), and layerRadioStateChanged(). |
|
|
Used in edit mode to hold the from neuron group. Definition at line 98 of file ConnectionPropertiesDialog.h. Referenced by checkConnection_INTER(), ConnectionPropertiesDialog(), getConnectionHolder(), loadLayerNames(), and okButtonPressed(). |
|
|
Definition at line 112 of file ConnectionPropertiesDialog.h. Referenced by constructDialog(), layerRadioStateChanged(), and okButtonPressed(). |
|
|
Definition at line 107 of file ConnectionPropertiesDialog.h. Referenced by constructDialog(), getConnectionHolder(), layerRadioStateChanged(), and loadLayerNames(). |
|
|
Definition at line 104 of file ConnectionPropertiesDialog.h. Referenced by constructDialog(), and layerRadioStateChanged(). |
|
|
Definition at line 113 of file ConnectionPropertiesDialog.h. Referenced by constructDialog(), getConnectionHolder(), layerRadioStateChanged(), and okButtonPressed(). |
|
|
Records whether there was an error loading the dialog. Definition at line 123 of file ConnectionPropertiesDialog.h. Referenced by ConnectionPropertiesDialog(), and okButtonPressed(). |
|
|
Definition at line 116 of file ConnectionPropertiesDialog.h. Referenced by constructDialog(), getConnectionHolder(), and okButtonPressed(). |
|
|
Definition at line 115 of file ConnectionPropertiesDialog.h. Referenced by constructDialog(), getConnectionHolder(), and okButtonPressed(). |
|
|
Tracks whether an error in the parameters has taken place after the ok button has been pressed. Definition at line 120 of file ConnectionPropertiesDialog.h. Referenced by ConnectionPropertiesDialog(), okButtonPressed(), and paramValueChanged(). |
|
|
Validator to check double input. Definition at line 84 of file ConnectionPropertiesDialog.h. Referenced by constructDialog(), and paramValueChanged(). |
|
|
Definition at line 110 of file ConnectionPropertiesDialog.h. Referenced by constructDialog(), and getConnectionHolder(). |
|
|
Stores link between a combo position and a synapse type ID. Definition at line 87 of file ConnectionPropertiesDialog.h. Referenced by constructDialog(), and getConnectionHolder(). |
|
|
Definition at line 109 of file ConnectionPropertiesDialog.h. Referenced by checkConnection_INTER(), constructDialog(), getConnectionHolder(), layerRadioStateChanged(), loadLayerNames(), and okButtonPressed(). |
|
|
Definition at line 106 of file ConnectionPropertiesDialog.h. Referenced by constructDialog(), and layerRadioStateChanged(). |
|
|
Used in edit mode to hold the to neuron group. Definition at line 101 of file ConnectionPropertiesDialog.h. Referenced by checkConnection_INTER(), ConnectionPropertiesDialog(), getConnectionHolder(), loadLayerNames(), and okButtonPressed(). |
1.4.4