summaryrefslogtreecommitdiff
path: root/muse2/muse/widgets/gatetime.h
blob: 5585d6adb4f77c23c4b790b00c1ead1dc4293532 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//=========================================================
//  MusE
//  Linux Music Editor
//    $Id: gatetime.h,v 1.1.1.1.2.1 2008/01/19 13:33:47 wschweer Exp $
//  (C) Copyright 2001 Werner Schweer (ws@seh.de)
//=========================================================

#ifndef __GATETIME_H__
#define __GATETIME_H__

#include "ui_gatetimebase.h"

class QButtonGroup;
class QDialog;

//---------------------------------------------------------
//   GateTime
//---------------------------------------------------------

class GateTime : public QDialog, public Ui::GateTimeBase {
   private:
      Q_OBJECT

      QButtonGroup *rangeGroup;

   protected slots:
      void accept();
      void pullValues();

   public:
      GateTime(QWidget* parent=0);

      int range;
      int rateVal;
      int offsetVal;
      
   public slots:
      int exec();
      };

#endif