Qt code refactor w/ functional style
This commit is contained in:
parent
f8171f12f3
commit
f7de5ef803
7 changed files with 207 additions and 201 deletions
|
|
@ -1,4 +1,5 @@
|
|||
#include "qtclasses.h"
|
||||
#include "meterslider.h"
|
||||
#define POLLING_RATE 2
|
||||
|
||||
template <typename T>
|
||||
|
|
@ -103,7 +104,6 @@ void MeterSlider::paintEvent(QPaintEvent *event) {
|
|||
QPainter painter(this);
|
||||
QStyle* stle = QApplication::style();
|
||||
stle->drawComplexControl((QStyle::ComplexControl)CC_MeterSlider, &sliderComplex2, &painter, this);
|
||||
|
||||
|
||||
|
||||
//Q_D(QSlider);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue