1 //=============================================================================
2 //  MuseScore
3 //  Music Composition & Notation
4 //
5 //  Copyright (C) 2013 Werner Schweer
6 //
7 //  This program is free software; you can redistribute it and/or modify
8 //  it under the terms of the GNU General Public License version 2
9 //  as published by the Free Software Foundation and appearing in
10 //  the file LICENSE.GPL
11 //=============================================================================
12 
13 #include "inspectorArpeggio.h"
14 #include "libmscore/arpeggio.h"
15 
16 namespace Ms {
17 
18 //---------------------------------------------------------
19 //   InspectorArpeggio
20 //---------------------------------------------------------
21 
InspectorArpeggio(QWidget * parent)22 InspectorArpeggio::InspectorArpeggio(QWidget* parent)
23    : InspectorElementBase(parent)
24       {
25       g.setupUi(addWidget());
26 
27       const std::vector<InspectorItem> iiList = {
28             { Pid::PLAY,            0,    g.playArpeggio, g.resetPlayArpeggio},
29             { Pid::TIME_STRETCH,    0,    g.stretch,      g.resetStretch }
30             };
31       const std::vector<InspectorPanel> ppList = {
32             { g.title, g.panel }
33             };
34 
35       mapSignals(iiList, ppList);
36       }
37 }
38 
39