ChannelDescription Class Reference

Class storing the channel color information to be read from or write to a session file. More...

#include <sessionInformation.h>

List of all members.

Public Member Functions

 ChannelDescription (int id, QString color)
void setId (int channelId)
 Sets the channel id.
void setColor (QString colorName)
 Sets the color used to display the channel.
void setGroupColor (QString colorName)
 Sets the group color (anatomical group) for the channel.
void setSpikeGroupColor (QString colorName)
 Sets the spike group color for the channel.
int getId () const
 Gets the channel id.
QColor getColor () const
 Gets the color used to display the channel.
QColor getGroupColor () const
 Gets the group color (anatomical group) for the channel.
QColor getSpikeGroupColor () const
 Gets the spike group color for the channel.
 ChannelDescription (int id, QString color)
void setId (int channelId)
 Sets the channel id.
void setColor (QString colorName)
 Sets the color used to display the channel.
void setGroupColor (QString colorName)
 Sets the group color (anatomical group) for the channel.
void setSpikeGroupColor (QString colorName)
 Sets the spike group color for the channel.
int getId () const
 Gets the channel id.
QColor getColor () const
 Gets the color used to display the channel.
QColor getGroupColor () const
 Gets the group color (anatomical group) for the channel.
QColor getSpikeGroupColor () const
 Gets the spike group color for the channel.


Detailed Description

Class storing the channel color information to be read from or write to a session file.

Author:
Lynn Hazan


Member Function Documentation

void ChannelDescription::setId ( int  channelId  )  [inline]

Sets the channel id.

Parameters:
channelId channel id.

void ChannelDescription::setColor ( QString  colorName  )  [inline]

Sets the color used to display the channel.

Parameters:
colorName name of the color in the format "#RRGGBB".

void ChannelDescription::setGroupColor ( QString  colorName  )  [inline]

Sets the group color (anatomical group) for the channel.

Parameters:
colorName name of the color in the format "#RRGGBB".

void ChannelDescription::setSpikeGroupColor ( QString  colorName  )  [inline]

Sets the spike group color for the channel.

Parameters:
colorName name of the color in the format "#RRGGBB".

int ChannelDescription::getId (  )  const [inline]

Gets the channel id.

Returns:
channel id.

QColor ChannelDescription::getColor (  )  const [inline]

Gets the color used to display the channel.

Returns:
name of the color in the format "#RRGGBB".

QColor ChannelDescription::getGroupColor (  )  const [inline]

Gets the group color (anatomical group) for the channel.

Returns:
name of the color in the format "#RRGGBB".

QColor ChannelDescription::getSpikeGroupColor (  )  const [inline]

Gets the spike group color for the channel.

Returns:
name of the color in the format "#RRGGBB".

void ChannelDescription::setId ( int  channelId  )  [inline]

Sets the channel id.

Parameters:
channelId channel id.

void ChannelDescription::setColor ( QString  colorName  )  [inline]

Sets the color used to display the channel.

Parameters:
colorName name of the color in the format "#RRGGBB".

void ChannelDescription::setGroupColor ( QString  colorName  )  [inline]

Sets the group color (anatomical group) for the channel.

Parameters:
colorName name of the color in the format "#RRGGBB".

void ChannelDescription::setSpikeGroupColor ( QString  colorName  )  [inline]

Sets the spike group color for the channel.

Parameters:
colorName name of the color in the format "#RRGGBB".

int ChannelDescription::getId (  )  const [inline]

Gets the channel id.

Returns:
channel id.

QColor ChannelDescription::getColor (  )  const [inline]

Gets the color used to display the channel.

Returns:
name of the color in the format "#RRGGBB".

QColor ChannelDescription::getGroupColor (  )  const [inline]

Gets the group color (anatomical group) for the channel.

Returns:
name of the color in the format "#RRGGBB".

QColor ChannelDescription::getSpikeGroupColor (  )  const [inline]

Gets the spike group color for the channel.

Returns:
name of the color in the format "#RRGGBB".


The documentation for this class was generated from the following files:
Generated on Mon Sep 17 20:47:31 2007 for NeuroScope by  doxygen 1.5.1