1 //=============================================================================
2 //  MuseScore
3 //  Music Composition & Notation
4 //
5 //  Copyright (C) 2011 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 "libmscore/notedot.h"
14 #include "inspectorNoteDot.h"
15 
16 namespace Ms {
17 
18 //---------------------------------------------------------
19 //   InspectorNoteDot
20 //---------------------------------------------------------
21 
InspectorNoteDot(QWidget * parent)22 InspectorNoteDot::InspectorNoteDot(QWidget* parent)
23    : InspectorElementBase(parent)
24       {
25       d.setupUi(addWidget());
26 
27       const std::vector<InspectorItem> iiList = {
28             { Pid::DOT_POSITION,   1, d.dotPosition,   d.resetDotPosition   },
29             };
30       const std::vector<InspectorPanel> ppList = {
31             { d.title, d.panel },
32             };
33       mapSignals(iiList, ppList);
34       }
35 }
36 
37