MainWindowBase Class Reference

#include <MainWindowBase.h>

Inherited by MainWindow.

Inheritance diagram for MainWindowBase:

Inheritance graph
[legend]
Collaboration diagram for MainWindowBase:

Collaboration graph
[legend]
List of all members.

Detailed Description

The base class for the SV main window.

This includes everything to do with general document and pane stack management, but nothing that involves user interaction -- this doesn't create the widget or menu structures or editing tools, and if a function needs to open a dialog, it shouldn't be in here. This permits "variations on SV" to use different subclasses retaining the same general structure.

Definition at line 69 of file MainWindowBase.h.

Public Types

enum  AudioFileOpenMode { ReplaceMainModel, CreateAdditionalModel, ReplaceCurrentPane, AskUser }
enum  FileOpenStatus { FileOpenSucceeded, FileOpenFailed, FileOpenCancelled, FileOpenWrongMode }

Public Slots

virtual void preferenceChanged (PropertyContainer::PropertyName)

Signals

void canAddPane (bool)
void canDeleteCurrentPane (bool)
void canAddLayer (bool)
void canImportMoreAudio (bool)
void canImportLayer (bool)
void canExportAudio (bool)
void canExportLayer (bool)
void canExportImage (bool)
void canRenameLayer (bool)
void canEditLayer (bool)
void canMeasureLayer (bool)
void canSelect (bool)
void canClearSelection (bool)
void canEditSelection (bool)
void canDeleteSelection (bool)
void canPaste (bool)
void canInsertInstant (bool)
void canInsertInstantsAtBoundaries (bool)
void canRenumberInstants (bool)
void canDeleteCurrentLayer (bool)
void canZoom (bool)
void canScroll (bool)
void canPlay (bool)
void canFfwd (bool)
void canRewind (bool)
void canPlaySelection (bool)
void canSpeedUpPlayback (bool)
void canSlowDownPlayback (bool)
void canChangePlaybackSpeed (bool)
void canSelectPreviousPane (bool)
void canSelectNextPane (bool)
void canSelectPreviousLayer (bool)
void canSelectNextLayer (bool)
void canSave (bool)

Public Member Functions

 MainWindowBase (bool withAudioOutput, bool withOSCSupport)
virtual ~MainWindowBase ()
virtual FileOpenStatus open (QString fileOrUrl, AudioFileOpenMode=AskUser)
virtual FileOpenStatus open (FileSource source, AudioFileOpenMode=AskUser)
virtual FileOpenStatus openAudio (FileSource source, AudioFileOpenMode=AskUser)
virtual FileOpenStatus openPlaylist (FileSource source, AudioFileOpenMode=AskUser)
virtual FileOpenStatus openLayer (FileSource source)
virtual FileOpenStatus openImage (FileSource source)
virtual FileOpenStatus openSessionFile (QString fileOrUrl)
virtual FileOpenStatus openSession (FileSource source)
virtual bool saveSessionFile (QString path)

Protected Slots

virtual void zoomIn ()
virtual void zoomOut ()
virtual void zoomToFit ()
virtual void zoomDefault ()
virtual void scrollLeft ()
virtual void scrollRight ()
virtual void jumpLeft ()
virtual void jumpRight ()
virtual void showNoOverlays ()
virtual void showMinimalOverlays ()
virtual void showStandardOverlays ()
virtual void showAllOverlays ()
virtual void toggleZoomWheels ()
virtual void togglePropertyBoxes ()
virtual void toggleStatusBar ()
virtual void play ()
virtual void ffwd ()
virtual void ffwdEnd ()
virtual void rewind ()
virtual void rewindStart ()
virtual void stop ()
virtual void deleteCurrentPane ()
virtual void deleteCurrentLayer ()
virtual void previousPane ()
virtual void nextPane ()
virtual void previousLayer ()
virtual void nextLayer ()
virtual void playLoopToggled ()
virtual void playSelectionToggled ()
virtual void playSoloToggled ()
virtual void sampleRateMismatch (size_t, size_t, bool)=0
virtual void audioOverloadPluginDisabled ()=0
virtual void playbackFrameChanged (unsigned long)
virtual void globalCentreFrameChanged (unsigned long)
virtual void viewCentreFrameChanged (View *, unsigned long)
virtual void viewZoomLevelChanged (View *, unsigned long, bool)
virtual void outputLevelsChanged (float, float)=0
virtual void currentPaneChanged (Pane *)
virtual void currentLayerChanged (Pane *, Layer *)
virtual void selectAll ()
virtual void selectToStart ()
virtual void selectToEnd ()
virtual void selectVisible ()
virtual void clearSelection ()
virtual void cut ()
virtual void copy ()
virtual void paste ()
virtual void deleteSelected ()
virtual void insertInstant ()
virtual void insertInstantAt (size_t)
virtual void insertInstantsAtBoundaries ()
virtual void renumberInstants ()
virtual void documentModified ()
virtual void documentRestored ()
virtual void layerAdded (Layer *)
virtual void layerRemoved (Layer *)
virtual void layerAboutToBeDeleted (Layer *)
virtual void layerInAView (Layer *, bool)
virtual void mainModelChanged (WaveFileModel *)
virtual void modelAdded (Model *)
virtual void modelAboutToBeDeleted (Model *)
virtual void updateMenuStates ()
virtual void updateDescriptionLabel ()=0
virtual void modelGenerationFailed (QString, QString)=0
virtual void modelGenerationWarning (QString, QString)=0
virtual void modelRegenerationFailed (QString, QString, QString)=0
virtual void modelRegenerationWarning (QString, QString, QString)=0
virtual void alignmentFailed (QString, QString)=0
virtual void rightButtonMenuRequested (Pane *, QPoint point)=0
virtual void paneAdded (Pane *)=0
virtual void paneHidden (Pane *)=0
virtual void paneAboutToBeDeleted (Pane *)=0
virtual void paneDropAccepted (Pane *, QStringList)=0
virtual void paneDropAccepted (Pane *, QString)=0
virtual void paneDeleteButtonClicked (Pane *)
virtual void pollOSC ()
virtual void handleOSCMessage (const OSCMessage &)=0
virtual void contextHelpChanged (const QString &)
virtual void inProgressSelectionChanged ()
virtual void closeSession ()=0

Protected Member Functions

WaveFileModelgetMainModel ()
const WaveFileModelgetMainModel () const
void createDocument ()
PaneaddPaneToStack ()
LayergetSnapLayer () const
virtual bool checkSaveModified ()=0
virtual QString getOpenFileName (FileFinder::FileType type)
virtual QString getSaveFileName (FileFinder::FileType type)
virtual void registerLastOpenedFilePath (FileFinder::FileType type, QString path)
virtual void createPlayTarget ()
virtual void openHelpUrl (QString url)
virtual void setupMenus ()=0
virtual void updateVisibleRangeDisplay (Pane *p) const=0
virtual void toXml (QTextStream &stream)

Protected Attributes

QString m_sessionFile
QString m_audioFile
Documentm_document
QLabel * m_descriptionLabel
PaneStackm_paneStack
ViewManagerm_viewManager
Layerm_timeRulerLayer
bool m_audioOutput
AudioCallbackPlaySourcem_playSource
AudioCallbackPlayTargetm_playTarget
OSCQueuem_oscQueue
RecentFiles m_recentFiles
RecentFiles m_recentTransforms
bool m_documentModified
bool m_openingAudioFile
bool m_abandoning
Labellerm_labeller
int m_lastPlayStatusSec
QString m_myStatusMessage
bool m_initialDarkBackground

Classes

class  AddPaneCommand
class  PaneCallback
class  RemovePaneCommand


Member Enumeration Documentation

enum MainWindowBase::AudioFileOpenMode

Enumerator:
ReplaceMainModel 
CreateAdditionalModel 
ReplaceCurrentPane 
AskUser 

Definition at line 77 of file MainWindowBase.h.

enum MainWindowBase::FileOpenStatus

Enumerator:
FileOpenSucceeded 
FileOpenFailed 
FileOpenCancelled 
FileOpenWrongMode 

Definition at line 84 of file MainWindowBase.h.


Constructor & Destructor Documentation

