#include <StaffSection.h>
Public Member Functions | |
| StaffSectionGr (Constraint *, Container *, int staffsection, int measuresection, QString p, QList< MusicSymbol > *, int partIndex, int lineIndex, int pgnb) | |
| float | getHeight () |
| void | update () |
| void | paint () |
| double | y () |
| double | x () |
| MusicSymbol * | buildNote (NoteMusic *) |
| MusicSymbol * | buildClef () |
| MusicSymbol * | buildTime () |
| MusicSymbol * | buildFifths () |
| void | buildStaffSymbol () |
| void | firstPass () |
| void | closeStaffSection () |
It knows its indice of measureSection and staff section.
*
|
||||||||||||||||||||||||||||||||||||||||
|
Constructor for a staff
If I call y() before I build the measure I'm sure that constraint->getYLinesConstraints()->setBeginMeasureSection(lineIndex,partIndex,staffIndex,meaureSection) will not provoque segmenttation fault. That would not be the case if I did not call y before. This is not very nice : To fix. |
|
|
This build the clef symbol, but also build the signature |
|
|
This return the fifth symbol, actual this does not perform anything because you must have called build clef before. |
|
|
Close the the staff section i.e draw the vertical line at the end of the measure symbol. We pass x=0 but indeed it is not necessary to give this argument |
|
|
Build the staff symbol after we drawn all the notes. |
|
|
This build the time symbol. Sometimes there is no time symbol in an attribute that is why the att is tested. After we draw all the attributes we can now set the position from where Time Contrained Symbols should be drawn |
|
|
Close the the staff section i.e draw the vertical line at the end of the measure symbol. |
|
|
|
|
|
if this method still draws nothing at the en of developpement remove it. |
|
|
Those method draw the staff section * |
|
|
|
|
|
|
1.3.6