#pragma once
#include <QTableView>
namespace whittle {
class PanelTableView : public QTableView {
Q_OBJECT
public:
explicit PanelTableView(QWidget* parent = nullptr);
void resetColumnProportions();
protected:
void resizeEvent(QResizeEvent*) override;
private:
void applyProportions();
bool m_applying = false;
bool m_userSized = false;
};
}