1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-09-18 18:44:13 +00:00
openmw/apps/opencs/view/doc/sizehint.hpp
elsid dea69b229c
Remove small translation units
Remove .cpp files with small amount of code which don't have additional
includes compared to corresponding .hpp files. This reduces the total
size of preprocessed code of the project and should reduce compilation
time.
2025-08-29 00:41:47 +02:00

26 lines
509 B
C++

#ifndef CSV_DOC_SIZEHINT_H
#define CSV_DOC_SIZEHINT_H
#include <QSize>
#include <QWidget>
namespace CSVDoc
{
class SizeHintWidget : public QWidget
{
QSize mSize;
public:
explicit SizeHintWidget(QWidget* parent = nullptr)
: QWidget(parent)
{
}
~SizeHintWidget() override = default;
QSize sizeHint() const override { return mSize; }
void setSizeHint(const QSize& size) { mSize = size; }
};
}
#endif // CSV_DOC_SIZEHINT_H