diff main/MainWindow.h @ 116:99d65ba33c88

* More useful status bar text -- show the current play time and the extents of the visible area * Add update-i18n.sh to update the i18n/ts and qm files -- I can't get qmake to do the right thing now that the project file has been split up into several project files * Fix missing Q_OBJECTs, etc, reported by lupdate * Update Russian translation from AlexandrE
author Chris Cannam
date Wed, 07 Mar 2007 17:07:02 +0000
parents dd11619b73ba
children 8089a394829a
line wrap: on
line diff
--- a/main/MainWindow.h	Mon Mar 05 15:32:55 2007 +0000
+++ b/main/MainWindow.h	Wed Mar 07 17:07:02 2007 +0000
@@ -165,6 +165,10 @@
     void sampleRateMismatch(size_t, size_t, bool);
     void audioOverloadPluginDisabled();
 
+    void playbackFrameChanged(unsigned long);
+    void globalCentreFrameChanged(unsigned long);
+    void viewCentreFrameChanged(View *, unsigned long);
+    void viewZoomLevelChanged(View *, unsigned long, bool);
     void outputLevelsChanged(float, float);
 
     void currentPaneChanged(Pane *);
@@ -222,6 +226,7 @@
 
     void mouseEnteredWidget();
     void mouseLeftWidget();
+    void contextHelpChanged(const QString &);
 
     void website();
     void help();
@@ -268,9 +273,13 @@
     bool                     m_openingAudioFile;
     bool                     m_abandoning;
 
+    int                      m_lastPlayStatusSec;
+    mutable QString          m_myStatusMessage;
+
     QPointer<PreferencesDialog> m_preferencesDialog;
 
     WaveFileModel *getMainModel();
+    const WaveFileModel *getMainModel() const;
     void createDocument();
 
     struct PaneConfiguration {
@@ -386,6 +395,8 @@
 
     void openHelpUrl(QString url);
 
+    void updateVisibleRangeDisplay(Pane *p) const;
+
     void toXml(QTextStream &stream);
 };