2018-11-11 23:13:23 -05:00
|
|
|
#ifndef CABRILLO_LOG_WINDOW_HPP_
|
|
|
|
#define CABRILLO_LOG_WINDOW_HPP_
|
|
|
|
|
2018-11-22 20:18:39 -05:00
|
|
|
#include "AbstractLogWindow.hpp"
|
|
|
|
#include "pimpl_h.hpp"
|
2018-11-11 23:13:23 -05:00
|
|
|
|
|
|
|
class QSettings;
|
|
|
|
class Configuration;
|
|
|
|
class QFont;
|
2018-11-25 17:19:41 -05:00
|
|
|
class QSqlTableModel;
|
2018-11-11 23:13:23 -05:00
|
|
|
|
|
|
|
class CabrilloLogWindow final
|
2018-11-22 20:18:39 -05:00
|
|
|
: public AbstractLogWindow
|
2018-11-11 23:13:23 -05:00
|
|
|
{
|
|
|
|
public:
|
2018-11-25 17:19:41 -05:00
|
|
|
explicit CabrilloLogWindow (QSettings *, Configuration const *, QSqlTableModel * cabrillo_log_model
|
2018-11-22 20:18:39 -05:00
|
|
|
, QWidget * parent = nullptr);
|
2018-11-11 23:13:23 -05:00
|
|
|
~CabrilloLogWindow ();
|
|
|
|
|
|
|
|
private:
|
2018-11-25 17:19:41 -05:00
|
|
|
void log_model_changed (int row) override;
|
|
|
|
|
2018-11-22 20:18:39 -05:00
|
|
|
class impl;
|
|
|
|
pimpl<impl> m_;
|
2018-11-11 23:13:23 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|