diff options
Diffstat (limited to 'attic/muse2-oom/muse2/muse/widgets/tb1.h')
| -rw-r--r-- | attic/muse2-oom/muse2/muse/widgets/tb1.h | 61 | 
1 files changed, 61 insertions, 0 deletions
| diff --git a/attic/muse2-oom/muse2/muse/widgets/tb1.h b/attic/muse2-oom/muse2/muse/widgets/tb1.h new file mode 100644 index 00000000..fbed13b1 --- /dev/null +++ b/attic/muse2-oom/muse2/muse/widgets/tb1.h @@ -0,0 +1,61 @@ +//========================================================= +//  MusE +//  Linux Music Editor +//    $Id: tb1.h,v 1.2 2004/01/11 18:55:37 wschweer Exp $ +//  (C) Copyright 1999 Werner Schweer (ws@seh.de) +//========================================================= + +#ifndef __TB1_H__ +#define __TB1_H__ + +#include <QToolBar>      + +class QToolButton; +class QTableWidget; + +class PosLabel; +class PitchLabel; +class Track; +class LabelCombo; + +//--------------------------------------------------------- +//   Toolbar1 +//--------------------------------------------------------- + +class Toolbar1 : public QToolBar {        +      QToolButton* solo; +      PosLabel* pos; +      PitchLabel* pitch; +      LabelCombo* quant; +      QTableWidget* qlist; +      LabelCombo* raster; +      QTableWidget* rlist; +      bool showPitch; +      Q_OBJECT + +   private slots: +      void _rasterChanged(int); +      void _quantChanged(int); + +   public slots: +      void setTime(unsigned); +      void setPitch(int); +      void setInt(int); +      void setRaster(int); +      void setQuant(int); + +   signals: +      void rasterChanged(int); +      void quantChanged(int); +      void soloChanged(bool); +      void toChanged(int); + +   public: +      //Toolbar1(QMainWindow* parent = 0, int r=96, +      Toolbar1(QWidget* parent, int r=96,      +         int q=96, bool showPitch=true); +      void setSolo(bool val); +      void setPitchMode(bool flag); +      }; + +#endif | 
