projects
/
fmit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Import upstream version 0.99.2
[fmit.git]
/
src
/
modules
/
GLFT.h
diff --git
a/src/modules/GLFT.h
b/src/modules/GLFT.h
index
5d27cd3
..
249c60d
100644
(file)
--- a/
src/modules/GLFT.h
+++ b/
src/modules/GLFT.h
@@
-45,8
+45,12
@@
class GLFT : public QGLWidget, public View
bool m_start_move_mouse;
int m_press_x, m_press_y;
bool m_start_move_mouse;
int m_press_x, m_press_y;
- int m_x, m_y;
- double m_z;
+ double m_press_minf, m_press_maxf;
+
+ double m_minf, m_maxf; // [Hz]
+ double m_minA, m_maxA; // [dB or amplitude depending on ]
+ void resetaxis();
+ QString m_text;
public:
GLFT(QWidget* parent);
public:
GLFT(QWidget* parent);
@@
-56,18
+60,16
@@
class GLFT : public QGLWidget, public View
void refreshGraph();
void refreshGraph();
- double m_zp_factor;
+ double m_os;
+ void setSamplingRate(int sr);
// settings
// settings
- QAction* setting_autoScale;
QAction* setting_db_scale;
QAction* setting_db_scale;
- QSpinBox* setting_spinNumComponents;
- virtual void save();
- virtual void load();
- virtual void clearSettings();
+ QSpinBox* setting_winlen;
public slots:
public slots:
- void spinNumComponentsChanged(int num);
+ void spinWinLengthChanged(int num);
+ void dBScaleChanged(bool db);
void initializeGL();
void paintGL();
void resizeGL( int w, int h );
void initializeGL();
void paintGL();
void resizeGL( int w, int h );