summaryrefslogtreecommitdiff
path: root/muse2/muse/widgets/tb1.h
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2011-05-14 13:29:32 +0000
committerFlorian Jung <flo@windfisch.org>2011-05-14 13:29:32 +0000
commit0ec79fb4c59be4adb77d3dcbc068dee7107ed381 (patch)
treedfe2623fbec584095c1b7462952157b59b19a0bb /muse2/muse/widgets/tb1.h
parent8aed0b79c9b28af69ef67e858992385ea074df63 (diff)
- removed unneccessary _to and _quant* - stuff from piano roll and drum edit
this also involved changing the Toolbar1 - removed unneccessary short cuts: SHRT_OVER_QUANTIZE etc. instead added SHRT_QUANTIZE - changed behaviour for scripts: the "quant"-parameter they get isn't the quant-combo's setting, but the snap-combo's now - changed behaviour for step-recording: the note-length is now the "raster"- value instead of the "quant"-value
Diffstat (limited to 'muse2/muse/widgets/tb1.h')
-rw-r--r--muse2/muse/widgets/tb1.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/muse2/muse/widgets/tb1.h b/muse2/muse/widgets/tb1.h
index fbed13b1..ff31593f 100644
--- a/muse2/muse/widgets/tb1.h
+++ b/muse2/muse/widgets/tb1.h
@@ -26,8 +26,6 @@ class Toolbar1 : public QToolBar {
QToolButton* solo;
PosLabel* pos;
PitchLabel* pitch;
- LabelCombo* quant;
- QTableWidget* qlist;
LabelCombo* raster;
QTableWidget* rlist;
bool showPitch;
@@ -35,25 +33,21 @@ class Toolbar1 : public QToolBar {
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);
+ bool showPitch=true);
void setSolo(bool val);
void setPitchMode(bool flag);
};