/usr/include/CLAM/qtmonitors/ControlSenderWidget.hxx is in libclam-qtmonitors-dev 1.4.0-3.1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | #ifndef ControlSenderWidget_hxx
#define ControlSenderWidget_hxx
#include <CLAM/CLAM_Math.hxx>
#include <CLAM/Processing.hxx>
#include <CLAM/OutControlSender.hxx>
#include <QtGui/QWidget>
class QDial;
class QSlider;
class QDoubleSpinBox;
class QAbstractSlider;
class ControlSenderWidget : public QWidget
{
Q_OBJECT
public:
ControlSenderWidget(CLAM::Processing * processing);
~ControlSenderWidget();
protected:
void init();
void createDial();
void createSlider(Qt::Orientation);
void createSpinBox();
void setupSlider(QAbstractSlider *slider);
double mapValue(double value);
private slots:
void stepControlChanged(int value);
void continuousControlChanged(double value);
private:
QDial * _dial;
QSlider * _slider;
QDoubleSpinBox * _spinBox;
CLAM::OutControlSender * _sender;
double _min;
double _default;
double _max;
double _step;
bool _updating;
int _mappingMode;
};
#endif//ControlSenderWidget_hxx
|