示例#1
0
void qxgeditScale::setOffset3 ( unsigned short iOffset3 )
{
	if (m_iOffset3 != iOffset3) {
		m_iOffset3  = iOffset3;
		update();
		emit offset3Changed(offset3());
	}
}
示例#2
0
文件: gui.cpp 项目: curran/Fretboard
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));
}
示例#3
0
文件: gui.cpp 项目: curran/Fretboard
void GUI::setOffset3(int offset){
  if(instrument.getOffset(3) != offset){
    instrument.setOffset(3,offset);
    emit offset3Changed(offset);
  }
}