mirror of
https://git.wownero.com/wowlet/wowlet.git
synced 2024-08-15 01:03:14 +00:00
133700160a
Co-Authored-By: tobtoht <thotbot@protonmail.com>
35 lines
721 B
C++
35 lines
721 B
C++
// SPDX-License-Identifier: BSD-3-Clause
|
|
// Copyright (c) 2020, 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);
|
|
unsigned int getHeight();
|
|
void hideSlider();
|
|
~RestoreHeightWidget();
|
|
|
|
private slots:
|
|
void onValueChanged(int date);
|
|
|
|
private:
|
|
RestoreHeightLookup *m_restoreHeightLookup = nullptr;
|
|
Ui::RestoreHeightWidget *ui;
|
|
};
|
|
|
|
#endif // RESTOREHEIGHTWIDGET_H
|