mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-04 08:21:17 -05:00
db51726da2
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.
36 lines
637 B
C++
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
|