#include <MainWindow.h>

Inheritance diagram for MainWindow:
Inheritance graph
Collaboration diagram for MainWindow:
Collaboration graph

Classes

struct  LayerConfiguration
 
class  TransformPopulater
 

Public Slots

void preferenceChanged (PropertyContainer::PropertyName) override
 
virtual void coloursChanged ()
 
virtual bool commitData (bool mayAskUser)
 
void goFullScreen ()
 
void endFullScreen ()
 

Signals

void canChangeSolo (bool)
 
void canAlign (bool)
 

Public Member Functions

 MainWindow (AudioMode audioMode, MIDIMode midiMode, bool withOSCSupport)
 
virtual ~MainWindow ()
 

Protected Types

typedef std::vector< std::pair< QAction *, LayerConfiguration > > PaneActions
 
typedef std::vector< std::pair< QAction *, LayerConfiguration > > LayerActions
 
typedef std::vector< std::pair< QAction *, Layer * > > ExistingLayerActions
 
typedef std::vector< std::pair< ViewManager::ToolMode, QAction * > > ToolActions
 
typedef std::vector< std::pair< QAction *, int > > NumberingActions
 
typedef std::vector< std::pair< QAction *, TransformId > > TransformActions
 
typedef std::map< TransformId, QAction * > TransformActionReverseMap
 

Protected Slots

virtual void importAudio ()
 
virtual void importMoreAudio ()
 
virtual void replaceMainAudio ()
 
virtual void openSomething ()
 
virtual void openLocation ()
 
virtual void openRecentFile ()
 
virtual void applyTemplate ()
 
virtual void exportAudio ()
 
virtual void exportAudioData ()
 
virtual void convertAudio ()
 
virtual void importLayer ()
 
virtual void exportLayer ()
 
virtual void exportImage ()
 
virtual void exportSVG ()
 
virtual void browseRecordedAudio ()
 
virtual void saveSession ()
 
virtual void saveSessionAs ()
 
virtual void newSession ()
 
void closeSession () override
 
virtual void preferences ()
 
void sampleRateMismatch (sv_samplerate_t, sv_samplerate_t, bool) override
 
void audioOverloadPluginDisabled () override
 
virtual void toolNavigateSelected ()
 
virtual void toolSelectSelected ()
 
virtual void toolEditSelected ()
 
virtual void toolDrawSelected ()
 
virtual void toolEraseSelected ()
 
virtual void toolMeasureSelected ()
 
void documentModified () override
 
void documentRestored () override
 
virtual void documentReplaced ()
 
void updateMenuStates () override
 
void updateDescriptionLabel () override
 
virtual void setInstantsNumbering ()
 
virtual void setInstantsCounterCycle ()
 
virtual void setInstantsCounters ()
 
virtual void resetInstantsCounters ()
 
virtual void subdivideInstants ()
 
virtual void winnowInstants ()
 
void modelGenerationFailed (QString, QString) override
 
void modelGenerationWarning (QString, QString) override
 
void modelRegenerationFailed (QString, QString, QString) override
 
void modelRegenerationWarning (QString, QString, QString) override
 
void alignmentFailed (ModelId, QString) override
 
void paneRightButtonMenuRequested (Pane *, QPoint point) override
 
void panePropertiesRightButtonMenuRequested (Pane *, QPoint point) override
 
void layerPropertiesRightButtonMenuRequested (Pane *, Layer *, QPoint point) override
 
virtual void propertyStacksResized (int)
 
virtual void addPane ()
 
virtual void addLayer ()
 
virtual void addLayer (QString transformId)
 
virtual void renameCurrentLayer ()
 
virtual void findTransform ()
 
void paneAdded (Pane *) override
 
void paneHidden (Pane *) override
 
void paneAboutToBeDeleted (Pane *) override
 
void paneDropAccepted (Pane *, QStringList) override
 
void paneDropAccepted (Pane *, QString) override
 
void paneCancelButtonPressed (Layer *)
 
virtual void setupRecentFilesMenu ()
 
virtual void setupRecentTransformsMenu ()
 
virtual void setupTemplatesMenu ()
 
virtual void playSpeedChanged (int)
 
void playSoloToggled () override
 
virtual void alignToggled ()
 
void currentPaneChanged (Pane *) override
 
virtual void speedUpPlayback ()
 
virtual void slowDownPlayback ()
 
virtual void restoreNormalPlayback ()
 
void monitoringLevelsChanged (float, float) override
 
void layerRemoved (Layer *) override
 
void layerInAView (Layer *, bool) override
 
void mainModelChanged (ModelId) override
 
virtual void mainModelGainChanged (float)
 
virtual void mainModelPanChanged (float)
 
void modelAdded (ModelId) override
 
virtual void showLayerTree ()
 
virtual void showActivityLog ()
 
virtual void showUnitConverter ()
 
virtual void mouseEnteredWidget ()
 
virtual void mouseLeftWidget ()
 
void handleOSCMessage (const OSCMessage &) override
 
virtual void midiEventsAvailable ()
 
virtual void playStatusChanged (bool)
 