MainWindowBase::MainWindowBase ( bool  withAudioOutput,
bool  withOSCSupport 
)

Definition at line 98 of file MainWindowBase.cpp.

References audioOverloadPluginDisabled(), Preferences::BackgroundFromTheme, contextHelpChanged(), currentLayerChanged(), currentPaneChanged(), Preferences::DarkBackground, documentModified(), documentRestored(), Preferences::getBackgroundMode(), ViewManager::getGlobalDarkBackground(), Preferences::getInstance(), CommandHistory::getInstance(), globalCentreFrameChanged(), inProgressSelectionChanged(), OSCQueue::isOK(), m_initialDarkBackground, m_labeller, m_oscQueue, m_paneStack, m_playSource, m_viewManager, outputLevelsChanged(), paneAboutToBeDeleted(), paneAdded(), paneDeleteButtonClicked(), paneDropAccepted(), paneHidden(), playbackFrameChanged(), pollOSC(), preferenceChanged(), rightButtonMenuRequested(), sampleRateMismatch(), Labeller::setCounterCycleSize(), ViewManager::setGlobalDarkBackground(), updateMenuStates(), Labeller::ValueFromTwoLevelCounter, viewCentreFrameChanged(), and viewZoomLevelChanged().

MainWindowBase::~MainWindowBase (  )  [virtual]

Definition at line 202 of file MainWindowBase.cpp.

References Profiles::dump(), Profiles::getInstance(), m_oscQueue, m_playSource, m_playTarget, m_viewManager, and AudioCallbackPlayTarget::shutdown().


Member Function Documentation

MainWindowBase::FileOpenStatus MainWindowBase::open ( QString  fileOrUrl,
AudioFileOpenMode  = AskUser 
) [virtual]

Definition at line 807 of file MainWindowBase.cpp.

References FileSource::ProgressDialog.

Referenced by MainWindow::handleOSCMessage(), MainWindow::openLocation(), MainWindow::openRecentFile(), MainWindow::openSomething(), and MainWindow::paneDropAccepted().

MainWindowBase::FileOpenStatus MainWindowBase::open ( FileSource  source,
AudioFileOpenMode  = AskUser 
) [virtual]

Definition at line 813 of file MainWindowBase.cpp.

References canImportLayer(), FileOpenFailed, FileOpenWrongMode, PaneStack::getCurrentPane(), getMainModel(), FileSource::isAvailable(), m_paneStack, openAudio(), openImage(), openLayer(), openPlaylist(), openSession(), and FileSource::waitForData().

MainWindowBase::FileOpenStatus MainWindowBase::openAudio ( FileSource  source,
AudioFileOpenMode  = AskUser 
) [virtual]

Definition at line 842 of file MainWindowBase.cpp.

References CommandHistory::addCommand(), RecentFiles::addFile(), Document::addImportedModel(), Document::addLayerToView(), PlayParameterRepository::addModel(), AskUser, FileFinder::AudioFile, CommandHistory::clear(), CreateAdditionalModel, Document::createImportedLayer(), currentPaneChanged(), documentModified(), CommandHistory::documentSaved(), CommandHistory::endCompoundOperation(), FileOpenCancelled, FileOpenFailed, FileOpenSucceeded, PaneStack::getCurrentPane(), CommandHistory::getInstance(), PlayParameterRepository::getInstance(), Preferences::getInstance(), ListInputDialog::getItem(), View::getLayer(), View::getLayerCount(), FileSource::getLocalFilename(), FileSource::getLocation(), getMainModel(), View::getModels(), MainWindowBase::AddPaneCommand::getPane(), AudioCallbackPlaySource::getSourceSampleRate(), FileSource::isAvailable(), WaveFileModel::isOK(), FileSource::isRemote(), m_audioFile, m_document, m_documentModified, m_openingAudioFile, m_paneStack, m_playSource, m_recentFiles, m_sessionFile, m_timeRulerLayer, registerLastOpenedFilePath(), Document::removeLayerFromView(), PlayParameterRepository::removeModel(), AudioCallbackPlaySource::removeModel(), ReplaceCurrentPane, ReplaceMainModel, Document::setMainModel(), setupMenus(), CommandHistory::startCompoundOperation(), updateMenuStates(), and FileSource::waitForData().

Referenced by MainWindow::importAudio(), MainWindow::importMoreAudio(), open(), and openPlaylist().

MainWindowBase::FileOpenStatus MainWindowBase::openPlaylist ( FileSource  source,
AudioFileOpenMode  = AskUser 
) [virtual]

Definition at line 1031 of file MainWindowBase.cpp.

References CreateAdditionalModel, FileOpenCancelled, FileOpenFailed, FileOpenSucceeded, FileSource::getExtension(), FileSource::getLocalFilename(), PlaylistFileReader::getSupportedExtensions(), FileSource::isAvailable(), openAudio(), FileSource::ProgressDialog, and FileSource::waitForData().

Referenced by open().

MainWindowBase::FileOpenStatus MainWindowBase::openLayer ( FileSource  source  )  [virtual]

Definition at line 1069 of file MainWindowBase.cpp.

References RecentFiles::addFile(), Document::addLayerToView(), Document::createImportedLayer(), FileOpenCancelled, FileOpenFailed, FileOpenSucceeded, FileOpenWrongMode, PaneStack::getCurrentPane(), FileSource::getExtension(), FileSource::getLocalFilename(), FileSource::getLocation(), getMainModel(), DataFileReaderFactory::ImportCancelled, FileSource::isAvailable(), FileSource::isRemote(), FileFinder::LayerFile, DataFileReaderFactory::load(), m_document, m_paneStack, m_recentFiles, modelRegenerationFailed(), modelRegenerationWarning(), registerLastOpenedFilePath(), PaneStack::setCurrentLayer(), and FileSource::waitForData().

Referenced by MainWindow::importLayer(), and open().

MainWindowBase::FileOpenStatus MainWindowBase::openImage ( FileSource  source  )  [virtual]

Definition at line 1170 of file MainWindowBase.cpp.

References ImageLayer::addImage(), Document::addLayerToView(), Document::createEmptyLayer(), Document::deleteLayer(), FileOpenFailed, FileOpenSucceeded, FileOpenWrongMode, PaneStack::getCurrentPane(), ViewManager::getGlobalCentreFrame(), View::getLayer(), View::getLayerCount(), FileSource::getLocation(), Document::getMainModel(), View::getSelectedLayer(), LayerFactory::Image, m_document, m_paneStack, m_viewManager, and PaneStack::setCurrentLayer().

Referenced by open().

MainWindowBase::FileOpenStatus MainWindowBase::openSessionFile ( QString  fileOrUrl  )  [virtual]

Definition at line 1220 of file MainWindowBase.cpp.

References openSession(), and FileSource::ProgressDialog.

Referenced by MainWindow::openSession().

MainWindowBase::FileOpenStatus MainWindowBase::openSession ( FileSource  source  )  [virtual]

Definition at line 1226 of file MainWindowBase.cpp.

References RecentFiles::addFile(), checkSaveModified(), CommandHistory::clear(), ViewManager::clearSelections(), closeSession(), createDocument(), CommandHistory::documentSaved(), FileOpenCancelled, FileOpenFailed, FileOpenSucceeded, FileSource::getExtension(), CommandHistory::getInstance(), FileSource::getLocalFilename(), FileSource::getLocation(), FileSource::isAvailable(), FileSource::isRemote(), m_document, m_documentModified, m_recentFiles, m_sessionFile, m_viewManager, modelRegenerationFailed(), modelRegenerationWarning(), registerLastOpenedFilePath(), FileFinder::SessionFile, setupMenus(), updateMenuStates(), and FileSource::waitForData().

Referenced by open(), and openSessionFile().

bool MainWindowBase::saveSessionFile ( QString  path  )  [virtual]

Definition at line 1354 of file MainWindowBase.cpp.

References BZipFileDevice::close(), BZipFileDevice::isOK(), BZipFileDevice::open(), and toXml().

Referenced by MainWindow::commitData(), MainWindow::handleOSCMessage(), MainWindow::saveSession(), and MainWindow::saveSessionAs().

void MainWindowBase::canAddPane ( bool   )  [signal]

