InstrumentMiscView.h 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. /*
  2. * InstrumentMiscView.h - widget in instrument-track-window for setting up
  3. * miscellaneous options not covered by other tabs
  4. *
  5. * Copyright (c) 2005-2014 Tobias Doerffel <tobydox/at/users.sourceforge.net>
  6. * Copyright (c) 2020 Martin Pavelek <he29.HS/at/gmail.com>
  7. *
  8. * This file is part of LMMS - https://lmms.io
  9. *
  10. * This program is free software; you can redistribute it and/or
  11. * modify it under the terms of the GNU General Public
  12. * License as published by the Free Software Foundation; either
  13. * version 2 of the License, or (at your option) any later version.
  14. *
  15. * This program is distributed in the hope that it will be useful,
  16. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  18. * General Public License for more details.
  19. *
  20. * You should have received a copy of the GNU General Public
  21. * License along with this program (see COPYING); if not, write to the
  22. * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
  23. * Boston, MA 02110-1301 USA.
  24. *
  25. */
  26. #ifndef INSTRUMENT_MISC_VIEW_H
  27. #define INSTRUMENT_MISC_VIEW_H
  28. #include <QWidget>
  29. class ComboBox;
  30. class GroupBox;
  31. class InstrumentTrack;
  32. class LedCheckBox;
  33. class InstrumentMiscView : public QWidget
  34. {
  35. Q_OBJECT
  36. public:
  37. InstrumentMiscView(InstrumentTrack *it, QWidget *parent);
  38. GroupBox *pitchGroupBox() {return m_pitchGroupBox;}
  39. GroupBox *microtunerGroupBox() {return m_microtunerGroupBox;}
  40. ComboBox *scaleCombo() {return m_scaleCombo;}
  41. ComboBox *keymapCombo() {return m_keymapCombo;}
  42. LedCheckBox *rangeImportCheckbox() {return m_rangeImportCheckbox;}
  43. private:
  44. GroupBox *m_pitchGroupBox;
  45. GroupBox *m_microtunerGroupBox;
  46. ComboBox *m_scaleCombo;
  47. ComboBox *m_keymapCombo;
  48. LedCheckBox *m_rangeImportCheckbox;
  49. };
  50. #endif