void populateTransformsMenu ()
 
virtual void betaReleaseWarning ()
 
virtual void pluginPopulationWarning (QString text)
 
virtual void saveSessionAsTemplate ()
 
virtual void manageSavedTemplates ()
 
virtual void website ()
 
virtual void help ()
 
virtual void about ()
 
virtual void whatsNew ()
 
virtual void keyReference ()
 
void newerVersionAvailable (QString) override
 

Protected Member Functions

QString shortcutFor (LayerFactory::LayerType, bool isPaneMenu)
 
void updateLayerShortcutsFor (ModelId)
 
QString getReleaseText () const
 
void setupMenus () override
 
void setupFileMenu ()
 
void setupEditMenu ()
 
void setupViewMenu ()
 
void setupPaneAndLayerMenus ()
 
void prepareTransformsMenu ()
 
void setupHelpMenu ()
 
void setupExistingLayersMenus ()
 
void setupToolbars ()
 
void addPane (const LayerConfiguration &configuration, QString text)
 
void closeEvent (QCloseEvent *e) override
 
bool checkSaveModified () override
 
void exportAudio (bool asData)
 
void updateVisibleRangeDisplay (Pane *p) const override
 
void updatePositionStatusDisplays () const override
 
bool shouldCreateNewSessionForRDFAudio (bool *cancel) override
 
void connectLayerEditDialog (ModelDataTableDialog *) override
 

Protected Attributes

Overview * m_overview
 
LevelPanToolButton * m_mainLevelPan
 
AudioDial * m_playSpeed
 
WaveformLayer * m_panLayer
 
QScrollArea * m_mainScroll
 
bool m_mainMenusCreated
 
QMenu * m_paneMenu
 
QMenu * m_layerMenu
 
QMenu * m_transformsMenu
 
QMenu * m_playbackMenu
 
QMenu * m_existingLayersMenu
 
QMenu * m_sliceMenu
 
QMenu * m_recentFilesMenu
 
QMenu * m_recentTransformsMenu
 
QMenu * m_templatesMenu
 
QMenu * m_rightButtonMenu
 
QMenu * m_rightButtonLayerMenu
 
QMenu * m_rightButtonTransformsMenu
 
QMenu * m_rightButtonPlaybackMenu
 
QMenu * m_lastRightButtonPropertyMenu
 
QAction * m_deleteSelectedAction
 
QAction * m_soloAction
 
QAction * m_rwdStartAction
 
QAction * m_rwdSimilarAction
 
QAction * m_rwdAction
 
QAction * m_ffwdAction
 
QAction * m_ffwdSimilarAction
 
QAction * m_ffwdEndAction
 
QAction * m_playAction
 
QAction * m_recordAction
 
QAction * m_playSelectionAction
 
QAction * m_playLoopAction
 
QAction * m_manageTemplatesAction
 
QAction * m_zoomInAction
 
QAction * m_zoomOutAction
 
QAction * m_zoomFitAction
 
QAction * m_scrollLeftAction
 
QAction * m_scrollRightAction
 
QAction * m_showPropertyBoxesAction
 
bool m_soloModified
 
bool m_prevSolo
 
QFrame * m_playControlsSpacer
 
int m_playControlsWidth
 
QLabel * m_descriptionLabel
 
QLabel * m_currentLabel
 
QPointer< PreferencesDialogm_preferencesDialog
 
QPointer< LayerTreeDialog > m_layerTreeDialog
 
ActivityLog * m_activityLog
 
UnitConverter * m_unitConverter
 
KeyReference * m_keyReference
 
QFileSystemWatcher * m_templateWatcher
 
Surveyerm_surveyer
 
VersionTester * m_versionTester
 
QString m_newerVersionIs
 
PaneActions m_paneActions
 
LayerActions m_layerActions
 
ExistingLayerActions m_existingLayerActions
 
ExistingLayerActions m_sliceActions
 
ToolActions m_toolActions
 
NumberingActions m_numberingActions
 
TransformActions m_transformActions
 
TransformActionReverseMap m_transformActionsReverse
 
TransformPopulaterm_transformPopulater
 

Detailed Description

Definition at line 30 of file MainWindow.h.

Member Typedef Documentation

typedef std::vector<std::pair<QAction *, LayerConfiguration> > MainWindow::PaneActions
protected

Definition at line 263 of file MainWindow.h.

typedef std::vector<std::pair<QAction *, LayerConfiguration> > MainWindow::LayerActions
protected

Definition at line 266 of file MainWindow.h.

typedef std::vector<std::pair<QAction *, Layer *> > MainWindow::ExistingLayerActions
protected

Definition at line 269 of file MainWindow.h.

typedef std::vector<std::pair<ViewManager::ToolMode, QAction *> > MainWindow::ToolActions
protected

Definition at line 273 of file MainWindow.h.

typedef std::vector<std::pair<QAction *, int> > MainWindow::NumberingActions
protected

Definition at line 276 of file MainWindow.h.

typedef std::vector<std::pair<QAction *, TransformId> > MainWindow::TransformActions
protected

