Properties Class Reference

Class used to set the properties of the current document. More...

#include <properties.h>

List of all members.

Public Member Functions

 Properties (QWidget *parent=0, const char *name=0)
void setScreenGain (float gain)
 Sets the screen gain in milivolts by centimeters used to display the field potentiels.
void setVoltageRange (int value)
 Sets the voltage range of the acquisition system in milivolts.
void setAmplification (int value)
 Sets the amplification of the acquisition system.
void setNbChannels (int nb)
 Sets the number of channels.
void setSamplingRate (double rate)
 Sets the sampling rate for the current file.
void setAcquisitionSystemSamplingRate (double rate)
 Sets the sampling rate of the acquisition system.
void setOffset (int offset)
 Sets the initial offset for all the field potentials.
void setResolution (int res)
 Sets the resolution of the acquisition system.
void setTraceBackgroundImage (QString image)
 Sets the background image.
float getScreenGain () const
 Returns the screen gain in milivolts by centimeters used to display the field potentiels.
int getVoltageRange () const
 Returns the voltage range of the acquisition system in volts.
int getAmplification () const
 Returns the amplification of the acquisition system.
int getNbChannels () const
 Returns the number of channels.
double getSamplingRate () const
 Returns the sampling rate for the current file.
double getAcquisitionSystemSamplingRate ()
 Returns the sampling rate of the acquisition system.
int getOffset () const
 Returns the initial offset for all the field potentials.
int getResolution () const
 Returns the resolution of the acquisition system.
QString getTraceBackgroundImage () const
 Returns the background image.
void setCurrentSamplingRateEnabled (bool state)
 Sets whether the sampling rate for the current file is enabled.
 Properties (QWidget *parent=0, const char *name=0)
void setScreenGain (float gain)
 Sets the screen gain in milivolts by centimeters used to display the field potentiels.
void setVoltageRange (int value)
 Sets the voltage range of the acquisition system in milivolts.
void setAmplification (int value)
 Sets the amplification of the acquisition system.
void setNbChannels (int nb)
 Sets the number of channels.
void setSamplingRate (double rate)
 Sets the sampling rate for the current file.
void setAcquisitionSystemSamplingRate (double rate)
 Sets the sampling rate of the acquisition system.
void setOffset (int offset)
 Sets the initial offset for all the field potentials.
void setResolution (int res)
 Sets the resolution of the acquisition system.
void setTraceBackgroundImage (QString image)
 Sets the background image.
float getScreenGain () const
 Returns the screen gain in milivolts by centimeters used to display the field potentiels.
int getVoltageRange () const
 Returns the voltage range of the acquisition system in volts.
int getAmplification () const
 Returns the amplification of the acquisition system.
int getNbChannels () const
 Returns the number of channels.
double getSamplingRate () const
 Returns the sampling rate for the current file.
double getAcquisitionSystemSamplingRate ()
 Returns the sampling rate of the acquisition system.
int getOffset () const
 Returns the initial offset for all the field potentials.
int getResolution () const
 Returns the resolution of the acquisition system.
QString getTraceBackgroundImage () const
 Returns the background image.
void setCurrentSamplingRateEnabled (bool state)
 Sets whether the sampling rate for the current file is enabled.


Detailed Description

Class used to set the properties of the current document.

Author:
Lynn Hazan


Member Function Documentation

void Properties::setScreenGain ( float  gain  )  [inline]

Sets the screen gain in milivolts by centimeters used to display the field potentiels.

void Properties::setCurrentSamplingRateEnabled ( bool  state  )  [inline]

Sets whether the sampling rate for the current file is enabled.

Parameters:
state true enable, false otherwise.

void Properties::setScreenGain ( float  gain  )  [inline]

Sets the screen gain in milivolts by centimeters used to display the field potentiels.

void Properties::setCurrentSamplingRateEnabled ( bool  state  )  [inline]

Sets whether the sampling rate for the current file is enabled.

Parameters:
state true enable, false otherwise.


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