diff options
author | Florian Jung <flo@windfisch.org> | 2012-01-18 17:08:55 +0000 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2012-01-18 17:08:55 +0000 |
commit | ba4e43028bf066d1bec367321d8e31aacc5ca530 (patch) | |
tree | 7c63d6faf9feb561380ff57b20dd994d7f147ea6 /muse2/muse/app.cpp | |
parent | d33b1fa0810a3b115939e99cf72e75243a0d385a (diff) |
added sigedit and tempo toolbar
Diffstat (limited to 'muse2/muse/app.cpp')
-rw-r--r-- | muse2/muse/app.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/muse2/muse/app.cpp b/muse2/muse/app.cpp index 6c78eafa..26f2d158 100644 --- a/muse2/muse/app.cpp +++ b/muse2/muse/app.cpp @@ -83,6 +83,7 @@ #include "functions.h" #include "trackdrummapupdater.h" #include "songpos_toolbar.h" +#include "sig_tempo_toolbar.h" namespace MusECore { extern void initMidiSynth(); @@ -685,6 +686,16 @@ MusE::MusE(int /*argc*/, char** /*argv*/) : QMainWindow() songpos_tb->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred); songpos_tb->setContextMenuPolicy(Qt::PreventContextMenu); + QToolBar* tempo_tb; + tempo_tb = addToolBar(tr("Tempo")); + tempo_tb->setObjectName("Tempo"); + tempo_tb->addWidget(new MusEGui::TempoToolbarWidget(tempo_tb)); + + QToolBar* sig_tb; + sig_tb = addToolBar(tr("Signature")); + sig_tb->setObjectName("Signature"); + sig_tb->addWidget(new MusEGui::SigToolbarWidget(tempo_tb)); + tools = addToolBar(tr("File Buttons")); tools->setObjectName("File Buttons"); tools->addAction(fileNewAction); @@ -706,6 +717,8 @@ MusE::MusE(int /*argc*/, char** /*argv*/) : QMainWindow() requiredToolbars.push_back(tools); requiredToolbars.push_back(songpos_tb); + requiredToolbars.push_back(sig_tb); + requiredToolbars.push_back(tempo_tb); optionalToolbars.push_back(undoToolbar); optionalToolbars.push_back(transportToolbar); optionalToolbars.push_back(panicToolbar); |