Referenced by MainWindow::setupPaneAndLayerMenus(), and updateMenuStates().

void MainWindowBase::canDeleteCurrentPane ( bool   )  [signal]

Referenced by MainWindow::setupPaneAndLayerMenus(), and updateMenuStates().

void MainWindowBase::canAddLayer ( bool   )  [signal]

Referenced by MainWindow::setupExistingLayersMenus(), MainWindow::setupPaneAndLayerMenus(), MainWindow::setupTransformsMenu(), and updateMenuStates().

void MainWindowBase::canImportMoreAudio ( bool   )  [signal]

Referenced by MainWindow::setupFileMenu(), and updateMenuStates().

void MainWindowBase::canImportLayer ( bool   )  [signal]

Referenced by open(), MainWindow::setupFileMenu(), and updateMenuStates().

void MainWindowBase::canExportAudio ( bool   )  [signal]

Referenced by MainWindow::setupFileMenu(), and updateMenuStates().

void MainWindowBase::canExportLayer ( bool   )  [signal]

Referenced by MainWindow::setupFileMenu(), and updateMenuStates().

void MainWindowBase::canExportImage ( bool   )  [signal]

Referenced by MainWindow::setupFileMenu(), and updateMenuStates().

void MainWindowBase::canRenameLayer ( bool   )  [signal]

Referenced by MainWindow::setupPaneAndLayerMenus(), and updateMenuStates().

void MainWindowBase::canEditLayer ( bool   )  [signal]

Referenced by MainWindow::setupToolbars(), and updateMenuStates().

void MainWindowBase::canMeasureLayer ( bool   )  [signal]

Referenced by MainWindow::setupToolbars(), and updateMenuStates().

void MainWindowBase::canSelect ( bool   )  [signal]

Referenced by MainWindow::setupEditMenu(), and updateMenuStates().

void MainWindowBase::canClearSelection ( bool   )  [signal]

Referenced by MainWindow::setupEditMenu(), and updateMenuStates().

void MainWindowBase::canEditSelection ( bool   )  [signal]

Referenced by MainWindow::setupEditMenu(), and updateMenuStates().

void MainWindowBase::canDeleteSelection ( bool   )  [signal]

Referenced by MainWindow::setupEditMenu(), and MainWindow::updateMenuStates().

void MainWindowBase::canPaste ( bool   )  [signal]

Referenced by MainWindow::setupEditMenu(), and updateMenuStates().

void MainWindowBase::canInsertInstant ( bool   )  [signal]

Referenced by MainWindow::setupEditMenu(), and updateMenuStates().

void MainWindowBase::canInsertInstantsAtBoundaries ( bool   )  [signal]

Referenced by MainWindow::setupEditMenu(), and updateMenuStates().

void MainWindowBase::canRenumberInstants ( bool   )  [signal]

Referenced by MainWindow::setupEditMenu(), and updateMenuStates().

void MainWindowBase::canDeleteCurrentLayer ( bool   )  [signal]

Referenced by MainWindow::setupPaneAndLayerMenus(), and updateMenuStates().

void MainWindowBase::canZoom ( bool   )  [signal]

Referenced by MainWindow::setupViewMenu(), and updateMenuStates().

void MainWindowBase::canScroll ( bool   )  [signal]

Referenced by MainWindow::setupViewMenu(), and updateMenuStates().

void MainWindowBase::canPlay ( bool   )  [signal]

Referenced by MainWindow::setupToolbars(), and updateMenuStates().

void MainWindowBase::canFfwd ( bool   )  [signal]

Referenced by MainWindow::setupToolbars(), and updateMenuStates().

void MainWindowBase::canRewind ( bool   )  [signal]

Referenced by MainWindow::setupToolbars(), and updateMenuStates().

void MainWindowBase::canPlaySelection ( bool   )  [signal]

Referenced by MainWindow::setupToolbars(), and updateMenuStates().

void MainWindowBase::canSpeedUpPlayback ( bool   )  [signal]

Referenced by MainWindow::setupToolbars(), and MainWindow::updateMenuStates().

void MainWindowBase::canSlowDownPlayback ( bool   )  [signal]

Referenced by MainWindow::setupToolbars(), and MainWindow::updateMenuStates().

void MainWindowBase::canChangePlaybackSpeed ( bool   )  [signal]

Referenced by MainWindow::setupToolbars(), and MainWindow::updateMenuStates().

void MainWindowBase::canSelectPreviousPane ( bool   )  [signal]

Referenced by MainWindow::setupPaneAndLayerMenus(), and updateMenuStates().

void MainWindowBase::canSelectNextPane ( bool   )  [signal]

Referenced by MainWindow::setupPaneAndLayerMenus(), and updateMenuStates().

void MainWindowBase::canSelectPreviousLayer ( bool   )  [signal]

Referenced by updateMenuStates().

void MainWindowBase::canSelectNextLayer ( bool   )  [signal]

Referenced by updateMenuStates().

void MainWindowBase::canSave ( bool   )  [signal]

Referenced by MainWindow::setupFileMenu(), and updateMenuStates().

void MainWindowBase::preferenceChanged ( PropertyContainer::PropertyName   )  [virtual, slot]

Reimplemented in MainWindow.

Definition at line 1567 of file MainWindowBase.cpp.

References Preferences::BackgroundFromTheme, Preferences::DarkBackground, Preferences::getBackgroundMode(), Preferences::getInstance(), PaneStack::getLayoutStyle(), m_initialDarkBackground, m_paneStack, m_viewManager, PaneStack::NoPropertyStacks, PaneStack::PropertyStackPerPaneLayout, ViewManager::setGlobalDarkBackground(), PaneStack::setLayoutStyle(), PaneStack::SinglePropertyStackLayout, and Preferences::VerticallyStacked.

Referenced by MainWindowBase(), and MainWindow::preferenceChanged().

void MainWindowBase::zoomIn (  )  [protected, virtual, slot]

Definition at line 1426 of file MainWindowBase.cpp.

References PaneStack::getCurrentPane(), m_paneStack, and View::zoom().

Referenced by MainWindow::handleOSCMessage(), and MainWindow::setupViewMenu().

void MainWindowBase::zoomOut (  )  [protected, virtual, slot]

Definition at line 1433 of file MainWindowBase.cpp.

References PaneStack::getCurrentPane(), m_paneStack, and View::zoom().

Referenced by MainWindow::handleOSCMessage(), and MainWindow::setupViewMenu().

void MainWindowBase::zoomToFit (  )  [protected, virtual, slot]

Definition at line 1440 of file MainWindowBase.cpp.

References PaneStack::getCurrentPane(), Model::getEndFrame(), getMainModel(), AudioCallbackPlaySource::getPlayEndFrame(), Model::getStartFrame(), Pane::getVerticalScaleWidth(), m_paneStack, m_playSource, View::setCentreFrame(), and View::setZoomLevel().

Referenced by MainWindow::setupViewMenu().

void MainWindowBase::zoomDefault (  )  [protected, virtual, slot]

Definition at line 1465 of file MainWindowBase.cpp.

References PaneStack::getCurrentPane(), m_paneStack, and View::setZoomLevel().

Referenced by MainWindow::handleOSCMessage(), and MainWindow::setupViewMenu().

void MainWindowBase::scrollLeft (  )  [protected, virtual, slot]

Definition at line 1472 of file MainWindowBase.cpp.

References PaneStack::getCurrentPane(), m_paneStack, and View::scroll().

Referenced by MainWindow::setupViewMenu().

void MainWindowBase::scrollRight (  )  [protected, virtual, slot]

Definition at line 1486 of file MainWindowBase.cpp.

References PaneStack::getCurrentPane(), m_paneStack, and View::scroll().

Referenced by MainWindow::setupViewMenu().

void MainWindowBase::jumpLeft (  )  [protected, virtual, slot]

Definition at line 1479 of file MainWindowBase.cpp.

References PaneStack::getCurrentPane(), m_paneStack, and View::scroll().

Referenced by MainWindow::setupViewMenu().

void MainWindowBase::jumpRight (  )  [protected, virtual, slot]

Definition at line 1493 of file MainWindowBase.cpp.

