#ifndef FOXCALLS_H #define FOXCALLS_H #include #include #include #include namespace Ui { class FoxCalls; } class QSettings; class QFont; class FoxCalls : public QWidget { Q_OBJECT protected: void closeEvent (QCloseEvent *) override; public: explicit FoxCalls(QSettings *, QWidget *parent = 0); ~FoxCalls(); void saveSettings(); void insertText(QString t); private slots: void on_rbCall_toggled(bool b); void on_rbGrid_toggled(bool b); void on_rbSNR_toggled(bool b); void on_rbAge_toggled(bool b); void on_cbReverse_toggled(bool b); void on_sbMaxDB_valueChanged(int n); void on_sbMinDB_valueChanged(int n); bool eventFilter(QObject *obj, QEvent *event); private: bool m_bFirst=true; bool m_bReverse; qint32 m_nToBeCalled; QString m_t0; QStringList m_lines2; QSettings * m_settings; QScopedPointer ui; }; #endif // FOXCALLS_H