#include <channelcolors.h>
Public Member Functions | |
| ChannelColors (int id, QString color) | |
| void | setId (int channelId) |
| void | setColor (QString colorName) |
| void | setGroupColor (QString colorName) |
| void | setSpikeGroupColor (QString colorName) |
| int | getId () const |
| QColor | getColor () const |
| QColor | getGroupColor () const |
| QColor | getSpikeGroupColor () const |
| ChannelColors::ChannelColors | ( | int | id, | |
| QString | color | |||
| ) | [inline] |
Constructor
| id | chanel id. | |
| color | channel color. |
| void ChannelColors::setId | ( | int | channelId | ) | [inline] |
Sets the channel id.
| channelId | channel id. |
| void ChannelColors::setColor | ( | QString | colorName | ) | [inline] |
Sets the color used to display the channel.
| colorName | name of the color in the format "#RRGGBB". |
| void ChannelColors::setGroupColor | ( | QString | colorName | ) | [inline] |
Sets the group color (anatomical group) for the channel.
| colorName | name of the color in the format "#RRGGBB". |
| void ChannelColors::setSpikeGroupColor | ( | QString | colorName | ) | [inline] |
Sets the spike group color for the channel.
| colorName | name of the color in the format "#RRGGBB". |
| int ChannelColors::getId | ( | ) | const [inline] |
Gets the channel id.
| QColor ChannelColors::getColor | ( | ) | const [inline] |
Gets the color used to display the channel.
| QColor ChannelColors::getGroupColor | ( | ) | const [inline] |
Gets the group color (anatomical group) for the channel.
| QColor ChannelColors::getSpikeGroupColor | ( | ) | const [inline] |
Gets the spike group color for the channel.
1.5.1