Lines Matching refs:m_scene

27       m_scene(nullptr)
36 delete m_scene;
41 PianoScene * oldScene = m_scene;
42 m_scene = new PianoScene(startKey, numKeys, oldScene, this);
44 connect(m_scene, SIGNAL(noteOn(int,int)), SIGNAL(noteOn(int,int)));
45 connect(m_scene, SIGNAL(noteOff(int)), SIGNAL(noteOff(int)));
46 connect(m_scene, SIGNAL(mouseOver(int, int)), SIGNAL(mouseOver(int, int)));
47 connect(m_scene, SIGNAL(polyPressureChanged(int, int)), SIGNAL(polyPressureChanged(int, int)));
48 setScene(m_scene);
69 fitInView(m_scene->sceneRect(), Qt::KeepAspectRatio);
83 m_scene->setColorationType((ColorationType)value.toInt());
85 case PROPERTY_COLOR_BLACK_KEYS: m_scene->setColor(-2, value.value<QColor>()); break;
86 case PROPERTY_COLOR_WHITE_KEYS: m_scene->setColor(-1, value.value<QColor>()); break;
87 case PROPERTY_COLOR_1: m_scene->setColor(0, value.value<QColor>()); break;
92 m_scene->setTranspose(value.toInt());
95 m_scene->setChannel(value.toInt());
98 m_scene->setVelocity(value.toInt());
109 vRet = m_scene->startKey();
112 vRet = m_scene->numKeys();
115 vRet = (int)m_scene->getColorationType();
117 case PROPERTY_COLOR_BLACK_KEYS: vRet = m_scene->getColor(-2); break;
118 case PROPERTY_COLOR_WHITE_KEYS: vRet = m_scene->getColor(-1); break;
119 case PROPERTY_COLOR_1: vRet = m_scene->getColor(0); break;
124 vRet = m_scene->getTranspose();
127 vRet = m_scene->getChannel();
130 vRet = m_scene->getVelocity();
143 fitInView(m_scene->sceneRect(), Qt::KeepAspectRatio);
149 if (startKey != m_scene->startKey())
151 initScene(startKey, m_scene->numKeys());
152 fitInView(m_scene->sceneRect(), Qt::KeepAspectRatio);
158 if (numKeys != m_scene->numKeys())
160 initScene(m_scene->startKey(), numKeys);
161 fitInView(m_scene->sceneRect(), Qt::KeepAspectRatio);
172 return m_scene->getRatio();
180 m_scene->addCustomColor(key, value.value<QColor>());
183 m_scene->addMarker(key, (MarkerType)value.toInt());
190 m_scene->resetCustomization(key, type);
195 m_scene->clearCustomization();
200 m_scene->showNoteOn(midiNote, vel, channel);
205 m_scene->showNoteOff(midiNote, channel);
211 m_scene->keyNoteOn(key, velocity);
213 m_scene->keyNoteOff(key);
218 m_scene->triggerGlowEffect();
223 m_scene->updateMapping();