#include <filepage.h>
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) |
| FilePage::FilePage | ( | QWidget * | parent = 0, |
|
| const char * | name = 0 | |||
| ) |
Constructor.
| FilePage::~FilePage | ( | ) |
Destructor.
| 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.
| channels | map containing the list of original channels for each new channel. |
| QMap< int, QValueList< int > > FilePage::getChannelMapping | ( | ) | const |
Returns the channel mapping.
| 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.
| 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.
| 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.
1.5.1