Exemple #1
0
void qxgeditScale::setOffset1 ( unsigned short iOffset1 )
{
	if (m_iOffset1 != iOffset1) {
		m_iOffset1  = iOffset1;
		update();
		emit offset1Changed(offset1());
	}
}
Exemple #2
0
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));
}
Exemple #3
0
void GUI::setOffset1(int offset){
  if(instrument.getOffset(1) != offset){
    instrument.setOffset(1,offset);
    emit offset1Changed(offset);
  }
}