wip: endpoint meter
This commit is contained in:
parent
20a82b42d4
commit
6bda4702df
7 changed files with 41 additions and 11 deletions
|
|
@ -27,8 +27,12 @@
|
|||
#include <QToolBar>
|
||||
#include <QWindow>
|
||||
#include <QPainter>
|
||||
#include <QStyle>
|
||||
#include <QStyleOptionComplex>
|
||||
#include <QStyleOptionSlider>
|
||||
#include <QStylePainter>
|
||||
#include <QStyleOptionSlider>
|
||||
|
||||
//#include <QScrollBar>
|
||||
/*
|
||||
* #else
|
||||
|
|
@ -71,12 +75,13 @@ public:
|
|||
|
||||
class MeterSlider : public QSlider {
|
||||
Q_OBJECT
|
||||
private:
|
||||
float peakValue;
|
||||
protected:
|
||||
void paintEvent(QPaintEvent *event) override;
|
||||
|
||||
public:
|
||||
void setPeakValue(float peakValue);
|
||||
using QSlider::QSlider;
|
||||
|
||||
};
|
||||
|
||||
class ExtendedCheckBox : public QCheckBox {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue