1 // qjackspa.h - include file for qjackspa.cpp
2 // Copyright © 2013 Géraud Meyer <graud@gmx.com>
4 // This file is part of ng-jackspa.
6 // ng-jackspa is free software; you can redistribute it and/or modify it under
7 // the terms of the GNU General Public License version 2 as published by the
8 // Free Software Foundation.
10 // This program is distributed in the hope that it will be useful, but WITHOUT
11 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
15 // You should have received a copy of the GNU General Public License along
16 // with ng-jackspa. If not, see <http://www.gnu.org/licenses/>.
23 #include <QtGui/QWidget>
24 #include <QtGui/QApplication>
25 #include <QtGui/QMessageBox>
26 #include <QtGui/QScrollArea>
27 #include <QtGui/QGridLayout>
28 #include <QtGui/QPushButton>
29 #include <QtGui/QLabel>
30 #include <QtGui/QSpinBox>
31 #include <QtGui/QSlider>
34 class ControlLayout
: public QGridLayout
39 ControlLayout(state_t
*state
, unsigned long port
, QWidget
*parent
= 0);
42 void on_button_pressed();
47 QDoubleSpinBox number
;
50 void set_slider(LADSPA_Data value
);
53 void on_number_changed();
54 void on_slider_changed();
55 void exchange_control();