Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
233 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
//============================================================================= | ||
// MuseScore | ||
// Music Composition & Notation | ||
// $Id:$ | ||
// | ||
// Copyright (C) 2013 Werner Schweer | ||
// | ||
// This program is free software; you can redistribute it and/or modify | ||
// it under the terms of the GNU General Public License version 2 | ||
// as published by the Free Software Foundation and appearing in | ||
// the file LICENSE.GPL | ||
//============================================================================= | ||
|
||
#include "inspectorArpeggio.h" | ||
#include "musescore.h" | ||
#include "libmscore/arpeggio.h" | ||
#include "libmscore/score.h" | ||
|
||
namespace Ms { | ||
|
||
//--------------------------------------------------------- | ||
// InspectorArpeggio | ||
//--------------------------------------------------------- | ||
|
||
InspectorArpeggio::InspectorArpeggio(QWidget* parent) | ||
: InspectorBase(parent) | ||
{ | ||
e.setupUi(addWidget()); | ||
g.setupUi(addWidget()); | ||
|
||
iList = { | ||
{ P_ID::COLOR, 0, false, e.color, e.resetColor }, | ||
{ P_ID::VISIBLE, 0, false, e.visible, e.resetVisible }, | ||
{ P_ID::USER_OFF, 0, false, e.offsetX, e.resetX }, | ||
{ P_ID::USER_OFF, 1, false, e.offsetY, e.resetY }, | ||
|
||
{ P_ID::PLAY, 0, 0, g.playArpeggio, g.resetPlayArpeggio} | ||
}; | ||
|
||
mapSignals(); | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
//============================================================================= | ||
// MuseScore | ||
// Music Composition & Notation | ||
// $Id:$ | ||
// | ||
// Copyright (C) 2013 Werner Schweer and others | ||
// | ||
// This program is free software; you can redistribute it and/or modify | ||
// it under the terms of the GNU General Public License version 2 | ||
// as published by the Free Software Foundation and appearing in | ||
// the file LICENSE.GPL | ||
//============================================================================= | ||
|
||
#ifndef __INSPECTOR_ARPEGGIO_H__ | ||
#define __INSPECTOR_ARPEGGIO_H__ | ||
|
||
#include "inspector.h" | ||
#include "ui_inspector_arpeggio.h" | ||
#include "libmscore/property.h" | ||
|
||
namespace Ms { | ||
|
||
//--------------------------------------------------------- | ||
// InspectorArpeggio | ||
//--------------------------------------------------------- | ||
|
||
class InspectorArpeggio : public InspectorBase { | ||
Q_OBJECT | ||
|
||
UiInspectorElement e; | ||
Ui::InspectorArpeggio g; | ||
|
||
public: | ||
InspectorArpeggio(QWidget* parent); | ||
}; | ||
|
||
|
||
} // namespace Ms | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ui version="4.0"> | ||
<class>InspectorArpeggio</class> | ||
<widget class="QWidget" name="InspectorArpeggio"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>0</x> | ||
<y>0</y> | ||
<width>270</width> | ||
<height>151</height> | ||
</rect> | ||
</property> | ||
<property name="windowTitle"> | ||
<string/> | ||
</property> | ||
<property name="accessibleName"> | ||
<string>Glissando Inspector</string> | ||
</property> | ||
<layout class="QVBoxLayout" name="verticalLayout"> | ||
<property name="spacing"> | ||
<number>0</number> | ||
</property> | ||
<property name="leftMargin"> | ||
<number>0</number> | ||
</property> | ||
<property name="topMargin"> | ||
<number>0</number> | ||
</property> | ||
<property name="rightMargin"> | ||
<number>0</number> | ||
</property> | ||
<property name="bottomMargin"> | ||
<number>0</number> | ||
</property> | ||
<item> | ||
<widget class="QLabel" name="elementName"> | ||
<property name="font"> | ||
<font> | ||
<weight>75</weight> | ||
<bold>true</bold> | ||
</font> | ||
</property> | ||
<property name="accessibleName"> | ||
<string/> | ||
</property> | ||
<property name="text"> | ||
<string>Arpeggio</string> | ||
</property> | ||
<property name="alignment"> | ||
<set>Qt::AlignCenter</set> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QFrame" name="frame"> | ||
<property name="minimumSize"> | ||
<size> | ||
<width>0</width> | ||
<height>6</height> | ||
</size> | ||
</property> | ||
<property name="frameShape"> | ||
<enum>QFrame::HLine</enum> | ||
</property> | ||
<property name="frameShadow"> | ||
<enum>QFrame::Raised</enum> | ||
</property> | ||
<property name="lineWidth"> | ||
<number>2</number> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<layout class="QGridLayout" name="gridLayout"> | ||
<property name="leftMargin"> | ||
<number>3</number> | ||
</property> | ||
<property name="rightMargin"> | ||
<number>3</number> | ||
</property> | ||
<property name="horizontalSpacing"> | ||
<number>3</number> | ||
</property> | ||
<property name="verticalSpacing"> | ||
<number>0</number> | ||
</property> | ||
<item row="0" column="0"> | ||
<widget class="QCheckBox" name="playArpeggio"> | ||
<property name="text"> | ||
<string>Play</string> | ||
</property> | ||
<property name="checked"> | ||
<bool>false</bool> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="0" column="1"> | ||
<widget class="QToolButton" name="resetPlayArpeggio"> | ||
<property name="accessibleName"> | ||
<string>Reset Play value</string> | ||
</property> | ||
<property name="text"> | ||
<string notr="true">...</string> | ||
</property> | ||
</widget> | ||
</item> | ||
</layout> | ||
</item> | ||
</layout> | ||
</widget> | ||
<resources/> | ||
<connections/> | ||
</ui> |