You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wowlet/src/widgets/restoreheightwidget.h

36 lines
744 B

// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef RESTOREHEIGHTWIDGET_H
#define RESTOREHEIGHTWIDGET_H
#include <QWidget>
#include <QItemSelection>
#include "appcontext.h"
namespace Ui {
class RestoreHeightWidget;
}
class RestoreHeightWidget : public QWidget
{
Q_OBJECT
public:
explicit RestoreHeightWidget(QWidget *parent = nullptr);
void initRestoreHeights(RestoreHeightLookup *lookup);
void setHeight(int height);
int getHeight();
void hideSlider();
~RestoreHeightWidget() override;
private:
void updateTimestamp(int date);
RestoreHeightLookup *m_restoreHeightLookup = nullptr;
Ui::RestoreHeightWidget *ui;
};
#endif // RESTOREHEIGHTWIDGET_H