mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-12-24 11:40:31 -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.
28 lines
554 B
C++
28 lines
554 B
C++
#ifndef CABRILLO_LOG_WINDOW_HPP_
|
|
#define CABRILLO_LOG_WINDOW_HPP_
|
|
|
|
#include "AbstractLogWindow.hpp"
|
|
#include "pimpl_h.hpp"
|
|
|
|
class QSettings;
|
|
class Configuration;
|
|
class QFont;
|
|
class QSqlTableModel;
|
|
|
|
class CabrilloLogWindow final
|
|
: public AbstractLogWindow
|
|
{
|
|
public:
|
|
explicit CabrilloLogWindow (QSettings *, Configuration const *, QSqlTableModel * cabrillo_log_model
|
|
, QWidget * parent = nullptr);
|
|
~CabrilloLogWindow ();
|
|
|
|
private:
|
|
void log_model_changed (int row) override;
|
|
|
|
class impl;
|
|
pimpl<impl> m_;
|
|
};
|
|
|
|
#endif
|