To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / main / PreferencesDialog.h
History | View | Annotate | Download (1.57 KB)
| 1 |
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
|
|---|---|
| 2 |
|
| 3 |
/*
|
| 4 |
Sonic Lineup
|
| 5 |
Comparative visualisation and alignment of related audio recordings
|
| 6 |
Centre for Digital Music, Queen Mary, University of London.
|
| 7 |
|
| 8 |
This program is free software; you can redistribute it and/or
|
| 9 |
modify it under the terms of the GNU General Public License as
|
| 10 |
published by the Free Software Foundation; either version 2 of the
|
| 11 |
License, or (at your option) any later version. See the file
|
| 12 |
COPYING included with this distribution for more information.
|
| 13 |
*/
|
| 14 |
|
| 15 |
#ifndef _PREFERENCES_DIALOG_H_
|
| 16 |
#define _PREFERENCES_DIALOG_H_
|
| 17 |
|
| 18 |
#include <QDialog> |
| 19 |
|
| 20 |
#include "base/Window.h" |
| 21 |
|
| 22 |
class WindowTypeSelector; |
| 23 |
class QPushButton; |
| 24 |
class QLineEdit; |
| 25 |
class QCheckBox; |
| 26 |
|
| 27 |
class PreferencesDialog : public QDialog |
| 28 |
{
|
| 29 |
Q_OBJECT |
| 30 |
|
| 31 |
public: |
| 32 |
PreferencesDialog(QWidget *parent = 0);
|
| 33 |
virtual ~PreferencesDialog(); |
| 34 |
|
| 35 |
public slots: |
| 36 |
void applicationClosing(bool quickly); |
| 37 |
|
| 38 |
protected slots: |
| 39 |
void tuningFrequencyChanged(double freq); |
| 40 |
|
| 41 |
void alignmentProgramToggleClicked();
|
| 42 |
void alignmentProgramButtonClicked();
|
| 43 |
void normaliseAudioToggleClicked();
|
| 44 |
|
| 45 |
void okClicked();
|
| 46 |
void applyClicked();
|
| 47 |
void cancelClicked();
|
| 48 |
|
| 49 |
protected:
|
| 50 |
QPushButton *m_applyButton; |
| 51 |
|
| 52 |
QCheckBox *m_alignmentProgramToggle; |
| 53 |
QLineEdit *m_alignmentProgramEdit; |
| 54 |
QPushButton *m_alignmentProgramButton; |
| 55 |
QCheckBox *m_normaliseAudioToggle; |
| 56 |
|
| 57 |
double m_tuningFrequency;
|
| 58 |
bool m_useAlignmentProgram;
|
| 59 |
QString m_alignmentProgram; |
| 60 |
bool m_normaliseAudio;
|
| 61 |
|
| 62 |
bool m_changesOnRestart;
|
| 63 |
}; |
| 64 |
|
| 65 |
#endif
|