Home
last modified time | relevance | path

Searched refs:SelState (Results 1 – 16 of 16) sorted by relevance

/dports/audio/musescore/MuseScore-3.6.1/libmscore/
H A Dselect.h75 enum class SelState : char { enum
144 SelState _state;
174 Selection() { _score = 0; _state = SelState::NONE; } in Selection()
177 SelState state() const { return _state; } in state()
178 bool isNone() const { return _state == SelState::NONE; } in isNone()
179 bool isRange() const { return _state == SelState::RANGE; } in isRange()
180 bool isList() const { return _state == SelState::LIST; } in isList()
181 void setState(SelState s);
195 …bool isSingle() const { return (_state == SelState::LIST) && (_el.size() == 1); } in isSingle()
H A Dselect.cpp89 case SelState::RANGE: in tickStart()
91 case SelState::LIST: { in tickStart()
107 case SelState::RANGE: { in tickEnd()
116 case SelState::LIST: { in tickEnd()
352 setState(SelState::NONE); in clear()
644 setState(SelState::RANGE); in setRange()
665 setState(SelState::RANGE); in setRangeTicks()
738 case SelState::NONE: in mimeType()
740 case SelState::LIST: in mimeType()
755 case SelState::LIST: in mimeData()
[all …]
H A Dscore.cpp3070 SelState selState = _selection.state(); in selectSingle()
3073 selState = SelState::NONE; in selectSingle()
3084 selState = SelState::LIST; in selectSingle()
3117 SelState selState = _selection.state(); in selectAdd()
3133 selState = SelState::RANGE; in selectAdd()
3139 selState = SelState::LIST; in selectAdd()
3528 _selection.setState(SelState::NONE); in lassoSelectEnd()
3532 _selection.setState(SelState::LIST); in lassoSelectEnd()
3559 _selection.setState(SelState::RANGE); in lassoSelectEnd()
H A Dpaste.cpp513 _selection.setState(SelState::RANGE); in pasteStaff()
H A Dedit.cpp3297 if (selection().state() != SelState::RANGE) { in localTimeDelete()
/dports/audio/musescore/MuseScore-3.6.1/mscore/
H A Ddrumroll.h71 void changeSelection(SelState);
H A Dosc.cpp152 score->selection().setState(SelState::RANGE); in oscSelectMeasure()
158 score->selection().setState(SelState::RANGE); in oscSelectMeasure()
H A Dtimeline.h220 void changeSelection(SelState);
H A Ddrumroll.cpp283 void DrumrollEditor::changeSelection(SelState) in changeSelection() argument
H A Dmusescore.h118 enum class SelState : char;
596 void selectionChanged(SelState);
H A Dmusescore.cpp1260 selectionChanged(SelState::NONE); in MuseScore()
2389 void MuseScore::selectionChanged(SelState selectionState) in selectionChanged()
2391 bool enable = selectionState != SelState::NONE; in selectionChanged()
2394 getAction("select-similar-range")->setEnabled(selectionState == SelState::RANGE); in selectionChanged()
4342 a->setEnabled(cs && cs->selection().state() != SelState::NONE); in changeState()
4346 a->setEnabled(cs && cs->selection().state() == SelState::RANGE); in changeState()
5719 SelState ss = score->selection().state(); in selectSimilar()
5731 SelState ss = score->selection().state(); in selectSimilarInRange()
5815 SelState ss = score->selection().state(); in selectElementDialog()
6117 SelState ss = cs->selection().state(); in endCmd()
[all …]
H A Devents.cpp408 e->score()->selection().setState(SelState::LIST); in mousePressEventNormal()
H A Dtimeline.cpp1818 void Timeline::changeSelection(SelState) in changeSelection() argument
2537 changeSelection(SelState::NONE); in setScore()
H A Dscoreview.cpp5460 case SelState::NONE: in updateEditElement()
5461 case SelState::RANGE: in updateEditElement()
5464 case SelState::LIST: in updateEditElement()
/dports/audio/musescore/MuseScore-3.6.1/mscore/pianoroll/
H A Dpianoroll.h98 void changeSelection(SelState);
H A Dpianoroll.cpp733 void PianorollEditor::changeSelection(SelState) in changeSelection() argument