Definition at line 279 of file MainWindow.h.

typedef std::map<TransformId, QAction *> MainWindow::TransformActionReverseMap
protected

Definition at line 283 of file MainWindow.h.

Constructor & Destructor Documentation

MainWindow::~MainWindow ( )
virtual

Member Function Documentation

void MainWindow::canChangeSolo ( bool  )
signal
void MainWindow::canAlign ( bool  )
signal

Referenced by setupToolbars(), and updateMenuStates().

void MainWindow::preferenceChanged ( PropertyContainer::PropertyName  name)
overrideslot

Definition at line 4042 of file MainWindow.cpp.

References coloursChanged().

Referenced by main().

void MainWindow::coloursChanged ( )
virtualslot

Definition at line 4052 of file MainWindow.cpp.

References m_panLayer.

Referenced by MainWindow(), preferenceChanged(), and preferences().

bool MainWindow::commitData ( bool  mayAskUser)
virtualslot

Definition at line 3878 of file MainWindow.cpp.

References checkSaveModified(), and m_preferencesDialog.

Referenced by SVApplication::commitData().

void MainWindow::goFullScreen ( )
slot
void MainWindow::endFullScreen ( )
slot

Definition at line 506 of file MainWindow.cpp.

References m_mainScroll.

Referenced by goFullScreen().

void MainWindow::importAudio ( )
protectedvirtualslot

Definition at line 2781 of file MainWindow.cpp.

void MainWindow::importMoreAudio ( )
protectedvirtualslot

Definition at line 2795 of file MainWindow.cpp.

Referenced by setupFileMenu().

void MainWindow::replaceMainAudio ( )
protectedvirtualslot

Definition at line 2809 of file MainWindow.cpp.

Referenced by setupFileMenu().

void MainWindow::openSomething ( )
protectedvirtualslot

Definition at line 3545 of file MainWindow.cpp.

Referenced by setupFileMenu().

void MainWindow::openLocation ( )
protectedvirtualslot

Definition at line 3569 of file MainWindow.cpp.

Referenced by setupFileMenu().

void MainWindow::openRecentFile ( )
protectedvirtualslot

Definition at line 3601 of file MainWindow.cpp.

Referenced by setupRecentFilesMenu().

void MainWindow::applyTemplate ( )
protectedvirtualslot

Definition at line 3634 of file MainWindow.cpp.

Referenced by setupTemplatesMenu().

void MainWindow::exportAudio ( )
protectedvirtualslot

Definition at line 2823 of file MainWindow.cpp.

Referenced by exportAudioData(), and setupFileMenu().

void MainWindow::exportAudioData ( )
protectedvirtualslot

Definition at line 2829 of file MainWindow.cpp.

References exportAudio().

Referenced by setupFileMenu().

void MainWindow::convertAudio ( )
protectedvirtualslot

Definition at line 3046 of file MainWindow.cpp.

Referenced by setupFileMenu().

void MainWindow::importLayer ( )
protectedvirtualslot

Definition at line 3111 of file MainWindow.cpp.

Referenced by setupFileMenu().

void MainWindow::exportLayer ( )
protectedvirtualslot

Definition at line 3147 of file MainWindow.cpp.

Referenced by setupFileMenu().

void MainWindow::exportImage ( )
protectedvirtualslot

Definition at line 3286 of file MainWindow.cpp.

Referenced by setupFileMenu().

void MainWindow::exportSVG ( )
protectedvirtualslot

Definition at line 3374 of file MainWindow.cpp.

Referenced by setupFileMenu().

void MainWindow::browseRecordedAudio ( )
protectedvirtualslot

Definition at line 3441 of file MainWindow.cpp.

Referenced by setupFileMenu().

void MainWindow::saveSession ( )
protectedvirtualslot

Definition at line 4000 of file MainWindow.cpp.

References documentRestored(), and saveSessionAs().

Referenced by checkSaveModified(), and setupFileMenu().

void MainWindow::saveSessionAs ( )
protectedvirtualslot

Definition at line 4016 of file MainWindow.cpp.

References documentRestored().

Referenced by saveSession(), and setupFileMenu().

void MainWindow::newSession ( )
protectedvirtualslot
void MainWindow::closeSession ( )
overrideprotectedslot
void MainWindow::preferences ( )
protectedvirtualslot
void MainWindow::sampleRateMismatch ( sv_samplerate_t  requested,
sv_samplerate_t  actual,
bool  willResample 
)
overrideprotectedslot

Definition at line 4796 of file MainWindow.cpp.

References updateDescriptionLabel().

void MainWindow::audioOverloadPluginDisabled ( )
overrideprotectedslot

Definition at line 4812 of file MainWindow.cpp.

void MainWindow::toolNavigateSelected ( )
protectedvirtualslot

Definition at line 2745 of file MainWindow.cpp.

Referenced by setupToolbars().

void MainWindow::toolSelectSelected ( )
protectedvirtualslot

Definition at line 2751 of file MainWindow.cpp.

Referenced by setupToolbars().

void MainWindow::toolEditSelected ( )
protectedvirtualslot

