Chris@311: /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ Chris@311: Chris@311: /* Chris@311: Sonic Visualiser Chris@311: An audio file viewer and annotation editor. Chris@311: Centre for Digital Music, Queen Mary, University of London. Chris@311: This file copyright 2007 QMUL. Chris@311: Chris@311: This program is free software; you can redistribute it and/or Chris@311: modify it under the terms of the GNU General Public License as Chris@311: published by the Free Software Foundation; either version 2 of the Chris@311: License, or (at your option) any later version. See the file Chris@311: COPYING included with this distribution for more information. Chris@311: */ Chris@311: Chris@1407: #ifndef SV_LABEL_COUNTER_INPUT_DIALOG_H Chris@1407: #define SV_LABEL_COUNTER_INPUT_DIALOG_H Chris@311: Chris@311: #include Chris@311: #include "data/model/Labeller.h" Chris@311: Chris@311: class LabelCounterInputDialog : public QDialog Chris@311: { Chris@311: Q_OBJECT Chris@311: Chris@311: public: Chris@311: LabelCounterInputDialog(Labeller *labeller, QWidget *parent); Chris@311: virtual ~LabelCounterInputDialog(); Chris@311: Chris@311: protected slots: Chris@311: void counterChanged(int); Chris@311: void secondCounterChanged(int); Chris@311: void cancelClicked(); Chris@311: Chris@311: protected: Chris@311: Labeller *m_labeller; Chris@311: int m_origCounter; Chris@311: int m_origSecondCounter; Chris@311: }; Chris@311: Chris@311: #endif