Searched refs:SelState (Results 1 – 16 of 16) sorted by relevance
75 enum class SelState : char { enum144 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()
89 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 …]
3070 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()
513 _selection.setState(SelState::RANGE); in pasteStaff()
3297 if (selection().state() != SelState::RANGE) { in localTimeDelete()
71 void changeSelection(SelState);
152 score->selection().setState(SelState::RANGE); in oscSelectMeasure()158 score->selection().setState(SelState::RANGE); in oscSelectMeasure()
220 void changeSelection(SelState);
283 void DrumrollEditor::changeSelection(SelState) in changeSelection() argument
118 enum class SelState : char;596 void selectionChanged(SelState);
1260 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 …]
408 e->score()->selection().setState(SelState::LIST); in mousePressEventNormal()
1818 void Timeline::changeSelection(SelState) in changeSelection() argument2537 changeSelection(SelState::NONE); in setScore()
5460 case SelState::NONE: in updateEditElement()5461 case SelState::RANGE: in updateEditElement()5464 case SelState::LIST: in updateEditElement()
98 void changeSelection(SelState);
733 void PianorollEditor::changeSelection(SelState) in changeSelection() argument