Definition at line 2757 of file MainWindow.cpp.

Referenced by setupToolbars().

void MainWindow::toolDrawSelected ( )
protectedvirtualslot

Definition at line 2763 of file MainWindow.cpp.

Referenced by setupToolbars().

void MainWindow::toolEraseSelected ( )
protectedvirtualslot

Definition at line 2769 of file MainWindow.cpp.

Referenced by setupToolbars().

void MainWindow::toolMeasureSelected ( )
protectedvirtualslot

Definition at line 2775 of file MainWindow.cpp.

Referenced by setupToolbars().

void MainWindow::documentModified ( )
overrideprotectedslot

!!

Definition at line 2731 of file MainWindow.cpp.

void MainWindow::documentRestored ( )
overrideprotectedslot

!!

Definition at line 2738 of file MainWindow.cpp.

Referenced by closeSession(), newSession(), saveSession(), and saveSessionAs().

void MainWindow::documentReplaced ( )
protectedvirtualslot

Definition at line 3483 of file MainWindow.cpp.

References m_activityLog.

Referenced by MainWindow().

void MainWindow::updateMenuStates ( )
overrideprotectedslot
void MainWindow::updateDescriptionLabel ( )
overrideprotectedslot

!!???

Definition at line 2701 of file MainWindow.cpp.

References m_descriptionLabel.

Referenced by sampleRateMismatch().

void MainWindow::setInstantsNumbering ( )
protectedvirtualslot

Definition at line 5005 of file MainWindow.cpp.

References m_numberingActions.

Referenced by setupEditMenu().

void MainWindow::setInstantsCounterCycle ( )
protectedvirtualslot

Definition at line 5024 of file MainWindow.cpp.

Referenced by setupEditMenu().

void MainWindow::setInstantsCounters ( )
protectedvirtualslot

Definition at line 5041 of file MainWindow.cpp.

Referenced by setupEditMenu().

void MainWindow::resetInstantsCounters ( )
protectedvirtualslot

Definition at line 5049 of file MainWindow.cpp.

Referenced by setupEditMenu().

void MainWindow::subdivideInstants ( )
protectedvirtualslot

Definition at line 5055 of file MainWindow.cpp.

Referenced by setupEditMenu().

void MainWindow::winnowInstants ( )
protectedvirtualslot

Definition at line 5077 of file MainWindow.cpp.

Referenced by setupEditMenu().

void MainWindow::modelGenerationFailed ( QString  transformName,
QString  message 
)
overrideprotectedslot

Definition at line 5099 of file MainWindow.cpp.

void MainWindow::modelGenerationWarning ( QString  ,
QString  message 
)
overrideprotectedslot

Definition at line 5127 of file MainWindow.cpp.

void MainWindow::modelRegenerationFailed ( QString  layerName,
QString  transformName,
QString  message 
)
overrideprotectedslot

Definition at line 5136 of file MainWindow.cpp.

void MainWindow::modelRegenerationWarning ( QString  layerName,
QString  ,
QString  message 
)
overrideprotectedslot

Definition at line 5160 of file MainWindow.cpp.

void MainWindow::alignmentFailed ( ModelId  ,
QString  message 
)
overrideprotectedslot

Definition at line 5171 of file MainWindow.cpp.

void MainWindow::paneRightButtonMenuRequested ( Pane *  pane,
QPoint  point 
)
overrideprotectedslot

Definition at line 5182 of file MainWindow.cpp.

References m_rightButtonMenu.

void MainWindow::panePropertiesRightButtonMenuRequested ( Pane *  pane,
QPoint  point 
)
overrideprotectedslot

Definition at line 5189 of file MainWindow.cpp.

References m_lastRightButtonPropertyMenu.

void MainWindow::layerPropertiesRightButtonMenuRequested ( Pane *  pane,
Layer *  layer,
QPoint  point 
)
overrideprotectedslot

Definition at line 5210 of file MainWindow.cpp.

References m_lastRightButtonPropertyMenu, and renameCurrentLayer().

void MainWindow::propertyStacksResized ( int  width)
protectedvirtualslot

Definition at line 4083 of file MainWindow.cpp.

References m_playControlsSpacer, and m_playControlsWidth.

Referenced by MainWindow().

void MainWindow::addPane ( )
protectedvirtualslot

Definition at line 4097 of file MainWindow.cpp.

References m_paneActions.

Referenced by handleOSCMessage(), and setupPaneAndLayerMenus().

void MainWindow::addLayer ( )
protectedvirtualslot

!!???

!! want to do something like this, but it's not supported in

Definition at line 4204 of file MainWindow.cpp.

References m_existingLayerActions, m_layerActions, m_sliceActions, m_toolActions, and m_transformActions.

Referenced by findTransform(), populateTransformsMenu(), setupExistingLayersMenus(), and setupPaneAndLayerMenus().

void MainWindow::addLayer ( QString  transformId)
protectedvirtualslot

Definition at line 4380 of file MainWindow.cpp.

References updateMenuStates().

void MainWindow::renameCurrentLayer ( )
protectedvirtualslot
void MainWindow::findTransform ( )
protectedvirtualslot

