1 //=============================================================================
2 //  MuseScore
3 //  Music Composition & Notation
4 //
5 //  Copyright (C) 2011 Werner Schweer and others
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 "inspectorLasso.h"
14 #include "libmscore/lasso.h"
15 
16 namespace Ms {
17 
18 //---------------------------------------------------------
19 //   InspectorLasso
20 //---------------------------------------------------------
21 
InspectorLasso(QWidget * parent)22 InspectorLasso::InspectorLasso(QWidget* parent)
23    : InspectorBase(parent)
24       {
25       b.setupUi(addWidget());
26 
27       iList = {
28             { Pid::LASSO_POS,    0, b.pos,   0 },
29             { Pid::LASSO_SIZE,   0, b.size,  0 },
30             };
31       pList = { { b.title, b.panel } };
32 
33       b.pos->setSuffix(tr("mm"));
34       b.size->setSuffix(tr("mm"));
35 
36       mapSignals();
37       }
38 
39 }
40