Main Page | Modules | Class Hierarchy | Class List | File List | Class Members | Related Pages

PageGr Class Reference
[Layout]

#include <Page.h>

Inheritance diagram for PageGr:

Graphical List of all members.

Public Member Functions

 PageGr (Graphical *p, Container *, int fisrtMeasureSectionIndex, int pagenb,MarginPage *margins)
LineGrgetLine (int index)
void buildHeader ()
int getNextMeasureSectionIndex ()
void addSymbol (MusicSymbol *)
void update ()
void paint ()

Detailed Description

The class PageGr has a score parent. It reresent a single page.


Constructor & Destructor Documentation

PageGr::PageGr Graphical p,
Container c,
int  firstMSI,
int  pgnb,
MarginPage pmargins
 

Constructor of a page

Parameters:
p I dont remember what this parameter is for
c The container (One for all the score)
w The witdht of the page
h the height of the page
pgnb the page number Here I build the constraint and set the factory. I think this would be nicer if I put the constraint in the Container Because the construction of the factory is tied to the Construction of the constraint There should be no setFactory function.

Here whe define the increment of the line It depends of the height of the staff section so this is to do.


Member Function Documentation

void PageGr::addSymbol MusicSymbol ms  ) 
 

This add a music symbo to the page

void PageGr::buildHeader  ) 
 

This build the header

Build the creator symbols

LineGr * PageGr::getLine int  i  ) 
 

Returns:
the specified line at index

int PageGr::getNextMeasureSectionIndex  ) 
 

Returns:
the last measure section index in the measure

void PageGr::paint  )  [virtual]
 

Relay the paint event to the children lines

Implements Graphical.

void PageGr::update  )  [virtual]
 

This updates the lines *

Reimplemented from Graphical.


The documentation for this class was generated from the following files:
Generated on Tue Jun 1 21:13:35 2004 for Alternate Take by doxygen 1.3.6