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 "inspectorMarker.h"
14 #include "libmscore/marker.h"
15 
16 namespace Ms {
17 
18 //---------------------------------------------------------
19 //   inspectorMarker
20 //---------------------------------------------------------
21 
InspectorMarker(QWidget * parent)22 InspectorMarker::InspectorMarker(QWidget* parent)
23    : InspectorTextBase(parent)
24       {
25       m.setupUi(addWidget());
26 
27       const std::vector<InspectorItem> iiList = {
28             { Pid::MARKER_TYPE,        0, m.markerType, 0            },
29             { Pid::LABEL,              0, m.jumpLabel,  0            }
30             };
31       const std::vector<InspectorPanel> ppList = {
32             { m.title, m.panel }
33             };
34       mapSignals(iiList, ppList);
35       connect(t.resetToStyle, SIGNAL(clicked()), SLOT(resetToStyle()));
36       }
37 
38 }
39 
40