1 //=============================================================================
2 //  MuseScore
3 //  Music Composition & Notation
4 //
5 //  Copyright (C) 2018 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 "inspector.h"
14 #include "inspectorPalmMute.h"
15 
16 namespace Ms {
17 
18 //---------------------------------------------------------
19 //   InspectorPalmMute
20 //---------------------------------------------------------
21 
InspectorPalmMute(QWidget * parent)22 InspectorPalmMute::InspectorPalmMute(QWidget* parent)
23    : InspectorTextLineBase(parent)
24       {
25       pm.setupUi(addWidget());
26 
27       const std::vector<InspectorItem> il = {
28             { Pid::PLACEMENT,  0, pm.placement,  pm.resetPlacement             },
29             };
30       const std::vector<InspectorPanel> ppList = {
31             { pm.title, pm.panel },
32             };
33 
34       populatePlacement(pm.placement);
35       mapSignals(il, ppList);
36       }
37 }
38 
39