blob: f6d9404a0ea316009ebadc7805cd1c19edc829a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// Copyright (C) 2022 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
#ifndef SLIDERWRAPPER_H
#define SLIDERWRAPPER_H
#include <QObject>
#include <QSlider>
class SliderWrapper : public QObject
{
Q_OBJECT
public:
explicit SliderWrapper(QSlider *slider);
public Q_SLOTS:
void setEnabled(int enabled);
private:
QSlider *m_slider = nullptr;
};
#endif // SLIDERWRAPPER_H
|