Definition at line 4531 of file MainWindow.cpp.

References addLayer().

Referenced by populateTransformsMenu().

void MainWindow::paneAdded ( Pane *  pane)
overrideprotectedslot

Definition at line 3724 of file MainWindow.cpp.

References m_overview, and paneCancelButtonPressed().

void MainWindow::paneHidden ( Pane *  pane)
overrideprotectedslot

Definition at line 3734 of file MainWindow.cpp.

References m_overview.

void MainWindow::paneAboutToBeDeleted ( Pane *  pane)
overrideprotectedslot

Definition at line 3740 of file MainWindow.cpp.

References m_overview.

void MainWindow::paneDropAccepted ( Pane *  pane,
QStringList  uriList 
)
overrideprotectedslot

Definition at line 3789 of file MainWindow.cpp.

Referenced by paneDropAccepted().

void MainWindow::paneDropAccepted ( Pane *  pane,
QString  text 
)
overrideprotectedslot

!! open as text – but by importing as if a CSV, or just adding

Definition at line 3820 of file MainWindow.cpp.

References paneDropAccepted().

void MainWindow::paneCancelButtonPressed ( Layer *  layer)
protectedslot

Definition at line 3746 of file MainWindow.cpp.

References updateMenuStates().

Referenced by paneAdded().

void MainWindow::setupRecentFilesMenu ( )
protectedvirtualslot

Definition at line 2069 of file MainWindow.cpp.

References m_keyReference, m_recentFilesMenu, and openRecentFile().

Referenced by setupFileMenu().

void MainWindow::setupRecentTransformsMenu ( )
protectedvirtualslot
void MainWindow::setupTemplatesMenu ( )
protectedvirtualslot
void MainWindow::playSpeedChanged ( int  position)
protectedvirtualslot

Definition at line 4597 of file MainWindow.cpp.

References m_playSpeed, and updateMenuStates().

Referenced by MainWindow().

void MainWindow::playSoloToggled ( )
overrideprotectedslot

Definition at line 4547 of file MainWindow.cpp.

References m_soloModified.

Referenced by setupToolbars().

void MainWindow::alignToggled ( )
protectedvirtualslot

Definition at line 4554 of file MainWindow.cpp.

References canChangeSolo(), m_prevSolo, m_soloAction, and m_soloModified.

Referenced by setupToolbars().

void MainWindow::currentPaneChanged ( Pane *  pane)
overrideprotectedslot

Definition at line 4660 of file MainWindow.cpp.

References m_panLayer, and updateLayerShortcutsFor().

void MainWindow::speedUpPlayback ( )
protectedvirtualslot

Definition at line 4636 of file MainWindow.cpp.

References m_playSpeed.

Referenced by setupToolbars().

void MainWindow::slowDownPlayback ( )
protectedvirtualslot

Definition at line 4645 of file MainWindow.cpp.

References m_playSpeed.

Referenced by setupToolbars().

void MainWindow::restoreNormalPlayback ( )
protectedvirtualslot

Definition at line 4654 of file MainWindow.cpp.

References m_playSpeed.

Referenced by setupToolbars().

void MainWindow::monitoringLevelsChanged ( float  left,
float  right 
)
overrideprotectedslot

Definition at line 4790 of file MainWindow.cpp.

References m_mainLevelPan.

void MainWindow::layerRemoved ( Layer *  layer)
overrideprotectedslot

Definition at line 4945 of file MainWindow.cpp.

References setupExistingLayersMenus().

void MainWindow::layerInAView ( Layer *  layer,
bool  inAView 
)
overrideprotectedslot

Definition at line 4953 of file MainWindow.cpp.

References setupExistingLayersMenus().

void MainWindow::mainModelChanged ( ModelId  modelId)
overrideprotectedslot
void MainWindow::mainModelGainChanged ( float  gain)
protectedvirtualslot

Definition at line 4984 of file MainWindow.cpp.

Referenced by mainModelChanged().

void MainWindow::mainModelPanChanged ( float  balance)
protectedvirtualslot

Definition at line 4994 of file MainWindow.cpp.

Referenced by mainModelChanged().

void MainWindow::modelAdded ( ModelId  modelId)
overrideprotectedslot

Definition at line 4960 of file MainWindow.cpp.

References setupPaneAndLayerMenus().

void MainWindow::showLayerTree ( )
protectedvirtualslot

Definition at line 5238 of file MainWindow.cpp.

References m_layerTreeDialog.

Referenced by setupViewMenu().

void MainWindow::showActivityLog ( )
protectedvirtualslot

Definition at line 5252 of file MainWindow.cpp.

References m_activityLog.

Referenced by setupViewMenu().

void MainWindow::showUnitConverter ( )
protectedvirtualslot

Definition at line 5260 of file MainWindow.cpp.

References m_unitConverter.

Referenced by setupViewMenu().

void MainWindow::mouseEnteredWidget ( )
protectedvirtualslot

Definition at line 5303 of file MainWindow.cpp.

References m_mainLevelPan, and m_playSpeed.

Referenced by MainWindow().

void MainWindow::mouseLeftWidget ( )
protectedvirtualslot

Definition at line 5324 of file MainWindow.cpp.

Referenced by MainWindow().

void MainWindow::handleOSCMessage ( const OSCMessage &  message)
overrideprotectedslot

!! we really need to spin here and not return until the

Definition at line 46 of file OSCHandler.cpp.

References addPane(), m_mainLevelPan, m_playSpeed, and NOW.

void MainWindow::midiEventsAvailable ( )
protectedvirtualslot

Definition at line 4841 of file MainWindow.cpp.

Referenced by MainWindow().

void MainWindow::playStatusChanged ( bool  )
protectedvirtualslot

Definition at line 4929 of file MainWindow.cpp.

Referenced by setupToolbars().

void MainWindow::betaReleaseWarning ( )
protectedvirtualslot

Definition at line 4820 of file MainWindow.cpp.

void MainWindow::pluginPopulationWarning ( QString  text)
protectedvirtualslot

Definition at line 4828 of file MainWindow.cpp.

Referenced by populateTransformsMenu().

void MainWindow::saveSessionAsTemplate ( )
protectedvirtualslot

Definition at line 3665 of file MainWindow.cpp.

Referenced by setupFileMenu().

void MainWindow::manageSavedTemplates ( )
protectedvirtualslot

Definition at line 3717 of file MainWindow.cpp.

Referenced by setupFileMenu().

void MainWindow::website ( )
protectedvirtualslot

Definition at line 5330 of file MainWindow.cpp.

void MainWindow::help ( )
protectedvirtualslot

Definition at line 5336 of file MainWindow.cpp.

Referenced by setupHelpMenu().

void MainWindow::about ( )
protectedvirtualslot

Definition at line 5436 of file MainWindow.cpp.

References getReleaseText().

Referenced by setupHelpMenu().

void MainWindow::whatsNew ( )
protectedvirtualslot

Definition at line 5342 of file MainWindow.cpp.

References m_newerVersionIs.

Referenced by setupHelpMenu().

void MainWindow::keyReference ( )
protectedvirtualslot

Definition at line 5615 of file MainWindow.cpp.

References m_keyReference.

Referenced by setupHelpMenu().

void MainWindow::newerVersionAvailable ( QString  version)
overrideprotectedslot

Definition at line 5621 of file MainWindow.cpp.

References m_newerVersionIs.

Referenced by MainWindow().

QString MainWindow::shortcutFor ( LayerFactory::LayerType  layer,
bool  isPaneMenu 
)
protected

Definition at line 1181 of file MainWindow.cpp.

Referenced by setupPaneAndLayerMenus(), and updateLayerShortcutsFor().

void MainWindow::updateLayerShortcutsFor ( ModelId  modelId)
protected

Definition at line 1668 of file MainWindow.cpp.

References m_layerActions, m_paneActions, and shortcutFor().

Referenced by currentPaneChanged().

QString MainWindow::getReleaseText ( ) const
protected

Definition at line 5409 of file MainWindow.cpp.

Referenced by about(), and MainWindow().

void MainWindow::prepareTransformsMenu ( )
protected

Definition at line 1706 of file MainWindow.cpp.

References m_transformPopulater, and m_transformsMenu.

Referenced by setupMenus().

void MainWindow::setupHelpMenu ( )
protected

Definition at line 2029 of file MainWindow.cpp.

References about(), help(), keyReference(), m_keyReference, and whatsNew().

Referenced by MainWindow().

void MainWindow::setupExistingLayersMenus ( )
protected
void MainWindow::addPane ( const LayerConfiguration configuration,
QString  text 
)
protected
void MainWindow::closeEvent ( QCloseEvent *  e)
overrideprotected

Definition at line 3839 of file MainWindow.cpp.

References checkSaveModified(), closeSession(), and m_preferencesDialog.

bool MainWindow::checkSaveModified ( )
overrideprotected

Definition at line 3930 of file MainWindow.cpp.

References saveSession().

Referenced by closeEvent(), closeSession(), commitData(), and newSession().

void MainWindow::exportAudio ( bool  asData)
protected

Definition at line 2835 of file MainWindow.cpp.

void MainWindow::updateVisibleRangeDisplay ( Pane *  p) const
overrideprotected

Definition at line 4708 of file MainWindow.cpp.

References updatePositionStatusDisplays().

void MainWindow::updatePositionStatusDisplays ( ) const
overrideprotected

Definition at line 4765 of file MainWindow.cpp.

References m_currentLabel.

Referenced by updateVisibleRangeDisplay().

bool MainWindow::shouldCreateNewSessionForRDFAudio ( bool *  cancel)
overrideprotected

!! This is very similar to part of MainWindowBase::openAudio – !! make them a bit more uniform

Definition at line 3964 of file MainWindow.cpp.

References newSession().

void MainWindow::connectLayerEditDialog ( ModelDataTableDialog *  dialog)
overrideprotected

Definition at line 2611 of file MainWindow.cpp.

References m_ffwdAction, m_ffwdEndAction, m_playAction, m_rwdAction, and m_rwdStartAction.

Member Data Documentation

Overview* MainWindow::m_overview
protected
LevelPanToolButton* MainWindow::m_mainLevelPan
protected
AudioDial* MainWindow::m_playSpeed
protected
WaveformLayer* MainWindow::m_panLayer
protected

Definition at line 178 of file MainWindow.h.

Referenced by coloursChanged(), currentPaneChanged(), mainModelChanged(), and MainWindow().

QScrollArea* MainWindow::m_mainScroll
protected

Definition at line 180 of file MainWindow.h.

Referenced by endFullScreen(), goFullScreen(), and MainWindow().

bool MainWindow::m_mainMenusCreated
protected

Definition at line 182 of file MainWindow.h.

Referenced by setupEditMenu(), setupFileMenu(), setupMenus(), and setupViewMenu().

QMenu* MainWindow::m_paneMenu
protected

Definition at line 183 of file MainWindow.h.

Referenced by setupPaneAndLayerMenus().

QMenu* MainWindow::m_layerMenu
protected

Definition at line 184 of file MainWindow.h.

Referenced by setupPaneAndLayerMenus().

QMenu* MainWindow::m_transformsMenu
protected

Definition at line 185 of file MainWindow.h.

Referenced by populateTransformsMenu(), and prepareTransformsMenu().

QMenu* MainWindow::m_playbackMenu
protected

Definition at line 186 of file MainWindow.h.

Referenced by setupToolbars().

QMenu* MainWindow::m_existingLayersMenu
protected

Definition at line 187 of file MainWindow.h.

Referenced by setupExistingLayersMenus(), and setupPaneAndLayerMenus().

QMenu* MainWindow::m_sliceMenu
protected

Definition at line 188 of file MainWindow.h.

Referenced by setupExistingLayersMenus(), and setupPaneAndLayerMenus().

QMenu* MainWindow::m_recentFilesMenu
protected

Definition at line 189 of file MainWindow.h.

Referenced by setupFileMenu(), and setupRecentFilesMenu().

QMenu* MainWindow::m_recentTransformsMenu
protected

Definition at line 190 of file MainWindow.h.

Referenced by populateTransformsMenu(), and setupRecentTransformsMenu().

QMenu* MainWindow::m_templatesMenu
protected

Definition at line 191 of file MainWindow.h.

Referenced by setupFileMenu(), and setupTemplatesMenu().

QMenu* MainWindow::m_rightButtonMenu
protected
QMenu* MainWindow::m_rightButtonLayerMenu
protected

Definition at line 193 of file MainWindow.h.

Referenced by setupMenus(), and setupPaneAndLayerMenus().

QMenu* MainWindow::m_rightButtonTransformsMenu
protected

Definition at line 194 of file MainWindow.h.

Referenced by populateTransformsMenu(), and setupMenus().

QMenu* MainWindow::m_rightButtonPlaybackMenu
protected

Definition at line 195 of file MainWindow.h.

Referenced by setupToolbars().

QMenu* MainWindow::m_lastRightButtonPropertyMenu
protected
QAction* MainWindow::m_deleteSelectedAction
protected

Definition at line 198 of file MainWindow.h.

Referenced by setupEditMenu(), and updateMenuStates().

QAction* MainWindow::m_soloAction
protected

Definition at line 199 of file MainWindow.h.

Referenced by alignToggled(), and setupToolbars().

QAction* MainWindow::m_rwdStartAction
protected

Definition at line 200 of file MainWindow.h.

Referenced by connectLayerEditDialog(), and setupToolbars().

QAction* MainWindow::m_rwdSimilarAction
protected

Definition at line 201 of file MainWindow.h.

Referenced by setupToolbars().

QAction* MainWindow::m_rwdAction
protected

Definition at line 202 of file MainWindow.h.

Referenced by connectLayerEditDialog(), setupToolbars(), and updateMenuStates().

QAction* MainWindow::m_ffwdAction
protected

Definition at line 203 of file MainWindow.h.

Referenced by connectLayerEditDialog(), setupToolbars(), and updateMenuStates().

QAction* MainWindow::m_ffwdSimilarAction
protected

Definition at line 204 of file MainWindow.h.

Referenced by setupToolbars().

QAction* MainWindow::m_ffwdEndAction
protected

Definition at line 205 of file MainWindow.h.

Referenced by connectLayerEditDialog(), and setupToolbars().

QAction* MainWindow::m_playAction
protected

Definition at line 206 of file MainWindow.h.

Referenced by connectLayerEditDialog(), goFullScreen(), and setupToolbars().

QAction* MainWindow::m_recordAction
protected

Definition at line 207 of file MainWindow.h.

Referenced by setupToolbars().

QAction* MainWindow::m_playSelectionAction
protected

Definition at line 208 of file MainWindow.h.

Referenced by setupToolbars().

QAction* MainWindow::m_playLoopAction
protected

Definition at line 209 of file MainWindow.h.

Referenced by setupToolbars().

QAction* MainWindow::m_manageTemplatesAction
protected

