~ubuntu-branches/ubuntu/quantal/muse/quantal

« back to all changes in this revision

Viewing changes to widgets/bigtime.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Kobras
  • Date: 2002-04-23 17:28:23 UTC
  • Revision ID: james.westby@ubuntu.com-20020423172823-w8yplzr81a759xa3
Tags: upstream-0.5.2
ImportĀ upstreamĀ versionĀ 0.5.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef __BIGTIME_H__
 
2
#define __BIGTIME_H__
 
3
 
 
4
#include <qwidget.h>
 
5
#include <qlabel.h>
 
6
 
 
7
class MusE;
 
8
 
 
9
//---------------------------------------------------------
 
10
//   BigTime
 
11
//---------------------------------------------------------
 
12
 
 
13
class BigTime : public QWidget {
 
14
      bool tickmode;
 
15
      MusE* seq;
 
16
      Q_OBJECT
 
17
 
 
18
      bool setString(int);
 
19
 
 
20
      QLabel *barLabel, *beatLabel, *tickLabel,
 
21
             *hourLabel, *minLabel, *secLabel, *frameLabel,
 
22
             *sep1, *sep2, *sep3, *sep4, *sep5;
 
23
      int oldbar, oldbeat, oldtick, oldhour, oldmin, oldsec, oldframe;
 
24
 
 
25
   protected:
 
26
      virtual void resizeEvent(QResizeEvent*);
 
27
      virtual void closeEvent(QCloseEvent*);
 
28
 
 
29
   public slots:
 
30
      void setPos(int, int, bool);
 
31
      void setFgColor(QColor);
 
32
      void setBgColor(QColor);
 
33
 
 
34
   public:
 
35
      QColor getFgColor();
 
36
      QColor getBgColor();
 
37
      BigTime(QWidget* parent, MusE* se);
 
38
      };
 
39
 
 
40
#endif