FilePage Class Reference

#include <filepage.h>

List of all members.

Public Slots

void changeCaption ()
void addChannel ()
void removeChannel ()
void slotValidate ()
void mappingChanged (int row, int column)
void propertyModified ()
void initialisationOver ()
void resetModificationStatus ()

Signals

void extensionChanged (const QString &extension, FilePage *filePage)

Public Member Functions

 FilePage (QWidget *parent=0, const char *name=0)
 ~FilePage ()
void setSamplingRate (float rate)
void setExtension (QString extension)
void setChannelMapping (const QMap< int, QValueList< int > > &channels)
QMap< int, QValueList< int > > getChannelMapping () const
float getSamplingRate () const
QString getExtension () const
bool isModified () const

Protected Member Functions

bool eventFilter (QObject *object, QEvent *event)


Detailed Description

Class used to represent a new file created out of the raw data contained in the .dat file.
Author:
Lynn Hazan


Constructor & Destructor Documentation

FilePage::FilePage ( QWidget *  parent = 0,
const char *  name = 0 
)

Constructor.

FilePage::~FilePage (  ) 

Destructor.


Member Function Documentation

void FilePage::setSamplingRate ( float  rate  )  [inline]

Sets the sampling rate.

void FilePage::setExtension ( QString  extension  )  [inline]

Sets the file extension.

void FilePage::setChannelMapping ( const QMap< int, QValueList< int > > &  channels  ) 

Initializes the channel mapping table.

Parameters:
channels map containing the list of original channels for each new channel.

QMap< int, QValueList< int > > FilePage::getChannelMapping (  )  const

Returns the channel mapping.

Returns:
map containing the list of original channels for each new channel.

float FilePage::getSamplingRate (  )  const [inline]

Returns the sampling rate.

QString FilePage::getExtension (  )  const [inline]

Returns the sampling rate.

bool FilePage::isModified (  )  const [inline]

True if at least one property has been modified, false otherwise.

void FilePage::extensionChanged ( const QString &  extension,
FilePage filePage 
) [signal]

Siganls a change in a file extension.

Parameters:
extension the new extension for the current file.
filePage a pointer on the FilePage which has its extension changed.

bool FilePage::eventFilter ( QObject *  object,
QEvent *  event 
) [protected]

Event filter to validate the entries in the mapping table.

Parameters:
object target object for the event.
event event sent.

void FilePage::changeCaption (  )  [inline, slot]

Notifies that the file extension has changed.

void FilePage::addChannel (  )  [slot]

Adds a new line to the mapping table.

void FilePage::removeChannel (  )  [slot]

Removes the selected lines from the mapping table.

void FilePage::slotValidate (  )  [inline, slot]

Validates the current entry in the mapping table.

void FilePage::mappingChanged ( int  row,
int  column 
) [inline, slot]

Validates the current entry in the mapping table.

void FilePage::propertyModified (  )  [inline, slot]

Will be called when any properties is modified.

void FilePage::initialisationOver (  )  [inline, slot]

Indicates that the initialisation is finished.

void FilePage::resetModificationStatus (  )  [inline, slot]

Resets the internal modification status to false.


The documentation for this class was generated from the following files:
Generated on Sat Sep 15 16:04:45 2007 for ndmanager.kdevelop by  doxygen 1.5.1