References PaneStack::getCurrentPane(), m_paneStack, and View::scroll().

Referenced by MainWindow::setupViewMenu().

void MainWindowBase::showNoOverlays (  )  [protected, virtual, slot]

Definition at line 1500 of file MainWindowBase.cpp.

References m_viewManager, ViewManager::NoOverlays, and ViewManager::setOverlayMode().

Referenced by MainWindow::setupViewMenu().

void MainWindowBase::showMinimalOverlays (  )  [protected, virtual, slot]

Definition at line 1506 of file MainWindowBase.cpp.

References m_viewManager, ViewManager::MinimalOverlays, and ViewManager::setOverlayMode().

Referenced by MainWindow::setupViewMenu().

void MainWindowBase::showStandardOverlays (  )  [protected, virtual, slot]

Definition at line 1512 of file MainWindowBase.cpp.

References m_viewManager, ViewManager::setOverlayMode(), and ViewManager::StandardOverlays.

Referenced by MainWindow::setupViewMenu().

void MainWindowBase::showAllOverlays (  )  [protected, virtual, slot]

Definition at line 1518 of file MainWindowBase.cpp.

References ViewManager::AllOverlays, m_viewManager, and ViewManager::setOverlayMode().

Referenced by MainWindow::setupViewMenu().

void MainWindowBase::toggleZoomWheels (  )  [protected, virtual, slot]

Definition at line 1524 of file MainWindowBase.cpp.

References ViewManager::getZoomWheelsEnabled(), m_viewManager, and ViewManager::setZoomWheelsEnabled().

Referenced by MainWindow::setupViewMenu().

void MainWindowBase::togglePropertyBoxes (  )  [protected, virtual, slot]

Definition at line 1534 of file MainWindowBase.cpp.

References Preferences::getInstance(), PaneStack::getLayoutStyle(), m_paneStack, PaneStack::NoPropertyStacks, PaneStack::PropertyStackPerPaneLayout, PaneStack::setLayoutStyle(), PaneStack::SinglePropertyStackLayout, and Preferences::VerticallyStacked.

Referenced by MainWindow::handleOSCMessage(), and MainWindow::setupViewMenu().

void MainWindowBase::toggleStatusBar (  )  [protected, virtual, slot]

Definition at line 1549 of file MainWindowBase.cpp.

Referenced by MainWindow::setupViewMenu().

void MainWindowBase::play (  )  [protected, virtual, slot]

Definition at line 1592 of file MainWindowBase.cpp.

References ViewManager::getPlaybackFrame(), AudioCallbackPlaySource::isPlaying(), m_playSource, m_viewManager, AudioCallbackPlaySource::play(), playbackFrameChanged(), and stop().

Referenced by MainWindow::handleOSCMessage(), and MainWindow::setupToolbars().

void MainWindowBase::ffwd (  )  [protected, virtual, slot]

Definition at line 1603 of file MainWindowBase.cpp.

References View::alignToReference(), ViewManager::constrainFrameToSelection(), RealTime::frame2RealTime(), PaneStack::getCurrentPane(), WaveFileModel::getEndFrame(), getMainModel(), ViewManager::getPlaybackFrame(), ViewManager::getPlaySelectionMode(), WaveFileModel::getSampleRate(), getSnapLayer(), m_paneStack, m_viewManager, RealTime::realTime2Frame(), ViewManager::setPlaybackFrame(), Layer::SnapRight, and Layer::snapToFeatureFrame().

Referenced by MainWindow::setupToolbars().

void MainWindowBase::ffwdEnd (  )  [protected, virtual, slot]

Definition at line 1643 of file MainWindowBase.cpp.

References ViewManager::constrainFrameToSelection(), WaveFileModel::getEndFrame(), getMainModel(), ViewManager::getPlaySelectionMode(), m_viewManager, and ViewManager::setPlaybackFrame().

Referenced by MainWindow::setupToolbars().

void MainWindowBase::rewind (  )  [protected, virtual, slot]

Definition at line 1657 of file MainWindowBase.cpp.

References View::alignToReference(), ViewManager::constrainFrameToSelection(), RealTime::frame2RealTime(), RealTime::fromSeconds(), PaneStack::getCurrentPane(), getMainModel(), ViewManager::getPlaybackFrame(), ViewManager::getPlaySelectionMode(), WaveFileModel::getSampleRate(), getSnapLayer(), WaveFileModel::getStartFrame(), AudioCallbackPlaySource::isPlaying(), m_paneStack, m_playSource, m_viewManager, RealTime::realTime2Frame(), ViewManager::setPlaybackFrame(), Layer::SnapLeft, Layer::snapToFeatureFrame(), and RealTime::zeroTime.

Referenced by MainWindow::setupToolbars().

void MainWindowBase::rewindStart (  )  [protected, virtual, slot]

Definition at line 1710 of file MainWindowBase.cpp.

References ViewManager::constrainFrameToSelection(), getMainModel(), ViewManager::getPlaySelectionMode(), WaveFileModel::getStartFrame(), m_viewManager, and ViewManager::setPlaybackFrame().

Referenced by MainWindow::setupToolbars().

void MainWindowBase::stop (  )  [protected, virtual, slot]

Definition at line 1750 of file MainWindowBase.cpp.

References PaneStack::getCurrentPane(), m_myStatusMessage, m_paneStack, m_playSource, AudioCallbackPlaySource::stop(), and updateVisibleRangeDisplay().

Referenced by play().

void MainWindowBase::deleteCurrentPane (  )  [protected, virtual, slot]

Definition at line 1845 of file MainWindowBase.cpp.

References CommandHistory::addCommand(), CommandHistory::endCompoundOperation(), PaneStack::getCurrentPane(), CommandHistory::getInstance(), View::getLayer(), View::getLayerCount(), m_document, m_paneStack, Document::removeLayerFromView(), CommandHistory::startCompoundOperation(), and updateMenuStates().

Referenced by MainWindow::handleOSCMessage(), and MainWindow::setupPaneAndLayerMenus().

void MainWindowBase::deleteCurrentLayer (  )  [protected, virtual, slot]

Definition at line 1871 of file MainWindowBase.cpp.

References PaneStack::getCurrentPane(), View::getSelectedLayer(), m_document, m_paneStack, Document::removeLayerFromView(), and updateMenuStates().

Referenced by MainWindow::handleOSCMessage(), and MainWindow::setupPaneAndLayerMenus().

void MainWindowBase::previousPane (  )  [protected, virtual, slot]

Definition at line 1884 of file MainWindowBase.cpp.

References PaneStack::getCurrentPane(), PaneStack::getPane(), PaneStack::getPaneCount(), m_paneStack, PaneStack::setCurrentPane(), and updateMenuStates().

Referenced by MainWindow::setupPaneAndLayerMenus().

void MainWindowBase::nextPane (  )  [protected, virtual, slot]

Definition at line 1902 of file MainWindowBase.cpp.

References PaneStack::getCurrentPane(), PaneStack::getPane(), PaneStack::getPaneCount(), m_paneStack, PaneStack::setCurrentPane(), and updateMenuStates().

Referenced by MainWindow::setupPaneAndLayerMenus().

void MainWindowBase::previousLayer (  )  [protected, virtual, slot]

Definition at line 1920 of file MainWindowBase.cpp.

References PaneStack::getCurrentPane(), View::getLayer(), View::getLayerCount(), View::getSelectedLayer(), m_paneStack, PaneStack::setCurrentLayer(), and updateMenuStates().

void MainWindowBase::nextLayer (  )  [protected, virtual, slot]

Definition at line 1944 of file MainWindowBase.cpp.

References PaneStack::getCurrentPane(), View::getLayer(), View::getLayerCount(), View::getSelectedLayer(), m_paneStack, PaneStack::setCurrentLayer(), and updateMenuStates().

void MainWindowBase::playLoopToggled (  )  [protected, virtual, slot]

Definition at line 392 of file MainWindowBase.cpp.

References ViewManager::getPlayLoopMode(), m_viewManager, and ViewManager::setPlayLoopMode().

Referenced by MainWindow::setupToolbars().

void MainWindowBase::playSelectionToggled (  )  [protected, virtual, slot]

