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 "inspectorText.h"
14 #include "libmscore/score.h"
15 #include "icons.h"
16
17 namespace Ms {
18
19 //---------------------------------------------------------
20 // InspectorText
21 //---------------------------------------------------------
22
InspectorText(QWidget * parent)23 InspectorText::InspectorText(QWidget* parent)
24 : InspectorTextBase(parent)
25 {
26 f.setupUi(addWidget());
27
28 const std::vector<InspectorItem> iiList = {
29 // { Pid::SUB_STYLE, 0, f.style, f.resetStyle },
30 { Pid::SUB_STYLE, 0, f.style, 0 },
31 };
32
33 const std::vector<InspectorPanel> ppList = {
34 { f.title, f.panel }
35 };
36
37 populateStyle(f.style);
38 mapSignals(iiList, ppList);
39 }
40
41 }
42
43