Add files from zip
This commit is contained in:
38
examples/radio/TunerBox.h
Normal file
38
examples/radio/TunerBox.h
Normal file
@@ -0,0 +1,38 @@
|
||||
/*****************************************************************************
|
||||
* Qwt Widget Library
|
||||
* Copyright (C) 1997 Josef Wilgen
|
||||
* Copyright (C) 2002 Uwe Rathmann
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the Qwt License, Version 1.0
|
||||
*****************************************************************************/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QFrame>
|
||||
|
||||
class QwtWheel;
|
||||
class QwtSlider;
|
||||
class TuningThermo;
|
||||
|
||||
class TunerBox : public QFrame
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
TunerBox( QWidget* = NULL );
|
||||
|
||||
Q_SIGNALS:
|
||||
void fieldChanged( double f );
|
||||
|
||||
public Q_SLOTS:
|
||||
void setFreq( double frq );
|
||||
|
||||
private Q_SLOTS:
|
||||
void adjustFreq( double frq );
|
||||
|
||||
private:
|
||||
QwtWheel* m_wheelFrequency;
|
||||
TuningThermo* m_thermoTune;
|
||||
QwtSlider* m_sliderFrequency;
|
||||
};
|
||||
Reference in New Issue
Block a user