comparison main/MainWindow.h @ 2181:b0e8217719ed

Merge from branch fix-static-analysis
author Chris Cannam
date Wed, 09 Jan 2019 15:27:32 +0000
parents c476db6cf3eb 124de219669f
children a54082a29106 eb7f4579e5cc
comparison
equal deleted inserted replaced
2180:52eda31c7b33 2181:b0e8217719ed
38 signals: 38 signals:
39 void canChangeSolo(bool); 39 void canChangeSolo(bool);
40 void canAlign(bool); 40 void canAlign(bool);
41 41
42 public slots: 42 public slots:
43 virtual void preferenceChanged(PropertyContainer::PropertyName); 43 void preferenceChanged(PropertyContainer::PropertyName) override;
44 virtual void coloursChanged(); 44 virtual void coloursChanged();
45 45
46 virtual bool commitData(bool mayAskUser); 46 virtual bool commitData(bool mayAskUser);
47 47
48 void goFullScreen(); 48 void goFullScreen();
65 virtual void exportSVG(); 65 virtual void exportSVG();
66 virtual void browseRecordedAudio(); 66 virtual void browseRecordedAudio();
67 virtual void saveSession(); 67 virtual void saveSession();
68 virtual void saveSessionAs(); 68 virtual void saveSessionAs();
69 virtual void newSession(); 69 virtual void newSession();
70 virtual void closeSession(); 70 void closeSession() override;
71 virtual void preferences(); 71 virtual void preferences();
72 72
73 virtual void sampleRateMismatch(sv_samplerate_t, sv_samplerate_t, bool); 73 void sampleRateMismatch(sv_samplerate_t, sv_samplerate_t, bool) override;
74 virtual void audioOverloadPluginDisabled(); 74 void audioOverloadPluginDisabled() override;
75 virtual void audioTimeStretchMultiChannelDisabled(); 75 void audioTimeStretchMultiChannelDisabled() override;
76 76
77 virtual void toolNavigateSelected(); 77 virtual void toolNavigateSelected();
78 virtual void toolSelectSelected(); 78 virtual void toolSelectSelected();
79 virtual void toolEditSelected(); 79 virtual void toolEditSelected();
80 virtual void toolDrawSelected(); 80 virtual void toolDrawSelected();
81 virtual void toolEraseSelected(); 81 virtual void toolEraseSelected();
82 virtual void toolMeasureSelected(); 82 virtual void toolMeasureSelected();
83 83
84 virtual void documentModified(); 84 void documentModified() override;
85 virtual void documentRestored(); 85 void documentRestored() override;
86 virtual void documentReplaced(); 86 virtual void documentReplaced();
87 87
88 virtual void updateMenuStates(); 88 void updateMenuStates() override;
89 virtual void updateDescriptionLabel(); 89 void updateDescriptionLabel() override;
90 90
91 virtual void setInstantsNumbering(); 91 virtual void setInstantsNumbering();
92 virtual void setInstantsCounterCycle(); 92 virtual void setInstantsCounterCycle();
93 virtual void setInstantsCounters(); 93 virtual void setInstantsCounters();
94 virtual void resetInstantsCounters(); 94 virtual void resetInstantsCounters();
95 virtual void subdivideInstants(); 95 virtual void subdivideInstants();
96 virtual void winnowInstants(); 96 virtual void winnowInstants();
97 97
98 virtual void modelGenerationFailed(QString, QString); 98 void modelGenerationFailed(QString, QString) override;
99 virtual void modelGenerationWarning(QString, QString); 99 void modelGenerationWarning(QString, QString) override;
100 virtual void modelRegenerationFailed(QString, QString, QString); 100 void modelRegenerationFailed(QString, QString, QString) override;
101 virtual void modelRegenerationWarning(QString, QString, QString); 101 void modelRegenerationWarning(QString, QString, QString) override;
102 virtual void alignmentFailed(QString); 102 void alignmentFailed(QString) override;
103 103
104 virtual void rightButtonMenuRequested(Pane *, QPoint point); 104 void rightButtonMenuRequested(Pane *, QPoint point) override;
105 105
106 virtual void propertyStacksResized(int); 106 virtual void propertyStacksResized(int);
107 107
108 virtual void addPane(); 108 virtual void addPane();
109 virtual void addLayer(); 109 virtual void addLayer();
110 virtual void addLayer(QString transformId); 110 virtual void addLayer(QString transformId);
111 virtual void renameCurrentLayer(); 111 virtual void renameCurrentLayer();
112 112
113 virtual void findTransform(); 113 virtual void findTransform();
114 114
115 virtual void paneAdded(Pane *); 115 void paneAdded(Pane *) override;
116 virtual void paneHidden(Pane *); 116 void paneHidden(Pane *) override;
117 virtual void paneAboutToBeDeleted(Pane *); 117 void paneAboutToBeDeleted(Pane *) override;
118 virtual void paneDropAccepted(Pane *, QStringList); 118 void paneDropAccepted(Pane *, QStringList) override;
119 virtual void paneDropAccepted(Pane *, QString); 119 void paneDropAccepted(Pane *, QString) override;
120 120
121 virtual void setupRecentFilesMenu(); 121 virtual void setupRecentFilesMenu();
122 virtual void setupRecentTransformsMenu(); 122 virtual void setupRecentTransformsMenu();
123 virtual void setupTemplatesMenu(); 123 virtual void setupTemplatesMenu();
124 124
125 virtual void playSpeedChanged(int); 125 virtual void playSpeedChanged(int);
126 virtual void playSoloToggled(); 126 void playSoloToggled() override;
127 virtual void alignToggled(); 127 virtual void alignToggled();
128 128
129 virtual void currentPaneChanged(Pane *); 129 void currentPaneChanged(Pane *) override;
130 130
131 virtual void speedUpPlayback(); 131 virtual void speedUpPlayback();
132 virtual void slowDownPlayback(); 132 virtual void slowDownPlayback();
133 virtual void restoreNormalPlayback(); 133 virtual void restoreNormalPlayback();
134 134
135 virtual void monitoringLevelsChanged(float, float); 135 void monitoringLevelsChanged(float, float) override;
136 136
137 virtual void layerRemoved(Layer *); 137 void layerRemoved(Layer *) override;
138 virtual void layerInAView(Layer *, bool); 138 void layerInAView(Layer *, bool) override;
139 139
140 virtual void mainModelChanged(WaveFileModel *); 140 void mainModelChanged(WaveFileModel *) override;
141 virtual void mainModelGainChanged(float); 141 virtual void mainModelGainChanged(float);
142 virtual void mainModelPanChanged(float); 142 virtual void mainModelPanChanged(float);
143 virtual void modelAdded(Model *); 143 void modelAdded(Model *) override;
144 virtual void modelAboutToBeDeleted(Model *); 144 void modelAboutToBeDeleted(Model *) override;
145 145
146 virtual void showLayerTree(); 146 virtual void showLayerTree();
147 virtual void showActivityLog(); 147 virtual void showActivityLog();
148 virtual void showUnitConverter(); 148 virtual void showUnitConverter();
149 149
150 virtual void mouseEnteredWidget(); 150 virtual void mouseEnteredWidget();
151 virtual void mouseLeftWidget(); 151 virtual void mouseLeftWidget();
152 152
153 virtual void handleOSCMessage(const OSCMessage &); 153 void handleOSCMessage(const OSCMessage &) override;
154 virtual void midiEventsAvailable(); 154 virtual void midiEventsAvailable();
155 virtual void playStatusChanged(bool); 155 virtual void playStatusChanged(bool);
156 156
157 /* 157 /*
158 virtual void betaReleaseWarning(); 158 virtual void betaReleaseWarning();
165 virtual void website(); 165 virtual void website();
166 virtual void help(); 166 virtual void help();
167 virtual void about(); 167 virtual void about();
168 virtual void whatsNew(); 168 virtual void whatsNew();
169 virtual void keyReference(); 169 virtual void keyReference();
170 virtual void newerVersionAvailable(QString); 170 void newerVersionAvailable(QString) override;
171 171
172 protected: 172 protected:
173 Overview *m_overview; 173 Overview *m_overview;
174 LevelPanToolButton *m_mainLevelPan; 174 LevelPanToolButton *m_mainLevelPan;
175 AudioDial *m_playSpeed; 175 AudioDial *m_playSpeed;
280 typedef std::map<TransformId, QAction *> TransformActionReverseMap; 280 typedef std::map<TransformId, QAction *> TransformActionReverseMap;
281 TransformActionReverseMap m_transformActionsReverse; 281 TransformActionReverseMap m_transformActionsReverse;
282 282
283 QString getReleaseText() const; 283 QString getReleaseText() const;
284 284
285 virtual void setupMenus(); 285 void setupMenus() override;
286 virtual void setupFileMenu(); 286 virtual void setupFileMenu();
287 virtual void setupEditMenu(); 287 virtual void setupEditMenu();
288 virtual void setupViewMenu(); 288 virtual void setupViewMenu();
289 virtual void setupPaneAndLayerMenus(); 289 virtual void setupPaneAndLayerMenus();
290 virtual void setupTransformsMenu(); 290 virtual void setupTransformsMenu();
292 virtual void setupExistingLayersMenus(); 292 virtual void setupExistingLayersMenus();
293 virtual void setupToolbars(); 293 virtual void setupToolbars();
294 294
295 virtual void addPane(const LayerConfiguration &configuration, QString text); 295 virtual void addPane(const LayerConfiguration &configuration, QString text);
296 296
297 virtual void closeEvent(QCloseEvent *e); 297 void closeEvent(QCloseEvent *e) override;
298 virtual bool checkSaveModified(); 298 bool checkSaveModified() override;
299 299
300 virtual void exportAudio(bool asData); 300 virtual void exportAudio(bool asData);
301 301
302 virtual void updateVisibleRangeDisplay(Pane *p) const; 302 void updateVisibleRangeDisplay(Pane *p) const override;
303 virtual void updatePositionStatusDisplays() const; 303 void updatePositionStatusDisplays() const override;
304 304
305 virtual bool shouldCreateNewSessionForRDFAudio(bool *cancel); 305 bool shouldCreateNewSessionForRDFAudio(bool *cancel) override;
306 306
307 virtual void connectLayerEditDialog(ModelDataTableDialog *); 307 void connectLayerEditDialog(ModelDataTableDialog *) override;
308 }; 308 };
309 309
310 310
311 #endif 311 #endif