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
, unsigned long ctrl
,
44 void on_button_pressed();
49 QDoubleSpinBox number
;
52 void set_slider(LADSPA_Data value
);
55 void on_number_changed();
56 void on_slider_changed();
57 void exchange_control();