mirror of
https://github.com/miek/inspectrum.git
synced 2026-03-06 00:14:20 +01:00
Set a reasonable default spectrogram size
This commit is contained in:
@@ -20,6 +20,10 @@ Spectrogram::~Spectrogram()
|
||||
delete inputSource;
|
||||
}
|
||||
|
||||
QSize Spectrogram::sizeHint() const {
|
||||
return QSize(1024, 2048);
|
||||
}
|
||||
|
||||
void Spectrogram::pickFile()
|
||||
{
|
||||
QString fileName = QFileDialog::getOpenFileName(
|
||||
|
||||
@@ -9,6 +9,7 @@ class Spectrogram : public QWidget {
|
||||
public:
|
||||
Spectrogram();
|
||||
~Spectrogram();
|
||||
QSize sizeHint() const;
|
||||
|
||||
public slots:
|
||||
void pickFile();
|
||||
|
||||
Reference in New Issue
Block a user