mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-16 09:01:59 -05:00
b8e4517718
This include inverting the order of table view rows so the newest is at the top, without that the Qt MVC interactions when using a database table based model is too slow and complex to manage. The table views now have sort by column capability in the normal way (click column header to reverse sort order) for timely logging and non-disruption of Tx starts the log view should be sorted in descending time order and scrolled to the last row added. Without that Fox and contest logging will work but serious delays may be invoked that disrupt operation.
53 lines
978 B
C++
53 lines
978 B
C++
#ifndef FASTGRAPH_H_
|
|
#define FASTGRAPH_H_
|
|
|
|
#include <QDialog>
|
|
#include <QScopedPointer>
|
|
|
|
namespace Ui {
|
|
class FastGraph;
|
|
}
|
|
|
|
class QSettings;
|
|
class QCloseEvent;
|
|
class QKeyEvent;
|
|
|
|
class FastGraph : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit FastGraph(QSettings *, QWidget *parent = 0);
|
|
~FastGraph ();
|
|
|
|
void plotSpec(bool diskData, int UTCdisk);
|
|
void saveSettings();
|
|
void setTRPeriod(int n);
|
|
void setMode(QString mode);
|
|
|
|
signals:
|
|
void fastPick(int x0, int x1, int y);
|
|
|
|
private slots:
|
|
void on_gainSlider_valueChanged(int value);
|
|
void on_zeroSlider_valueChanged(int value);
|
|
void on_greenZeroSlider_valueChanged(int value);
|
|
void on_pbAutoLevel_clicked();
|
|
|
|
protected:
|
|
void closeEvent (QCloseEvent *) override;
|
|
void keyPressEvent( QKeyEvent *e ) override;
|
|
|
|
private:
|
|
QSettings * m_settings;
|
|
float m_ave;
|
|
qint32 m_TRperiod;
|
|
|
|
QScopedPointer<Ui::FastGraph> ui;
|
|
};
|
|
|
|
extern float fast_green[703];
|
|
extern int fast_jh;
|
|
|
|
#endif // FASTGRAPH_H
|