Definition at line 404 of file MainWindowBase.cpp.

References ViewManager::getPlaySelectionMode(), m_viewManager, and ViewManager::setPlaySelectionMode().

Referenced by MainWindow::setupToolbars().

void MainWindowBase::playSoloToggled (  )  [protected, virtual, slot]

Reimplemented in MainWindow.

Definition at line 416 of file MainWindowBase.cpp.

References AudioCallbackPlaySource::clearSoloModelSet(), currentPaneChanged(), PaneStack::getCurrentPane(), ViewManager::getPlaySoloMode(), m_paneStack, m_playSource, m_viewManager, ViewManager::setPlaybackModel(), and ViewManager::setPlaySoloMode().

Referenced by MainWindow::alignToggled(), and MainWindow::playSoloToggled().

virtual void MainWindowBase::sampleRateMismatch ( size_t  ,
size_t  ,
bool   
) [protected, pure virtual, slot]

Implemented in MainWindow.

Referenced by MainWindowBase().

virtual void MainWindowBase::audioOverloadPluginDisabled (  )  [protected, pure virtual, slot]

Implemented in MainWindow.

Referenced by MainWindowBase().

void MainWindowBase::playbackFrameChanged ( unsigned  long  )  [protected, virtual, slot]

Definition at line 1968 of file MainWindowBase.cpp.

References RealTime::frame2RealTime(), getMainModel(), AudioCallbackPlaySource::getPlayEndFrame(), WaveFileModel::getSampleRate(), AudioCallbackPlaySource::isPlaying(), m_lastPlayStatusSec, m_myStatusMessage, m_playSource, RealTime::sec, RealTime::toSecText(), and RealTime::toText().

Referenced by MainWindowBase(), and play().

void MainWindowBase::globalCentreFrameChanged ( unsigned  long  )  [protected, virtual, slot]

Definition at line 2002 of file MainWindowBase.cpp.

References PaneStack::getCurrentPane(), View::getFollowGlobalPan(), getMainModel(), AudioCallbackPlaySource::isPlaying(), m_paneStack, m_playSource, and updateVisibleRangeDisplay().

Referenced by MainWindowBase().

void MainWindowBase::viewCentreFrameChanged ( View ,
unsigned  long 
) [protected, virtual, slot]

Definition at line 2012 of file MainWindowBase.cpp.

References PaneStack::getCurrentPane(), getMainModel(), AudioCallbackPlaySource::isPlaying(), m_paneStack, m_playSource, and updateVisibleRangeDisplay().

Referenced by MainWindowBase().

void MainWindowBase::viewZoomLevelChanged ( View ,
unsigned  long,
bool   
) [protected, virtual, slot]

Definition at line 2021 of file MainWindowBase.cpp.

References PaneStack::getCurrentPane(), getMainModel(), AudioCallbackPlaySource::isPlaying(), m_paneStack, m_playSource, and updateVisibleRangeDisplay().

Referenced by MainWindowBase().

virtual void MainWindowBase::outputLevelsChanged ( float  ,
float   
) [protected, pure virtual, slot]

Implemented in MainWindow.

Referenced by MainWindowBase().

void MainWindowBase::currentPaneChanged ( Pane  )  [protected, virtual, slot]

Reimplemented in MainWindow.

Definition at line 437 of file MainWindowBase.cpp.

References AudioCallbackPlaySource::getCurrentBufferedFrame(), View::getModels(), ViewManager::getPlaybackModel(), ViewManager::getPlaySoloMode(), AudioCallbackPlaySource::isPlaying(), m_playSource, m_viewManager, AudioCallbackPlaySource::play(), ViewManager::setPlaybackModel(), AudioCallbackPlaySource::setSoloModelSet(), updateMenuStates(), and updateVisibleRangeDisplay().

Referenced by MainWindow::currentPaneChanged(), MainWindowBase(), openAudio(), and playSoloToggled().

void MainWindowBase::currentLayerChanged ( Pane ,
Layer  
) [protected, virtual, slot]

Definition at line 505 of file MainWindowBase.cpp.

References updateMenuStates(), and updateVisibleRangeDisplay().

Referenced by MainWindowBase().

void MainWindowBase::selectAll (  )  [protected, virtual, slot]

Definition at line 512 of file MainWindowBase.cpp.

References getMainModel(), m_viewManager, and ViewManager::setSelection().

Referenced by MainWindow::setupEditMenu().

void MainWindowBase::selectToStart (  )  [protected, virtual, slot]

Definition at line 520 of file MainWindowBase.cpp.

References ViewManager::getGlobalCentreFrame(), getMainModel(), m_viewManager, and ViewManager::setSelection().

Referenced by MainWindow::setupEditMenu().

void MainWindowBase::selectToEnd (  )  [protected, virtual, slot]

Definition at line 528 of file MainWindowBase.cpp.

References WaveFileModel::getEndFrame(), ViewManager::getGlobalCentreFrame(), getMainModel(), m_viewManager, and ViewManager::setSelection().

Referenced by MainWindow::setupEditMenu().

void MainWindowBase::selectVisible (  )  [protected, virtual, slot]

Definition at line 536 of file MainWindowBase.cpp.

References PaneStack::getCurrentPane(), Model::getEndFrame(), View::getEndFrame(), getMainModel(), View::getStartFrame(), m_paneStack, m_viewManager, and ViewManager::setSelection().

Referenced by MainWindow::setupEditMenu().

void MainWindowBase::clearSelection (  )  [protected, virtual, slot]

Definition at line 556 of file MainWindowBase.cpp.

References ViewManager::clearSelections(), and m_viewManager.

Referenced by MainWindow::setupEditMenu().

void MainWindowBase::cut (  )  [protected, virtual, slot]

Definition at line 562 of file MainWindowBase.cpp.

References Clipboard::clear(), Layer::copy(), Layer::deleteSelection(), CommandHistory::endCompoundOperation(), ViewManager::getClipboard(), PaneStack::getCurrentPane(), CommandHistory::getInstance(), View::getSelectedLayer(), ViewManager::getSelections(), m_paneStack, m_viewManager, and CommandHistory::startCompoundOperation().

Referenced by MainWindow::setupEditMenu().

void MainWindowBase::copy (  )  [protected, virtual, slot]

Definition at line 587 of file MainWindowBase.cpp.

References Clipboard::clear(), Layer::copy(), ViewManager::getClipboard(), PaneStack::getCurrentPane(), View::getSelectedLayer(), ViewManager::getSelections(), m_paneStack, and m_viewManager.

Referenced by MainWindow::setupEditMenu().

void MainWindowBase::paste (  )  [protected, virtual, slot]

Definition at line 607 of file MainWindowBase.cpp.

References Document::addLayerToView(), Document::createEmptyLayer(), CommandHistory::endCompoundOperation(), ViewManager::getClipboard(), PaneStack::getCurrentPane(), LayerFactory::getInstance(), CommandHistory::getInstance(), LayerFactory::getLayerTypeForClipboardContents(), View::getSelectedLayer(), Layer::isLayerEditable(), m_document, m_paneStack, m_viewManager, Layer::paste(), PaneStack::setCurrentLayer(), and CommandHistory::startCompoundOperation().

Referenced by MainWindow::setupEditMenu().

void MainWindowBase::deleteSelected (  )  [protected, virtual, slot]

Definition at line 647 of file MainWindowBase.cpp.

References Layer::deleteCurrentMeasureRect(), PaneStack::getCurrentPane(), View::getSelectedLayer(), ViewManager::getSelections(), ViewManager::getToolMode(), m_paneStack, m_viewManager, and ViewManager::MeasureMode.

Referenced by MainWindow::setupEditMenu().

void MainWindowBase::insertInstant (  )  [protected, virtual, slot]

Definition at line 673 of file MainWindowBase.cpp.

References ViewManager::getPlaybackFrame(), insertInstantAt(), and m_viewManager.

Referenced by MainWindow::setupEditMenu().

void MainWindowBase::insertInstantAt ( size_t   )  [protected, virtual, slot]

Definition at line 695 of file MainWindowBase.cpp.

