#include <pagespace.h>
Public Slots | |
| QStringList | getAllUnits () const |
| QStringList | getAllUnitIds () const |
| bool | setDefaultUnits (const QString dunits=QString::null) |
| QString | getDefaultUnits () const |
| QString | getDescriptionForUnit (const QString _unit) const |
| QString | getUnitFromAlias (const QString _unit) const |
| double | convertUnits (double num, const QString fromUnits=QString::null, const QString toUnits=QString::null) const |
| double | convertFromUnitsToPoint (double num, const QString &fromUnits) const |
| double | convertFromPointToUnits (double num, const QString &toUnits) const |
| void | setResizingZone (int width) |
| int | getResizingZone () |
| void | refresh (QSPage *pageToView=NULL, QSPdf *pdf=NULL) |
| void | refresh (QSPage *pageToView, QObject *pdf) |
| void | refresh (int pageToView, QSPdf *pdf=NULL) |
| void | refresh (int pageToView, QObject *pdf) |
| void | hidePageNumberAndPosition () |
| void | showPageNumberAndPosition () |
| void | setSelectionMode (QString mode, QString drawingObject=QString::null, QString scriptFncAtMouseRelease=QString::null, QString scriptFncAtMoveSelectedObjects=QString::null, QString scriptFncAtResizeSelectedObjects=QString::null) |
| void | setSelectArea (int left, int top, int right, int bottom) |
| void | selectObjectOnPage (const std::vector< boost::shared_ptr< PdfOperator > > &ops) |
| void | addSelectedObjectOnPage (const std::vector< boost::shared_ptr< PdfOperator > > &ops) |
| void | unselectObjectOnPage () |
| bool | isSomeoneSelected () |
| float | getZoomFactor () |
| void | setZoomFactor (float set_zoomFactor) |
| void | zoomTo (int percentage) |
| void | zoomIn (float step=0.1) |
| void | zoomOut (float step=0.1) |
| void | firstPage () |
| void | prevPage () |
| void | nextPage () |
| void | lastPage () |
| bool | saveImage (const QString &filename, const char *format, int quality=-1, bool onlySelectedArea=false) |
| bool | saveImageWithDialog (bool onlySelectedArea=false) |
| double | convertPixmapPosToPdfPos_x (double fromX, double fromY) |
| double | convertPixmapPosToPdfPos_y (double fromX, double fromY) |
| double | convertPdfPosToPixmapPos_x (double fromX, double fromY) |
| double | convertPdfPosToPixmapPos_y (double fromX, double fromY) |
| int | findText (QString &text, bool startAtTop=true, double xStart=0, double yStart=0, double xEnd=-1, double yEnd=-1) |
| QMainWindow * | getTextLine (int x, int y, int fontsize=12, const QString &fontName=QString::null) |
Signals | |
| void | changedPageTo (const QSPage &page, int numberOfPage) |
| void | changedZoomFactorTo (float zoom) |
| void | changeSelection (std::vector< boost::shared_ptr< PdfOperator > > ops) |
| void | changeSelection (std::vector< boost::shared_ptr< CAnnotation > > annots) |
| void | changeMousePosition (double x, double y) |
| void | popupMenu (const QPoint &pagePos) |
| void | executeCommand (QString cmd) |
| void | deleteSelection () |
Public Member Functions | |
| PageSpace (QWidget *parent=0, const char *name=0) | |
| virtual | ~PageSpace () |
| void | convertPixmapPosToPdfPos (const QPoint &pos, Point &pdfPos) |
| void | convertPdfPosToPixmapPos (const Point &pdfPos, QPoint &pos) |
Private Slots | |
| void | newSelection (const std::vector< boost::shared_ptr< PdfOperator > > &objects) |
| void | newSelection (const std::vector< boost::shared_ptr< CAnnotation > > &objects) |
| void | requestPopupMenu (const QPoint &p) |
| void | showMousePosition (double x, double y) |
Private Attributes | |
| QLabel * | pageNumber |
| QLabel * | mousePositionOnPage |
| PageViewS * | pageImage |
| QVBoxLayout * | vBox |
| QHBoxLayout * | hBox |
| Q_ScrollView * | scrollPageSpace |
| QSPdf * | actualPdf |
| boost::shared_ptr< CPage > | actualPage |
| int | actualPagePos |
| boost::shared_ptr< PageViewMode > | selectionMode |
| Units | actualUnits |
| TextLine * | textLine |
QWidget's class for viewing a page.
| gui::PageSpace::PageSpace | ( | QWidget * | parent = 0, |
|
| const char * | name = 0 | |||
| ) |
Constructor with parameters as parent (see QWidget in Qt documentation)
| parent | Parent widget (see QWidget constroctor) | |
| name | Name of widget (see QWidget constructor) |
Initialize all private variables, create scrollspace and bar with page number and position of cursor on page.
References actualPage, actualPagePos, actualPdf, actualUnits, changeMousePosition(), gui::DEFAULT__VIEWED_UNITS, gui::format, gui::Units::getDefaultUnits(), gui::globalSettings, hBox, Init(), initStruct::labelWidth, mousePositionOnPage, pageImage, pageNumber, gui::PAGESPC, gui::Settings::read(), scrollPageSpace, selectionMode, gui::Units::setDefaultUnits(), showMousePosition(), textLine, TheWheelFocus, vBox, and gui::VIEWED_UNITS.
| gui::PageSpace::~PageSpace | ( | ) | [virtual] |
| void gui::PageSpace::addSelectedObjectOnPage | ( | const std::vector< boost::shared_ptr< PdfOperator > > & | ops | ) | [slot] |
Add objects (PdfOperators) to selection on page.
| ops | Vector of PdfOperators for add. |
References selectionMode.
| void gui::PageSpace::changedPageTo | ( | const QSPage & | page, | |
| int | numberOfPage | |||
| ) | [signal] |
Signal emitted when viewed page is changed.
| page | Page which is actual viewed. | |
| numberOfPage | Position of page in documents. |
Referenced by refresh().
| void gui::PageSpace::changedZoomFactorTo | ( | float | zoom | ) | [signal] |
Signal emitted when zoom of viewed page is changed.
| zoom | Current zoom factor (1.0 = 100%) |
Referenced by setZoomFactor().
| void gui::PageSpace::changeMousePosition | ( | double | x, | |
| double | y | |||
| ) | [signal] |
Signal emitted when mouse position over the viewed page is changed.
| x | Horizontal position on page. | |
| y | Vertical position on page. |
Referenced by PageSpace().
| void gui::PageSpace::changeSelection | ( | std::vector< boost::shared_ptr< CAnnotation > > | annots | ) | [signal] |
Signal emitted when new annotations are selected.
| annots | Vector of selected annotations. |
| void gui::PageSpace::changeSelection | ( | std::vector< boost::shared_ptr< PdfOperator > > | ops | ) | [signal] |
Signal emitted when new operators are selected.
| ops | Vector of selected operators. |
Referenced by newSelection().
| double gui::PageSpace::convertFromPointToUnits | ( | double | num, | |
| const QString & | toUnits | |||
| ) | const [slot] |
Conver value from points ("pt") to some unite.
| num | Value for conversion. | |
| toUnits | To which unit is required conversion of value num. |
If toUnits is not set, then default unit use.
References actualUnits, and gui::Units::convertFromPointToUnits().
| double gui::PageSpace::convertFromUnitsToPoint | ( | double | num, | |
| const QString & | fromUnits | |||
| ) | const [slot] |
Conver value to point ("pt").
| num | Value for conversion. | |
| fromUnits | Unit of value num. |
If fromUnits is not set, then default unit use.
References actualUnits, and gui::Units::convertFromUnitsToPoint().
| void gui::PageSpace::convertPdfPosToPixmapPos | ( | const Point & | pdfPos, | |
| QPoint & | pos | |||
| ) |
Method for convert pdf position to page position viewed on screen (apply rotation, viewing dpi, ...)
| pdfPos | Position on page in pdf. | |
| pos | Position on viewed page. |
Position is returned in pos.
References gui::PageViewS::convertPdfPosToPixmapPos(), and pageImage.
| double gui::PageSpace::convertPdfPosToPixmapPos_x | ( | double | fromX, | |
| double | fromY | |||
| ) | [slot] |
Function return X position on viewed page from position in pdf page (apply rotation, viewing dpi, ...)
| fromX | X position in pdf page. | |
| fromY | Y position in pdf page. |
References gui::PageViewS::convertPdfPosToPixmapPos(), and pageImage.
| double gui::PageSpace::convertPdfPosToPixmapPos_y | ( | double | fromX, | |
| double | fromY | |||
| ) | [slot] |
Function return Y position on viewed page from position in pdf page (apply rotation, viewing dpi, ...)
| fromX | X position in pdf page. | |
| fromY | Y position in pdf page. |
References gui::PageViewS::convertPdfPosToPixmapPos(), and pageImage.
| void gui::PageSpace::convertPixmapPosToPdfPos | ( | const QPoint & | pos, | |
| Point & | pdfPos | |||
| ) |
Method for convert page position viewed on screen to pdf position (unapply rotation, viewing dpi, ...)
| pos | Position on viewed page. | |
| pdfPos | Position on page in pdf. |
Position is returned in pdfPos.
References gui::PageViewS::convertPixmapPosToPdfPos(), and pageImage.
| double gui::PageSpace::convertPixmapPosToPdfPos_x | ( | double | fromX, | |
| double | fromY | |||
| ) | [slot] |
Function return X position in pdf page from position of viewed page on screen (unapply rotation, viewing dpi, ...)
| fromX | X position on viewed page. | |
| fromY | Y position on viewed page. |
References gui::PageViewS::convertPixmapPosToPdfPos(), and pageImage.
| double gui::PageSpace::convertPixmapPosToPdfPos_y | ( | double | fromX, | |
| double | fromY | |||
| ) | [slot] |
Function return Y position in pdf page from position of viewed page on screen (unapply rotation, viewing dpi, ...)
| fromX | X position on viewed page. | |
| fromY | Y position on viewed page. |
References gui::PageViewS::convertPixmapPosToPdfPos(), and pageImage.
| double gui::PageSpace::convertUnits | ( | double | num, | |
| const QString | fromUnits = QString::null, |
|||
| const QString | toUnits = QString::null | |||
| ) | const [slot] |
Convert value from one unit to other.
| num | Value for conversion. | |
| fromUnits | Unit of value num. | |
| toUnits | To which unit is required conversion of value num. |
If fromUnits or toUnits is not set, then default unit use.
References actualUnits, and gui::Units::convertUnits().
Referenced by showMousePosition().
| void gui::PageSpace::deleteSelection | ( | ) | [signal] |
Signal emitted, when selected objects on page should be deleted.
Referenced by setSelectionMode().
| void gui::PageSpace::executeCommand | ( | QString | cmd | ) | [signal] |
Signal emitted when command in script needs to be executed
| cmd | Command for executing. |
Referenced by setSelectionMode().
| int gui::PageSpace::findText | ( | QString & | text, | |
| bool | startAtTop = true, |
|||
| double | xStart = 0, |
|||
| double | yStart = 0, |
|||
| double | xEnd = -1, |
|||
| double | yEnd = -1 | |||
| ) | [slot] |
Function find text in actual viewed page, and select all operators whitch contains this text.
| text | Text for find. | |
| startAtTop | Start search text at top of page, if is TRUE (default). Otherwise start search at ... | |
| xStart | ||
| yStart | ||
| xEnd | ||
| yEnd |
References actualPage, util::convertFromUnicode(), debug::DBG_DBG, iterator::DoubleListIterator< Item >::getCurrent(), guiPrintDbg, iterator::DoubleListIterator< Item >::isEnd(), _JM_NAMESPACE::max(), _JM_NAMESPACE::min(), iterator::DoubleListIterator< Item >::next(), util::PDF, selectionMode, pdfobjects::TextSearchParams::startAtTop, unselectObjectOnPage(), pdfobjects::TextSearchParams::xEnd, pdfobjects::TextSearchParams::xStart, pdfobjects::TextSearchParams::yEnd, and pdfobjects::TextSearchParams::yStart.
| void gui::PageSpace::firstPage | ( | ) | [slot] |
Change viewed page to first page of documents If nothing page is viewed, nothing view
References actualPdf, gui::QSPdf::get(), and refresh().
Referenced by nextPage(), and prevPage().
| QStringList gui::PageSpace::getAllUnitIds | ( | ) | const [slot] |
Function return identifiers of all units internal defined.
References actualUnits, and gui::Units::getAllUnitIds().
| QStringList gui::PageSpace::getAllUnits | ( | ) | const [slot] |
Function return description of all units internal defined.
References actualUnits, and gui::Units::getAllUnits().
| QString gui::PageSpace::getDefaultUnits | ( | ) | const [slot] |
Method return default conversion unit.
References actualUnits, and gui::Units::getDefaultUnits().
| QString gui::PageSpace::getDescriptionForUnit | ( | const QString | _unit | ) | const [slot] |
Method return description for unit.
| _unit | Which unit is required description. |
References actualUnits, and gui::Units::getDescriptionForUnit().
| int gui::PageSpace::getResizingZone | ( | ) | [slot] |
Function return actual set width of resizing zone
References gui::DEFAULT__RESIZINGZONE, gui::globalSettings, gui::PAGESPC, gui::Settings::readNum(), gui::RESIZINGZONE, and selectionMode.
| QMainWindow * gui::PageSpace::getTextLine | ( | int | x, | |
| int | y, | |||
| int | fontsize = 12, |
|||
| const QString & | fontName = QString::null | |||
| ) | [slot] |
Get pointer to insance of widget to show only edit line.
| x | Global X position for showing edit line. | |
| y | Global Y position for showing edit line. | |
| fontsize | To which font size will be set text in edit line. | |
| fontName | To which font will be set text in edit line. |
References gui::TextLine::setText(), and textLine.
| QString gui::PageSpace::getUnitFromAlias | ( | const QString | _unit | ) | const [slot] |
Function return unit from its aliases or description.
| _unit | Alias or description of unit. |
References actualUnits, and gui::Units::getUnitFromAlias().
| float gui::PageSpace::getZoomFactor | ( | ) | [slot] |
Function return actual zoom factor of viewed page.
References gui::PageViewS::getZoomFactor(), and pageImage.
Referenced by gui::ToolFactory::specialItem().
| void gui::PageSpace::hidePageNumberAndPosition | ( | ) | [slot] |
Hide bar for view number of actual viewed page and mouse position on page.
References mousePositionOnPage, and pageNumber.
| bool gui::PageSpace::isSomeoneSelected | ( | ) | [slot] |
Function return if some object is selected (not in selection mode PageView::SelectRect)
References selectionMode.
| void gui::PageSpace::lastPage | ( | ) | [slot] |
| void gui::PageSpace::newSelection | ( | const std::vector< boost::shared_ptr< CAnnotation > > & | objects | ) | [private, slot] |
On this slot is connected same named signal from class viewed the page (see pageImage).
| objects | Vector of selected annotations. |
This method emit signal "changeSelection".
References changeSelection().
| void gui::PageSpace::newSelection | ( | const std::vector< boost::shared_ptr< PdfOperator > > & | objects | ) | [private, slot] |
On this slot is connected same named signal from class viewed the page (see pageImage).
| objects | Vector of selected operators. |
This method emit signal "changeSelection".
References changeSelection().
Referenced by setSelectionMode().
| void gui::PageSpace::nextPage | ( | ) | [slot] |
Change viewed page to next page in documents If nothing page is viewed, nothing view
References actualPage, actualPagePos, actualPdf, firstPage(), gui::QSPdf::get(), and refresh().
| void gui::PageSpace::popupMenu | ( | const QPoint & | pagePos | ) | [signal] |
Signal emitted when popup menu for page is requested
| pagePos | Position on the page when popup menu was invoked. |
Referenced by requestPopupMenu(), and setSelectionMode().
| void gui::PageSpace::prevPage | ( | ) | [slot] |
Change viewed page to previous page in documents If nothing page is viewed, nothing view
References actualPage, actualPagePos, actualPdf, firstPage(), gui::QSPdf::get(), and refresh().
| void gui::PageSpace::refresh | ( | int | pageToView, | |
| QObject * | ||||
| ) | [slot] |
Method for refreshing page on screen.
| pageToView | Page position in pdf for refresh. If page is other then actual viewed, view this new page. Nothing do, if page position don't exist in pdf | |
| Pdf in whitch is pageToView. If pdf is NULL then pageToView is from same pdf as actual viewed page, if exist actual viewed page. Otherwise don't view pageToView. |
References refresh().
| void gui::PageSpace::refresh | ( | int | pageToView, | |
| QSPdf * | pdf = NULL | |||
| ) | [slot] |
Method for refreshing page on screen.
| pageToView | Page position in pdf for refresh. If page is other then actual viewed, view this new page. Nothing do, if page position don't exist in pdf | |
| Pdf in whitch is pageToView. If pdf is NULL then pageToView is from same pdf as actual viewed page, if exist actual viewed page. Otherwise don't view pageToView. |
References actualPdf, gui::QSPdf::get(), and refresh().
| void gui::PageSpace::refresh | ( | QSPage * | pageToView, | |
| QObject * | ||||
| ) | [slot] |
Method for refreshing page on screen and actualize selected objects.
| pageToView | Page for refresh. If pageToView is other then actual viewed, view this new page. (default is set to NULL = refresh actual viewed page) | |
| Pdf in whitch is pageToView. If pdf is NULL then pageToView is from same pdf as actual view page, if exist actual viewed page. Otherwise don't view pageToView. |
References refresh().
Method for refreshing page on screen and actualize selected objects.
| pageToView | Page for refresh. If pageToView is other then actual viewed, view this new page. (default is set to NULL = refresh actual viewed page) | |
| Pdf in whitch is pageToView. If pdf is NULL then pageToView is from same pdf as actual view page, if exist actual viewed page. Otherwise don't view pageToView. |
References actualPage, actualPagePos, actualPdf, changedPageTo(), gui::QSPdf::get(), gui::QSPage::get(), gui::QSPdf::getPageCount(), pageImage, pageNumber, and gui::PageViewS::showPage().
Referenced by firstPage(), lastPage(), nextPage(), prevPage(), and refresh().
| void gui::PageSpace::requestPopupMenu | ( | const QPoint & | p | ) | [private, slot] |
On this slot is connected same named signal from class viewed the page (see pageImage).
| p | Position on the page over which is calling popup menu. |
This method emit signal "popupMenu".
References popupMenu().
Referenced by setSelectionMode().
| bool gui::PageSpace::saveImage | ( | const QString & | filename, | |
| const char * | format, | |||
| int | quality = -1, |
|||
| bool | onlySelectedArea = false | |||
| ) | [slot] |
Function save viewed page to file.
| filename | Name of destination file. | |
| format | Format of file (see QImageIO::outputFormats) | |
| quality | Quality factor. Must be in range [0, 100] or -1 (default) (see QPixmap::save for more) | |
| onlySelectedArea | Save all page, if is FALSE (default). Otherwise save only bounding rectangle of selected area. |
References debug::DBG_DBG, guiPrintDbg, pageImage, and gui::PageViewS::saveImage().
Referenced by saveImageWithDialog().
| bool gui::PageSpace::saveImageWithDialog | ( | bool | onlySelectedArea = false |
) | [slot] |
Function save viewed page to file and for choose destination file view dialog with all available destination file format.
| onlySelectedArea | Save all page, if is FALSE (default). Otherwise save only bounding rectangle of selected area. |
References saveImage().
| void gui::PageSpace::selectObjectOnPage | ( | const std::vector< boost::shared_ptr< PdfOperator > > & | ops | ) | [slot] |
Select objects (PdfOperators) on page.
| ops | Vector of PdfOperators for select. |
References selectionMode.
| bool gui::PageSpace::setDefaultUnits | ( | const QString | dunits = QString::null |
) | [slot] |
Method set default unit for conversion.
| dunits | Unit for set as default. Nothing chenage, if not find in internal units. |
References actualUnits, and gui::Units::setDefaultUnits().
| void gui::PageSpace::setResizingZone | ( | int | width | ) | [slot] |
Method set width of resizing zone
| width | width in pixels |
Default is set to 2.
References debug::DBG_INFO, gui::globalSettings, guiPrintDbg, gui::PAGESPC, gui::RESIZINGZONE, selectionMode, and gui::Settings::write().
| void gui::PageSpace::setSelectArea | ( | int | left, | |
| int | top, | |||
| int | right, | |||
| int | bottom | |||
| ) | [slot] |
Select area on viewed page.
| left | X position of lefttop edge of new select rectangle | |
| top | Y position of lefttop edge of new select rectangle | |
| right | X position of rightbottom edge of new select rectangle | |
| bottom | Y position of rightbottom edge of new select rectangle |
Position is in pixels on viewed page, not in pdf (see PageSpace::convertPdfPosToPixmapPos for convert position)
References selectionMode.
| void gui::PageSpace::setSelectionMode | ( | QString | mode, | |
| QString | drawingObject = QString::null, |
|||
| QString | scriptFncAtMouseRelease = QString::null, |
|||
| QString | scriptFncAtMoveSelectedObjects = QString::null, |
|||
| QString | scriptFncAtResizeSelectedObjects = QString::null | |||
| ) | [slot] |
Set selection mode.
| mode | Mode for selection. | |
| drawingObject | What be drawing in mode | |
| scriptFncAtMouseRelease | Name of function in script, which be call at mouse left button release | |
| scriptFncAtMoveSelectedObjects | Name of function in script, which be call at mouse moved with selected area | |
| scriptFncAtResizeSelectedObjects | Name of function in script, which be call at mouse resize selected area |
References gui::PageViewModeFactory::create(), gui::DEFAULT__RESIZINGZONE, deleteSelection(), executeCommand(), gui::globalSettings, newSelection(), pageImage, gui::PAGESPC, popupMenu(), gui::Settings::readNum(), requestPopupMenu(), gui::RESIZINGZONE, selectionMode, and gui::PageViewS::setSelectionMode().
| void gui::PageSpace::setZoomFactor | ( | float | set_zoomFactor | ) | [slot] |
Set zoom factor of viewed page.
| set_zoomFactor | Zoom factor (1.0 = 100%) |
References changedZoomFactorTo(), gui::PageViewS::getZoomFactor(), pageImage, and gui::PageViewS::setZoomFactor().
| void gui::PageSpace::showMousePosition | ( | double | x, | |
| double | y | |||
| ) | [private, slot] |
On this slot is connected same named signal from class viewed the page (see pageImage).
| x | Horizontal position on the page. | |
| y | Vertical position on the page. |
This method emit signal "changeMousePosition".
References actualUnits, convertUnits(), gui::format, gui::Units::getDefaultUnits(), and mousePositionOnPage.
Referenced by PageSpace().
| void gui::PageSpace::showPageNumberAndPosition | ( | ) | [slot] |
Show bar for view number of actual viewed page and mouse position on page.
References mousePositionOnPage, and pageNumber.
| void gui::PageSpace::unselectObjectOnPage | ( | ) | [slot] |
| void gui::PageSpace::zoomIn | ( | float | step = 0.1 |
) | [slot] |
Zoom in of viewed page.
| step | Step of zoom in (default step is 0.1 = 10%) |
References gui::PageViewS::getZoomFactor(), pageImage, and setZoomFactor().
| void gui::PageSpace::zoomOut | ( | float | step = 0.1 |
) | [slot] |
Zoom out of viewed page.
| step | Step of zoom out (default step is 0.1 = 10%) |
References gui::PageViewS::getZoomFactor(), pageImage, and setZoomFactor().
| void gui::PageSpace::zoomTo | ( | int | percentage | ) | [slot] |
Set zoom of viewed page.
| percentage | Zoom in percentage |
References setZoomFactor().
boost::shared_ptr<CPage> gui::PageSpace::actualPage [private] |
Actual viewed page from actualPdf.
Referenced by findText(), nextPage(), PageSpace(), prevPage(), and refresh().
int gui::PageSpace::actualPagePos [private] |
Page position of actual viewed page.
Referenced by nextPage(), PageSpace(), prevPage(), and refresh().
QSPdf* gui::PageSpace::actualPdf [private] |
Pointer to actual viewed Pdf.
Referenced by firstPage(), lastPage(), nextPage(), PageSpace(), prevPage(), refresh(), and ~PageSpace().
Units gui::PageSpace::actualUnits [private] |
Class which implement conversion between diferent units.
Referenced by convertFromPointToUnits(), convertFromUnitsToPoint(), convertUnits(), getAllUnitIds(), getAllUnits(), getDefaultUnits(), getDescriptionForUnit(), getUnitFromAlias(), PageSpace(), setDefaultUnits(), and showMousePosition().
QHBoxLayout* gui::PageSpace::hBox [private] |
Helpes layout. It contains information's label in information line
Referenced by PageSpace().
QLabel* gui::PageSpace::mousePositionOnPage [private] |
Text contains mouse position on the page.
Referenced by hidePageNumberAndPosition(), PageSpace(), showMousePosition(), and showPageNumberAndPosition().
PageViewS* gui::PageSpace::pageImage [private] |
Pointer to class which is viewing pages.
Referenced by convertPdfPosToPixmapPos(), convertPdfPosToPixmapPos_x(), convertPdfPosToPixmapPos_y(), convertPixmapPosToPdfPos(), convertPixmapPosToPdfPos_x(), convertPixmapPosToPdfPos_y(), getZoomFactor(), PageSpace(), refresh(), saveImage(), setSelectionMode(), setZoomFactor(), zoomIn(), and zoomOut().
QLabel* gui::PageSpace::pageNumber [private] |
Text contains number of actual page and how many pages has documents.
Referenced by hidePageNumberAndPosition(), PageSpace(), refresh(), and showPageNumberAndPosition().
Q_ScrollView* gui::PageSpace::scrollPageSpace [private] |
Pointer to class which is default for srcroll viewing pages (now is same as pageImage).
Referenced by PageSpace().
boost::shared_ptr< PageViewMode > gui::PageSpace::selectionMode [private] |
Concrete implementation of selection mode.
Referenced by addSelectedObjectOnPage(), findText(), getResizingZone(), isSomeoneSelected(), PageSpace(), selectObjectOnPage(), setResizingZone(), setSelectArea(), setSelectionMode(), and unselectObjectOnPage().
TextLine* gui::PageSpace::textLine [private] |
Pointer to widget for showing only edit line to type text.
Referenced by getTextLine(), PageSpace(), and ~PageSpace().
QVBoxLayout* gui::PageSpace::vBox [private] |
Helpes layout. It contains page view widget and information line
Referenced by PageSpace().