void qxgeditScale::setOffset3 ( unsigned short iOffset3 ) { if (m_iOffset3 != iOffset3) { m_iOffset3 = iOffset3; update(); emit offset3Changed(offset3()); } }
void GUI::selectInstrument(int i){ instrument = instrument_selector.itemData(i).value<Instrument>(); emit lowestNoteChanged(instrument.getLowestNote()); emit offset0Changed(instrument.getOffset(0)); emit offset1Changed(instrument.getOffset(1)); emit offset2Changed(instrument.getOffset(2)); emit offset3Changed(instrument.getOffset(3)); }
void GUI::setOffset3(int offset){ if(instrument.getOffset(3) != offset){ instrument.setOffset(3,offset); emit offset3Changed(offset); } }