ChannelColors Class Reference

#include <channelcolors.h>

List of all members.

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


Detailed Description

Class storing the channel color information.
Author:
Lynn Hazan


Constructor & Destructor Documentation

ChannelColors::ChannelColors ( int  id,
QString  color 
) [inline]

Constructor

Parameters:
id chanel id.
color channel color.


Member Function Documentation

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

Sets the channel id.

Parameters:
channelId channel id.

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

Sets the color used to display the channel.

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

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

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

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

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

Sets the spike group color for the channel.

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

int ChannelColors::getId (  )  const [inline]

Gets the channel id.

Returns:
channel id.

QColor ChannelColors::getColor (  )  const [inline]

Gets the color used to display the channel.

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

QColor ChannelColors::getGroupColor (  )  const [inline]

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

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

QColor ChannelColors::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 file:
Generated on Sat Sep 15 16:04:45 2007 for ndmanager.kdevelop by  doxygen 1.5.1