kwave  18.07.70
SonagramDialog.h
Go to the documentation of this file.
1 /***************************************************************************
2  SonagramDialog.h - dialog for setting up the sonagram window
3  -------------------
4  begin : Fri Jul 28 2000
5  copyright : (C) 2000 by Thomas Eschenbacher
6  email : Thomas.Eschenbacher@gmx.de
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef SONAGRAM_DIALOG_H
19 #define SONAGRAM_DIALOG_H
20 
21 #include "config.h"
22 
23 #include <QDialog>
24 
25 #include "libkwave/Sample.h"
27 #include "ui_SonagramDlg.h"
28 
29 class QStringList;
30 
31 namespace Kwave
32 {
33 
34  class Plugin;
35 
36  class SonagramDialog: public QDialog, public Ui::SonagramDlg
37  {
38  Q_OBJECT
39 
40  public:
42  explicit SonagramDialog(Kwave::Plugin &p);
43 
45  virtual ~SonagramDialog();
46 
54  void parameters(QStringList &list);
55 
56  public slots:
57 
59  void setPoints(int points);
60 
63 
68  void setColorMode(int color);
69 
71  void setTrackChanges(bool track_changes);
72 
74  void setFollowSelection(bool follow_selection);
75 
76  void setBoxPoints(int num);
77 
78  private slots:
79 
81  void invokeHelp();
82 
83  private:
84 
87 
89  double m_rate;
90  };
91 }
92 
93 #endif /* SONAGRAM_DIALOG_H */
94 
95 //***************************************************************************
96 //***************************************************************************
Definition: App.h:33
window_function_t
void parameters(QStringList &list)
quint64 sample_index_t
Definition: Sample.h:28
SonagramDialog(Kwave::Plugin &p)
void setColorMode(int color)
void setTrackChanges(bool track_changes)
void setBoxPoints(int num)
void setFollowSelection(bool follow_selection)
sample_index_t m_length
void setPoints(int points)
void setWindowFunction(Kwave::window_function_t type)