2018-04-27 23:49:48 -03:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QScrollArea>
|
|
|
|
|
|
|
|
class QResizeEvent;
|
|
|
|
|
|
|
|
class HScrollArea : public QScrollArea {
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2019-06-22 22:13:45 -07:00
|
|
|
inline HScrollArea(QWidget *parent = nullptr) : QScrollArea(parent)
|
2018-04-27 23:49:48 -03:00
|
|
|
{
|
|
|
|
setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
|
|
|
|
}
|
|
|
|
|
|
|
|
protected:
|
|
|
|
virtual void resizeEvent(QResizeEvent *event) override;
|
|
|
|
};
|