Eneboo - Documentación para desarrolladores
|
#include <mpagecollection.h>
Métodos públicos | |
MPageCollection (QObject *parent=0) | |
MPageCollection (const MPageCollection &mPageCollection) | |
MPageCollection | operator= (const MPageCollection &mPageCollection) |
virtual | ~MPageCollection () |
void | clear () |
void | appendPage () |
QPicture * | getCurrentPage () const |
QPicture * | getFirstPage () |
QPicture * | getPreviousPage () |
QPicture * | getNextPage () |
QPicture * | getLastPage () |
QPicture * | getPageAt (uint i) |
int | getCurrentIndex () const |
void | setCurrentPage (int idx) |
void | setPageSize (int s) |
void | setPageOrientation (int o) |
void | setPageDimensions (QSize dim) |
int | pageSize () const |
int | pageOrientation () const |
QSize | pageDimensions () const |
int | pageCount () const |
bool | printToPos () const |
void | setPrintToPos (bool ptp) |
void | setPageMargins (int top, int left, int bottom, int right) |
void | pageMargins (int *top, int *left, int *bottom, int *right) const |
Kugar report page collection
MPageCollection::MPageCollection | ( | QObject * | parent = 0 | ) |
Constructor
MPageCollection::MPageCollection | ( | const MPageCollection & | mPageCollection | ) |
Copy constructor
MPageCollection::~MPageCollection | ( | ) | [virtual] |
Destructor
void MPageCollection::appendPage | ( | ) |
Appends a new page to the page collection
void MPageCollection::clear | ( | void | ) |
Clears the page collection
int MPageCollection::getCurrentIndex | ( | ) | const [inline] |
Get the index of the current page
QPicture * MPageCollection::getCurrentPage | ( | ) | const [inline] |
Gets the current page in the page collection, the current page may be null
QPicture * MPageCollection::getFirstPage | ( | ) | [inline] |
Gets the first page in the page collection, returns NULL if the list is empty
QPicture * MPageCollection::getLastPage | ( | ) | [inline] |
Gets the last page in the page collection, returns NULL if the list empty
Gets the last page in the page collection, returns NULL if the list is empty
QPicture * MPageCollection::getNextPage | ( | ) | [inline] |
Gets the next page in the page collection, returns NULL if the end of the list has been reached
Gets the page at the given index in the page collection, returns NULL if the list empty
Gets the page at the given index in the page collection, returns NULL if the list is empty
QPicture * MPageCollection::getPreviousPage | ( | ) | [inline] |
Get the previous page in the page collection, returns NULL if the beginning of the list has been reached
MPageCollection MPageCollection::operator= | ( | const MPageCollection & | mPageCollection | ) |
Assignment operator
int MPageCollection::pageCount | ( | ) | const [inline] |
Returns the number of pages in the page collection
QSize MPageCollection::pageDimensions | ( | ) | const [inline] |
Returns the page dimensions
void MPageCollection::pageMargins | ( | int * | top, |
int * | left, | ||
int * | bottom, | ||
int * | right | ||
) | const [inline] |
Return page margins
int MPageCollection::pageOrientation | ( | ) | const [inline] |
Returns the page orientation
int MPageCollection::pageSize | ( | ) | const [inline] |
Returns the page size
bool MPageCollection::printToPos | ( | ) | const [inline] |
Returns if print to POS printer
void MPageCollection::setPageDimensions | ( | QSize | dim | ) | [inline] |
Sets the page dimensions
Set page margins
void MPageCollection::setPageOrientation | ( | int | o | ) | [inline] |
Sets the page orientation
void MPageCollection::setPageSize | ( | int | s | ) | [inline] |
Sets the page size