QSkinny 0.8.0
C++/Qt UI toolkit
Loading...
Searching...
No Matches
QskProgressBar.h
1/******************************************************************************
2 * QSkinny - Copyright (C) The authors
3 * SPDX-License-Identifier: BSD-3-Clause
4 *****************************************************************************/
5
6#ifndef QSK_PROGRESS_BAR_H
7#define QSK_PROGRESS_BAR_H
8
9#include "QskProgressIndicator.h"
10
11class QSK_EXPORT QskProgressBar : public QskProgressIndicator
12{
13 Q_OBJECT
14
15 Q_PROPERTY( Qt::Orientation orientation READ orientation
16 WRITE setOrientation NOTIFY orientationChanged )
17
19
20 public:
21 QSK_SUBCONTROLS( Groove, Fill )
22
23 QskProgressBar( Qt::Orientation, QQuickItem* parent = nullptr );
24 QskProgressBar( Qt::Orientation, qreal min, qreal max, QQuickItem* parent = nullptr );
25 QskProgressBar( const QskIntervalF&, QQuickItem* parent = nullptr );
26 QskProgressBar( qreal min, qreal max, QQuickItem* parent = nullptr );
27 QskProgressBar( QQuickItem* parent = nullptr );
28
29 ~QskProgressBar() override;
30
32
33 Qt::Orientation orientation() const;
34 void setOrientation( Qt::Orientation orientation );
35
36 Q_SIGNALS:
37 void orientationChanged( Qt::Orientation );
38
39 private:
40 class PrivateData;
41 std::unique_ptr< PrivateData > m_data;
42};
43
44#endif
Variation
Some sort of variation.
Definition QskAspect.h:82
virtual QskAspect::Variation effectiveVariation() const