00001 #ifndef MEASURESECTIONCONSTRAINT_H 00002 #define MEASURESECTIONCONSTRAINT_H 00003 #include "../graphical/TimeConstraint.h" 00011 class MeasureSectionConstraint{ 00012 TimeConstraint * timeConstraints; 00013 QPtrList<MusicSymbol> middleAttachedSymbols; 00017 double xstaffbegin; 00018 bool staffsat; 00022 double lastXnotePos; 00023 double endMeasureSection; 00024 public: 00025 MeasureSectionConstraint(); 00026 void middleAttach(MusicSymbol *); 00027 void finalizeMiddleAttachements(); 00028 void setTimeConstraint(TimeConstraint *); 00029 TimeConstraint * getTimeConstraint(); 00030 double getXStaffBegin(); 00031 //void setXLineBegin(double); 00032 void setXStaffBegin(double); 00033 //void setLastXNotePos(double); 00034 double getLastXNotePos(); 00035 void moveX(double); 00036 void reset(double); 00037 double getEndOfMeasureSection(); 00038 double getBeginNoteOfMeasureSection(); 00039 void setEndOfMeasureSection(double); 00040 QString toString(); 00041 }; 00042 #endif
1.3.6