References Labeller::actingOnPrevPoint(), Document::addLayerToView(), View::alignFromReference(), Document::createEmptyLayer(), CommandHistory::endCompoundOperation(), RealTime::frame2RealTime(), PaneStack::getCurrentPane(), CommandHistory::getInstance(), View::getLayer(), View::getLayerCount(), Layer::getModel(), SparseModel< PointType >::getPreviousPoints(), SparseModel< PointType >::getSampleRate(), View::getSelectedLayer(), Labeller::label(), m_document, m_labeller, m_paneStack, Labeller::requiresPrevPoint(), PaneStack::setCurrentLayer(), Labeller::setSampleRate(), CommandHistory::startCompoundOperation(), and LayerFactory::TimeInstants.

Referenced by insertInstant(), and insertInstantsAtBoundaries().

void MainWindowBase::insertInstantsAtBoundaries (  )  [protected, virtual, slot]

Definition at line 680 of file MainWindowBase.cpp.

References ViewManager::getSelections(), insertInstantAt(), and m_viewManager.

Referenced by MainWindow::setupEditMenu().

void MainWindowBase::renumberInstants (  )  [protected, virtual, slot]

Definition at line 781 of file MainWindowBase.cpp.

References PaneStack::getCurrentPane(), Layer::getModel(), SparseModel< PointType >::getSampleRate(), View::getSelectedLayer(), ViewManager::getSelection(), Labeller::labelAll(), m_labeller, m_paneStack, m_viewManager, and Labeller::setSampleRate().

Referenced by MainWindow::setupEditMenu().

void MainWindowBase::documentModified (  )  [protected, virtual, slot]

Reimplemented in MainWindow.

Definition at line 362 of file MainWindowBase.cpp.

References m_documentModified, and updateMenuStates().

Referenced by MainWindow::documentModified(), MainWindowBase(), and openAudio().

void MainWindowBase::documentRestored (  )  [protected, virtual, slot]

Reimplemented in MainWindow.

Definition at line 376 of file MainWindowBase.cpp.

References m_documentModified, and updateMenuStates().

Referenced by MainWindow::documentRestored(), and MainWindowBase().

void MainWindowBase::layerAdded ( Layer  )  [protected, virtual, slot]

Definition at line 2030 of file MainWindowBase.cpp.

References updateMenuStates().

Referenced by createDocument().

void MainWindowBase::layerRemoved ( Layer  )  [protected, virtual, slot]

Reimplemented in MainWindow.

Definition at line 2037 of file MainWindowBase.cpp.

References updateMenuStates().

Referenced by createDocument(), and MainWindow::layerRemoved().

void MainWindowBase::layerAboutToBeDeleted ( Layer  )  [protected, virtual, slot]

Definition at line 2044 of file MainWindowBase.cpp.

References m_timeRulerLayer.

Referenced by createDocument().

void MainWindowBase::layerInAView ( Layer ,
bool   
) [protected, virtual, slot]

Reimplemented in MainWindow.

Definition at line 2054 of file MainWindowBase.cpp.

References AudioCallbackPlaySource::addModel(), View::getLayer(), Layer::getModel(), PaneStack::getPane(), PaneStack::getPaneCount(), m_paneStack, m_playSource, AudioCallbackPlaySource::removeModel(), and updateMenuStates().

Referenced by createDocument(), and MainWindow::layerInAView().

void MainWindowBase::mainModelChanged ( WaveFileModel  )  [protected, virtual, slot]

Reimplemented in MainWindow.

Definition at line 2092 of file MainWindowBase.cpp.

References createPlayTarget(), WaveFileModel::getSampleRate(), m_audioOutput, m_playTarget, m_viewManager, ViewManager::setMainModelSampleRate(), and updateDescriptionLabel().

Referenced by createDocument(), and MainWindow::mainModelChanged().

void MainWindowBase::modelAdded ( Model  )  [protected, virtual, slot]

Reimplemented in MainWindow.

Definition at line 2085 of file MainWindowBase.cpp.

References AudioCallbackPlaySource::addModel(), and m_playSource.

Referenced by createDocument(), and MainWindow::modelAdded().

void MainWindowBase::modelAboutToBeDeleted ( Model  )  [protected, virtual, slot]

Definition at line 2101 of file MainWindowBase.cpp.

References ViewManager::getPlaybackModel(), m_playSource, m_viewManager, FFTDataServer::modelAboutToBeDeleted(), AudioCallbackPlaySource::removeModel(), and ViewManager::setPlaybackModel().

Referenced by MainWindow::addLayer(), and createDocument().

void MainWindowBase::updateMenuStates (  )  [protected, virtual, slot]

Reimplemented in MainWindow.

Definition at line 273 of file MainWindowBase.cpp.

References canAddLayer(), canAddPane(), canClearSelection(), canDeleteCurrentLayer(), canDeleteCurrentPane(), canEditLayer(), canEditSelection(), canExportAudio(), canExportImage(), canExportLayer(), canFfwd(), canImportLayer(), canImportMoreAudio(), canInsertInstant(), canInsertInstantsAtBoundaries(), canMeasureLayer(), canPaste(), canPlay(), canPlaySelection(), canRenameLayer(), canRenumberInstants(), canRewind(), canSave(), canScroll(), canSelect(), canSelectNextLayer(), canSelectNextPane(), canSelectPreviousLayer(), canSelectPreviousPane(), canZoom(), Clipboard::empty(), ViewManager::getClipboard(), PaneStack::getCurrentPane(), View::getLayer(), View::getLayerCount(), getMainModel(), PaneStack::getPane(), PaneStack::getPaneCount(), View::getSelectedLayer(), ViewManager::getSelections(), Layer::isLayerEditable(), m_documentModified, m_paneStack, m_playTarget, m_sessionFile, and m_viewManager.

Referenced by currentLayerChanged(), currentPaneChanged(), deleteCurrentLayer(), deleteCurrentPane(), documentModified(), documentRestored(), layerAdded(), layerInAView(), layerRemoved(), MainWindowBase(), nextLayer(), nextPane(), openAudio(), openSession(), paneDeleteButtonClicked(), previousLayer(), previousPane(), and MainWindow::updateMenuStates().

virtual void MainWindowBase::updateDescriptionLabel (  )  [protected, pure virtual, slot]

Implemented in MainWindow.

Referenced by mainModelChanged().

virtual void MainWindowBase::modelGenerationFailed ( QString  ,
QString   
) [protected, pure virtual, slot]

Implemented in MainWindow.

Referenced by createDocument().

virtual void MainWindowBase::modelGenerationWarning ( QString  ,
QString   
) [protected, pure virtual, slot]

Implemented in MainWindow.

virtual void MainWindowBase::modelRegenerationFailed ( QString  ,
QString  ,
QString   
) [protected, pure virtual, slot]

Implemented in MainWindow.

Referenced by openLayer(), and openSession().

virtual void MainWindowBase::modelRegenerationWarning ( QString  ,
QString  ,
QString   
) [protected, pure virtual, slot]

Implemented in MainWindow.

Referenced by createDocument(), openLayer(), and openSession().

virtual void MainWindowBase::alignmentFailed ( QString  ,
QString   
) [protected, pure virtual, slot]

Implemented in MainWindow.

Referenced by createDocument().

virtual void MainWindowBase::rightButtonMenuRequested ( Pane ,
QPoint  point 
) [protected, pure virtual, slot]

Implemented in MainWindow.

Referenced by MainWindowBase().

virtual void MainWindowBase::paneAdded ( Pane  )  [protected, pure virtual, slot]

Implemented in MainWindow.

Referenced by MainWindowBase().

virtual void MainWindowBase::paneHidden ( Pane  )  [protected, pure virtual, slot]

Implemented in MainWindow.

Referenced by MainWindowBase().

virtual void MainWindowBase::paneAboutToBeDeleted ( Pane  )  [protected, pure virtual, slot]

Implemented in MainWindow.

Referenced by MainWindowBase().

virtual void MainWindowBase::paneDropAccepted ( Pane ,
QStringList   
) [protected, pure virtual, slot]

Implemented in MainWindow.

Referenced by MainWindowBase().

virtual void MainWindowBase::paneDropAccepted ( Pane ,
QString   
) [protected, pure virtual, slot]

Implemented in MainWindow.

void MainWindowBase::paneDeleteButtonClicked ( Pane  )  [protected, virtual, slot]

Definition at line 2112 of file MainWindowBase.cpp.

References CommandHistory::addCommand(), CommandHistory::endCompoundOperation(), CommandHistory::getInstance(), View::getLayer(), View::getLayerCount(), PaneStack::getPane(), PaneStack::getPaneCount(), m_document, m_paneStack, Document::removeLayerFromView(), CommandHistory::startCompoundOperation(), and updateMenuStates().

Referenced by MainWindowBase().

void MainWindowBase::pollOSC (  )  [protected, virtual, slot]

Definition at line 2148 of file MainWindowBase.cpp.

References OSCQueue::getMessagesAvailable(), OSCMessage::getTarget(), handleOSCMessage(), OSCQueue::isEmpty(), m_openingAudioFile, m_oscQueue, and OSCQueue::readMessage().

Referenced by MainWindowBase().

virtual void MainWindowBase::handleOSCMessage ( const OSCMessage  )  [protected, pure virtual, slot]

Implemented in MainWindow.

Referenced by pollOSC().

void MainWindowBase::contextHelpChanged ( const QString &   )  [protected, virtual, slot]

Definition at line 2173 of file MainWindowBase.cpp.

References m_myStatusMessage.

Referenced by MainWindowBase::AddPaneCommand::execute(), MainWindow::MainWindow(), MainWindowBase(), MainWindow::mouseEnteredWidget(), MainWindow::mouseLeftWidget(), MainWindow::newSession(), and MainWindow::playSpeedChanged().

void MainWindowBase::inProgressSelectionChanged (  )  [protected, virtual, slot]

Definition at line 2165 of file MainWindowBase.cpp.

References PaneStack::getCurrentPane(), m_paneStack, and updateVisibleRangeDisplay().

Referenced by MainWindowBase().

virtual void MainWindowBase::closeSession (  )  [protected, pure virtual, slot]

Implemented in MainWindow.

Referenced by openSession().

WaveFileModel * MainWindowBase::getMainModel (  )  [protected]

Definition at line 1307 of file MainWindowBase.cpp.

References Document::getMainModel(), and m_document.

Referenced by MainWindow::exportAudio(), ffwd(), ffwdEnd(), getOpenFileName(), globalCentreFrameChanged(), MainWindow::handleOSCMessage(), MainWindow::importLayer(), open(), openAudio(), openLayer(), playbackFrameChanged(), rewind(), rewindStart(), selectAll(), selectToEnd(), selectToStart(), selectVisible(), MainWindow::setupPaneAndLayerMenus(), MainWindow::updateDescriptionLabel(), updateMenuStates(), MainWindow::updateVisibleRangeDisplay(), viewCentreFrameChanged(), viewZoomLevelChanged(), and zoomToFit().

const WaveFileModel * MainWindowBase::getMainModel (  )  const [protected]

Definition at line 1314 of file MainWindowBase.cpp.

References Document::getMainModel(), and m_document.

void MainWindowBase::createDocument (  )  [protected]

Definition at line 1321 of file MainWindowBase.cpp.

References alignmentFailed(), layerAboutToBeDeleted(), layerAdded(), layerInAView(), layerRemoved(), m_document, mainModelChanged(), modelAboutToBeDeleted(), modelAdded(), modelGenerationFailed(), and modelRegenerationWarning().

Referenced by MainWindow::newSession(), and openSession().

Pane * MainWindowBase::addPaneToStack (  )  [protected]

Definition at line 1417 of file MainWindowBase.cpp.

References CommandHistory::addCommand(), CommandHistory::getInstance(), and MainWindowBase::AddPaneCommand::getPane().

Referenced by MainWindowBase::PaneCallback::addPane().

Layer * MainWindowBase::getSnapLayer (  )  const [protected]

Definition at line 1724 of file MainWindowBase.cpp.

References PaneStack::getCurrentPane(), View::getLayer(), View::getLayerCount(), View::getSelectedLayer(), and m_paneStack.

Referenced by ffwd(), and rewind().

virtual bool MainWindowBase::checkSaveModified (  )  [protected, pure virtual]

Implemented in MainWindow.

Referenced by openSession().

QString MainWindowBase::getOpenFileName ( FileFinder::FileType  type  )  [protected, virtual]

Definition at line 213 of file MainWindowBase.cpp.

References FileFinder::AnyFile, FileFinder::AudioFile, PaneStack::getCurrentPane(), FileFinder::getInstance(), getMainModel(), FileFinder::getOpenFileName(), FileFinder::ImageFile, FileFinder::LayerFile, FileFinder::LayerFileNoMidi, m_audioFile, m_paneStack, m_sessionFile, FileFinder::SessionFile, and FileFinder::SessionOrAudioFile.

Referenced by MainWindow::importAudio(), MainWindow::importLayer(), MainWindow::importMoreAudio(), MainWindow::openSession(), and MainWindow::openSomething().

QString MainWindowBase::getSaveFileName ( FileFinder::FileType  type  )  [protected, virtual]

Definition at line 243 of file MainWindowBase.cpp.

References FileFinder::AnyFile, FileFinder::AudioFile, FileFinder::getInstance(), FileFinder::getSaveFileName(), FileFinder::ImageFile, FileFinder::LayerFile, FileFinder::LayerFileNoMidi, m_audioFile, m_sessionFile, FileFinder::SessionFile, and FileFinder::SessionOrAudioFile.

Referenced by MainWindow::exportAudio(), MainWindow::exportImage(), MainWindow::exportLayer(), and MainWindow::saveSessionAs().

void MainWindowBase::registerLastOpenedFilePath ( FileFinder::FileType  type,
QString  path 
) [protected, virtual]

Definition at line 266 of file MainWindowBase.cpp.

References FileFinder::getInstance(), and FileFinder::registerLastOpenedFilePath().

Referenced by openAudio(), openLayer(), and openSession().

void MainWindowBase::createPlayTarget (  )  [protected, virtual]

Definition at line 1293 of file MainWindowBase.cpp.

References AudioTargetFactory::createCallbackTarget(), m_playSource, and m_playTarget.

Referenced by mainModelChanged().

void MainWindowBase::openHelpUrl ( QString  url  )  [protected, virtual]

Definition at line 2183 of file MainWindowBase.cpp.

Referenced by MainWindow::help(), and MainWindow::website().

virtual void MainWindowBase::setupMenus (  )  [protected, pure virtual]

Implemented in MainWindow.

Referenced by openAudio(), and openSession().

virtual void MainWindowBase::updateVisibleRangeDisplay ( Pane p  )  const [protected, pure virtual]

Implemented in MainWindow.

Referenced by currentLayerChanged(), currentPaneChanged(), globalCentreFrameChanged(), inProgressSelectionChanged(), stop(), viewCentreFrameChanged(), and viewZoomLevelChanged().

void MainWindowBase::toXml ( QTextStream &  stream  )  [protected, virtual]

Definition at line 1385 of file MainWindowBase.cpp.

References PaneStack::getPane(), PaneStack::getPaneCount(), ViewManager::getSelection(), m_document, m_paneStack, m_viewManager, MultiSelection::toXml(), Pane::toXml(), and Document::toXml().

Referenced by saveSessionFile().


Member Data Documentation

QString MainWindowBase::m_sessionFile [protected]

Definition at line 249 of file MainWindowBase.h.

Referenced by MainWindow::closeSession(), getOpenFileName(), getSaveFileName(), openAudio(), openSession(), MainWindow::saveSession(), MainWindow::saveSessionAs(), and updateMenuStates().

QString MainWindowBase::m_audioFile [protected]

Definition at line 250 of file MainWindowBase.h.

Referenced by getOpenFileName(), getSaveFileName(), openAudio(), MainWindow::openSession(), MainWindow::openSomething(), and MainWindow::saveSessionAs().

Document* MainWindowBase::m_document [protected]

Definition at line 251 of file MainWindowBase.h.

Referenced by MainWindow::addLayer(), MainWindow::addPane(), MainWindow::alignToggled(), MainWindow::closeSession(), createDocument(), deleteCurrentLayer(), deleteCurrentPane(), getMainModel(), MainWindow::handleOSCMessage(), insertInstantAt(), MainWindow::newSession(), openAudio(), openImage(), openLayer(), openSession(), paneDeleteButtonClicked(), paste(), MainWindow::setupPaneAndLayerMenus(), toXml(), and MainWindow::updateMenuStates().

QLabel* MainWindowBase::m_descriptionLabel [protected]

Definition at line 253 of file MainWindowBase.h.

Referenced by MainWindow::MainWindow(), and MainWindow::updateDescriptionLabel().

PaneStack* MainWindowBase::m_paneStack [protected]

Definition at line 254 of file MainWindowBase.h.

Referenced by MainWindow::addLayer(), MainWindow::addPane(), MainWindow::alignToggled(), MainWindow::closeSession(), copy(), cut(), deleteCurrentLayer(), deleteCurrentPane(), deleteSelected(), MainWindowBase::RemovePaneCommand::execute(), MainWindowBase::AddPaneCommand::execute(), MainWindow::exportImage(), MainWindow::exportLayer(), ffwd(), getOpenFileName(), getSnapLayer(), globalCentreFrameChanged(), MainWindow::handleOSCMessage(), MainWindow::importLayer(), inProgressSelectionChanged(), insertInstantAt(), jumpLeft(), jumpRight(), layerInAView(), MainWindow::MainWindow(), MainWindowBase(), MainWindow::newSession(), nextLayer(), nextPane(), open(), openAudio(), openImage(), openLayer(), paneDeleteButtonClicked(), MainWindow::paneDropAccepted(), paste(), playSoloToggled(), preferenceChanged(), previousLayer(), previousPane(), MainWindow::renameCurrentLayer(), renumberInstants(), rewind(), MainWindow::rightButtonMenuRequested(), scrollLeft(), scrollRight(), selectVisible(), MainWindow::setupExistingLayersMenus(), MainWindow::showLayerTree(), stop(), togglePropertyBoxes(), toXml(), MainWindowBase::RemovePaneCommand::unexecute(), MainWindowBase::AddPaneCommand::unexecute(), updateMenuStates(), MainWindow::updateMenuStates(), viewCentreFrameChanged(), viewZoomLevelChanged(), zoomDefault(), zoomIn(), zoomOut(), zoomToFit(), MainWindowBase::AddPaneCommand::~AddPaneCommand(), and MainWindowBase::RemovePaneCommand::~RemovePaneCommand().

ViewManager* MainWindowBase::m_viewManager [protected]

Definition at line 255 of file MainWindowBase.h.

Referenced by MainWindow::addLayer(), MainWindowBase::PaneCallback::addSelection(), MainWindow::alignToggled(), clearSelection(), MainWindow::closeSession(), copy(), currentPaneChanged(), cut(), deleteSelected(), MainWindow::exportAudio(), MainWindow::exportImage(), ffwd(), ffwdEnd(), MainWindow::handleOSCMessage(), insertInstant(), insertInstantsAtBoundaries(), mainModelChanged(), MainWindow::MainWindow(), MainWindowBase(), modelAboutToBeDeleted(), openImage(), openSession(), paste(), play(), playLoopToggled(), playSelectionToggled(), playSoloToggled(), preferenceChanged(), MainWindow::preferenceChanged(), renumberInstants(), rewind(), rewindStart(), selectAll(), selectToEnd(), selectToStart(), selectVisible(), MainWindow::setupToolbars(), MainWindow::setupViewMenu(), showAllOverlays(), showMinimalOverlays(), showNoOverlays(), showStandardOverlays(), toggleZoomWheels(), MainWindow::toolDrawSelected(), MainWindow::toolEditSelected(), MainWindow::toolEraseSelected(), MainWindow::toolMeasureSelected(), MainWindow::toolNavigateSelected(), MainWindow::toolSelectSelected(), toXml(), updateMenuStates(), MainWindow::updateMenuStates(), MainWindow::updateVisibleRangeDisplay(), and ~MainWindowBase().

Layer* MainWindowBase::m_timeRulerLayer [protected]

Definition at line 256 of file MainWindowBase.h.

Referenced by MainWindow::addPane(), MainWindow::closeSession(), layerAboutToBeDeleted(), MainWindow::newSession(), and openAudio().

bool MainWindowBase::m_audioOutput [protected]

Definition at line 258 of file MainWindowBase.h.

Referenced by mainModelChanged().

AudioCallbackPlaySource* MainWindowBase::m_playSource [protected]

Definition at line 259 of file MainWindowBase.h.

Referenced by MainWindow::addLayer(), createPlayTarget(), currentPaneChanged(), globalCentreFrameChanged(), MainWindow::handleOSCMessage(), layerInAView(), MainWindowBase(), modelAboutToBeDeleted(), modelAdded(), openAudio(), play(), playbackFrameChanged(), playSoloToggled(), MainWindow::playSpeedChanged(), rewind(), MainWindow::setupToolbars(), stop(), MainWindow::updateDescriptionLabel(), viewCentreFrameChanged(), viewZoomLevelChanged(), zoomToFit(), and ~MainWindowBase().

AudioCallbackPlayTarget* MainWindowBase::m_playTarget [protected]

Definition at line 260 of file MainWindowBase.h.

Referenced by createPlayTarget(), MainWindow::handleOSCMessage(), mainModelChanged(), MainWindow::mainModelChanged(), updateMenuStates(), MainWindow::updateMenuStates(), and ~MainWindowBase().

OSCQueue* MainWindowBase::m_oscQueue [protected]

Definition at line 262 of file MainWindowBase.h.

Referenced by MainWindow::about(), MainWindowBase(), pollOSC(), and ~MainWindowBase().

RecentFiles MainWindowBase::m_recentFiles [protected]

Definition at line 264 of file MainWindowBase.h.

Referenced by MainWindow::commitData(), MainWindow::exportAudio(), MainWindow::exportLayer(), MainWindow::handleOSCMessage(), openAudio(), openLayer(), openSession(), MainWindow::saveSessionAs(), MainWindow::setupFileMenu(), and MainWindow::setupRecentFilesMenu().

RecentFiles MainWindowBase::m_recentTransforms [protected]

Definition at line 265 of file MainWindowBase.h.

Referenced by MainWindow::addLayer(), MainWindow::handleOSCMessage(), MainWindow::setupRecentTransformsMenu(), and MainWindow::setupTransformsMenu().

bool MainWindowBase::m_documentModified [protected]

Definition at line 267 of file MainWindowBase.h.

Referenced by MainWindow::checkSaveModified(), MainWindow::commitData(), documentModified(), documentRestored(), openAudio(), openSession(), and updateMenuStates().

bool MainWindowBase::m_openingAudioFile [protected]

Definition at line 268 of file MainWindowBase.h.

Referenced by MainWindow::closeEvent(), openAudio(), and pollOSC().

bool MainWindowBase::m_abandoning [protected]

Definition at line 269 of file MainWindowBase.h.

Referenced by MainWindow::closeEvent(), and MainWindow::handleOSCMessage().

Labeller* MainWindowBase::m_labeller [protected]

Definition at line 271 of file MainWindowBase.h.

Referenced by insertInstantAt(), MainWindowBase(), renumberInstants(), MainWindow::resetInstantsCounters(), MainWindow::setInstantsCounterCycle(), MainWindow::setInstantsNumbering(), and MainWindow::setupEditMenu().

int MainWindowBase::m_lastPlayStatusSec [protected]

Definition at line 273 of file MainWindowBase.h.

Referenced by playbackFrameChanged().

QString MainWindowBase::m_myStatusMessage [mutable, protected]

Definition at line 274 of file MainWindowBase.h.

Referenced by contextHelpChanged(), playbackFrameChanged(), stop(), and MainWindow::updateVisibleRangeDisplay().

bool MainWindowBase::m_initialDarkBackground [protected]

Definition at line 276 of file MainWindowBase.h.

Referenced by MainWindowBase(), and preferenceChanged().


The documentation for this class was generated from the following files:
Generated on Wed Feb 20 15:45:33 2008 for SonicVisualiser by  doxygen 1.5.1