Improved: The Configuration Editor now saves most of its state (window positions, open files, etc.) when closing and restores it when run again.

Fixed: The GUI for the Copy command was behaving incorrectly when channels were selected by number instead of name.
Fixed: When the processing caused delay (e.g. via Delay command), the remaining audio was not output when the input signal became silence (e.g. pausing a music player), but only when the silence ended.
Fixed: The checks for missing registry values in Configuration Editor/Configurator should now be sufficient to reanimate E-APO after an OS upgrade. Also the Configurator did not launch when accepting the question in the Configuration Editor with UAC enabled.
This commit is contained in:
jthedering committed 2015-11-22 20:16:39 +00:00
1 parent 0895d84055
commit a1be4cc70f
32 files changed
+1111 -205

No files matched your search

+20
View File
@@ -30,6 +30,10 @@
#include "DeviceAPOInfo.h"
#include "Editor/AnalysisPlotScene.h"
#include "Editor/AnalysisThread.h"
#include "helpers/RegistryHelper.h"
#define EDITOR_REGPATH USER_REGPATH L"\\Configuration Editor"
#define EDITOR_PER_FILE_REGPATH EDITOR_REGPATH L"\\file-specific"
namespace Ui {
class MainWindow;
@@ -43,8 +47,11 @@ public:
explicit MainWindow(QDir configDir, QWidget *parent = 0);
~MainWindow();
void doChecks();
void runConfigurator();
void load(QString path);
void save(FilterTable* filterTable, QString path);
bool isEmpty();
bool shouldRestart();
protected:
void closeEvent(QCloseEvent* event) override;
@@ -59,6 +66,7 @@ private slots:
void on_actionSave_triggered();
void on_actionSaveAs_triggered();
void on_actionNew_triggered();
void recentFileSelected();
void on_actionCut_triggered();
void on_actionDelete_triggered();
@@ -77,10 +85,18 @@ private slots:
void on_actionToolbar_triggered(bool checked);
void on_actionAnalysisPanel_triggered(bool checked);
void languageSelected(bool selected);
void on_actionResetAllGlobalPreferences_triggered();
void on_actionResetAllFileSpecificPreferences_triggered();
private:
FilterTable* addTab(QString title, QString tooltip);
void getDeviceAndChannelMask(DeviceAPOInfo** selectedDevice, int* channelMask);
bool askForClose(int tabIndex);
void startAnalysis();
void loadPreferences();
void savePreferences();
void updateRecentFiles();
Ui::MainWindow *ui;
@@ -93,6 +109,10 @@ private:
DeviceAPOInfo* defaultOutputDevice;
AnalysisPlotScene* analysisPlotScene;
AnalysisThread* analysisThread;
bool restart = false;
bool noSavePreferences = false;
bool noSaveFilePreferences = false;
QStringList recentFiles;
};
Q_DECLARE_METATYPE(DeviceAPOInfo*)