Files
qwt/examples/radio/TunerBox.h
2023-10-31 09:22:42 +01:00

39 lines
830 B
C++

/*****************************************************************************
* 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;
};