carrot/selfdrive/ui/qt/widgets/scrollview.h

17 lines
305 B
C
Raw Normal View History

#pragma once
#include <QScrollArea>
class ScrollView : public QScrollArea {
Q_OBJECT
public:
explicit ScrollView(QWidget *w = nullptr, QWidget *parent = nullptr);
2024-05-09 19:49:07 -07:00
// FrogPilot functions
void restorePosition(int previousScrollPosition);
protected:
void hideEvent(QHideEvent *e) override;
};