WSJT-X/widgets/FoxLogWindow.hpp
Bill Somerville db51726da2 Move Fox log reset action to Fox log window context menu and allow deletes of QSOs
Move to OnRowChange edit strategy for log tables so that deletes from
view can be implemented cleanly.

Improve layout of log view tables by resizing to contents.
2018-11-25 22:19:41 +00:00

36 lines
637 B
C++

#ifndef FOX_LOG_WINDOW_HPP_
#define FOX_LOG_WINDOW_HPP_
#include "AbstractLogWindow.hpp"
#include "pimpl_h.hpp"
class QSettings;
class Configuration;
class QFont;
class QSqlTableModel;
class FoxLogWindow final
: public AbstractLogWindow
{
Q_OBJECT
public:
explicit FoxLogWindow (QSettings *, Configuration const *, QSqlTableModel * fox_log_model
, QWidget * parent = nullptr);
~FoxLogWindow ();
void callers (int);
void queued (int);
void rate (int);
Q_SIGNAL void reset_log_model () const;
private:
void log_model_changed (int row) override;
class impl;
pimpl<impl> m_;
};
#endif