1
/***************************************************************************
2
csquelch.h - description
5
copyright : (C) 2000 by Volker Schroer
7
***************************************************************************/
9
/***************************************************************************
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
15
* based on the work of Moe Wheatley, AE4JY *
16
***************************************************************************/
24
#include <qgroupbox.h>
25
#include <qradiobutton.h>
27
#include "parameter.h"
29
extern Parameter settings;
31
*@author Volker Schroer
34
class mySlider : public QSlider {
37
mySlider(QWidget *parent, const char *name);
42
public slots: // Public slots
43
/** sets a new Threshold for Squelch */
44
void newThreshold(int value);
48
/** Painter for Squelch */
49
void paintEvent(QPaintEvent *);
53
class CSquelch : public QGroupBox {
56
CSquelch(QWidget *parent, const char *name = 0);
58
/** Status of Squelch*/
60
void setSquelchLevel(int);
61
void setSquelchStatus(bool);
65
void turnOnOffSquelch();