Definition at line 210 of file MainWindow.h.

Referenced by setupFileMenu(), and setupTemplatesMenu().

QAction* MainWindow::m_zoomInAction
protected

Definition at line 211 of file MainWindow.h.

Referenced by goFullScreen(), and setupViewMenu().

QAction* MainWindow::m_zoomOutAction
protected

Definition at line 212 of file MainWindow.h.

Referenced by goFullScreen(), and setupViewMenu().

QAction* MainWindow::m_zoomFitAction
protected

Definition at line 213 of file MainWindow.h.

Referenced by goFullScreen(), and setupViewMenu().

QAction* MainWindow::m_scrollLeftAction
protected

Definition at line 214 of file MainWindow.h.

Referenced by goFullScreen(), and setupViewMenu().

QAction* MainWindow::m_scrollRightAction
protected

Definition at line 215 of file MainWindow.h.

Referenced by goFullScreen(), and setupViewMenu().

QAction* MainWindow::m_showPropertyBoxesAction
protected

Definition at line 216 of file MainWindow.h.

Referenced by goFullScreen(), and setupViewMenu().

bool MainWindow::m_soloModified
protected

Definition at line 218 of file MainWindow.h.

Referenced by alignToggled(), and playSoloToggled().

bool MainWindow::m_prevSolo
protected

Definition at line 219 of file MainWindow.h.

Referenced by alignToggled(), and setupToolbars().

QFrame* MainWindow::m_playControlsSpacer
protected

Definition at line 221 of file MainWindow.h.

Referenced by MainWindow(), and propertyStacksResized().

int MainWindow::m_playControlsWidth
protected

Definition at line 222 of file MainWindow.h.

Referenced by MainWindow(), and propertyStacksResized().

QLabel* MainWindow::m_descriptionLabel
protected

Definition at line 224 of file MainWindow.h.

Referenced by MainWindow(), and updateDescriptionLabel().

QLabel* MainWindow::m_currentLabel
protected

Definition at line 225 of file MainWindow.h.

Referenced by MainWindow(), and updatePositionStatusDisplays().

QPointer<PreferencesDialog> MainWindow::m_preferencesDialog
protected

Definition at line 227 of file MainWindow.h.

Referenced by closeEvent(), closeSession(), commitData(), preferences(), and ~MainWindow().

QPointer<LayerTreeDialog> MainWindow::m_layerTreeDialog
protected

Definition at line 228 of file MainWindow.h.

Referenced by closeSession(), showLayerTree(), and ~MainWindow().

ActivityLog* MainWindow::m_activityLog
protected
UnitConverter* MainWindow::m_unitConverter
protected

Definition at line 231 of file MainWindow.h.

Referenced by closeSession(), MainWindow(), showUnitConverter(), and ~MainWindow().

QFileSystemWatcher* MainWindow::m_templateWatcher
protected

Definition at line 234 of file MainWindow.h.

Referenced by setupTemplatesMenu().

Surveyer* MainWindow::m_surveyer
protected

Definition at line 236 of file MainWindow.h.

Referenced by MainWindow(), and ~MainWindow().

VersionTester* MainWindow::m_versionTester
protected

Definition at line 237 of file MainWindow.h.

Referenced by MainWindow(), and ~MainWindow().

QString MainWindow::m_newerVersionIs
protected

Definition at line 238 of file MainWindow.h.

Referenced by newerVersionAvailable(), and whatsNew().

PaneActions MainWindow::m_paneActions
protected

Definition at line 264 of file MainWindow.h.

Referenced by addPane(), setupPaneAndLayerMenus(), and updateLayerShortcutsFor().

LayerActions MainWindow::m_layerActions
protected

Definition at line 267 of file MainWindow.h.

Referenced by addLayer(), setupPaneAndLayerMenus(), and updateLayerShortcutsFor().

ExistingLayerActions MainWindow::m_existingLayerActions
protected

Definition at line 270 of file MainWindow.h.

Referenced by addLayer(), and setupExistingLayersMenus().

ExistingLayerActions MainWindow::m_sliceActions
protected

Definition at line 271 of file MainWindow.h.

Referenced by addLayer(), and setupExistingLayersMenus().

ToolActions MainWindow::m_toolActions
protected

Definition at line 274 of file MainWindow.h.

Referenced by addLayer(), and setupToolbars().

NumberingActions MainWindow::m_numberingActions
protected

Definition at line 277 of file MainWindow.h.

Referenced by setInstantsNumbering(), and setupEditMenu().

TransformActions MainWindow::m_transformActions
protected

Definition at line 280 of file MainWindow.h.

Referenced by addLayer(), and populateTransformsMenu().

TransformActionReverseMap MainWindow::m_transformActionsReverse
protected

Definition at line 284 of file MainWindow.h.

Referenced by populateTransformsMenu(), and setupRecentTransformsMenu().

TransformPopulater* MainWindow::m_transformPopulater
protected

Definition at line 306 of file MainWindow.h.

Referenced by prepareTransformsMenu(), and ~MainWindow().


The documentation for this class was generated from the following files: