1 //========================================================= 2 // MusE 3 // Linux Music Editor 4 // $Id: comboQuant.h,v 1.1.1.1 2003/10/27 18:54:30 wschweer Exp $ 5 // (C) Copyright 2001 Werner Schweer (ws@seh.de) 6 // 7 // This program is free software; you can redistribute it and/or 8 // modify it under the terms of the GNU General Public License 9 // as published by the Free Software Foundation; version 2 of 10 // the License, or (at your option) any later version. 11 // 12 // This program is distributed in the hope that it will be useful, 13 // but WITHOUT ANY WARRANTY; without even the implied warranty of 14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 // GNU General Public License for more details. 16 // 17 // You should have received a copy of the GNU General Public License 18 // along with this program; if not, write to the Free Software 19 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 20 // 21 //========================================================= 22 23 #ifndef __COMBOQUANT_H__ 24 #define __COMBOQUANT_H__ 25 26 #include <QComboBox> 27 //#include <QWidget> 28 //#include <QTableWidget> 29 30 class QWidget; 31 class QTableWidget; 32 33 namespace MusEGui { 34 35 //--------------------------------------------------------- 36 // ComboQuant 37 //--------------------------------------------------------- 38 39 class ComboQuant : public QComboBox { 40 Q_OBJECT 41 42 QTableWidget* qlist; 43 44 private slots: 45 void activated(int); 46 47 signals: 48 void valueChanged(int); 49 50 public: 51 ComboQuant(QWidget* parent = 0); 52 void setValue(int val); 53 }; 54 55 } 56 57 #endif 58 59