mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-12 12:52:13 +08:00
16 lines
304 B
C++
16 lines
304 B
C++
#pragma once
|
|
|
|
#include <QScrollArea>
|
|
|
|
class ScrollView : public QScrollArea {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit ScrollView(QWidget *w = nullptr, QWidget *parent = nullptr);
|
|
|
|
// FrogPilot functions
|
|
void restorePosition(int previousScrollPosition);
|
|
protected:
|
|
void hideEvent(QHideEvent *e) override;
|
|
};
|