gui::BaseConsole Class Reference
Script hosting base class.
More...
#include <baseconsole.h>
List of all members.
Detailed Description
Script hosting base class.
Class that host scripts and contain static script functions
This class is also responsible for garbage collection of scripting objects and interaction of editor and scripts
Constructor & Destructor Documentation
| gui::BaseConsole::BaseConsole |
( |
const QStringList & |
_params |
) |
|
Create new Base class
- Parameters:
-
| _params | Commandline Parameters |
References params.
| gui::BaseConsole::~BaseConsole |
( |
|
) |
[virtual] |
Member Function Documentation
| double gui::BaseConsole::convertPdfPosToPixmapPos_x |
( |
double |
fromX, |
|
|
double |
fromY | |
|
) |
| | [slot] |
Function return X position on viewed page from position in pdf page (apply rotation, viewing dpi, ...)
- Parameters:
-
| fromX | X position in pdf page. |
| fromY | Y position in pdf page. |
- Returns:
- Return X position in pdf page.
- See also:
- convertPdfPosToPixmapPos_y
-
convertPdfPosToPixmapPos
-
convertPixmapPosToPdfPos
| double gui::BaseConsole::convertPdfPosToPixmapPos_y |
( |
double |
fromX, |
|
|
double |
fromY | |
|
) |
| | [slot] |
Function return Y position on viewed page from position in pdf page (apply rotation, viewing dpi, ...)
- Parameters:
-
| fromX | X position in pdf page. |
| fromY | Y position in pdf page. |
- Returns:
- Return Y position in pdf page.
- See also:
- convertPdfPosToPixmapPos_x
-
convertPdfPosToPixmapPos
-
convertPixmapPosToPdfPos
| double gui::BaseConsole::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, ...)
- Parameters:
-
| fromX | X position on viewed page. |
| fromY | Y position on viewed page. |
- Returns:
- Return X position in pdf page.
- See also:
- convertPixmapPosToPdfPos_y
-
convertPixmapPosToPdfPos
-
convertPdfPosToPixmapPos
| double gui::BaseConsole::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, ...)
- Parameters:
-
| fromX | X position on viewed page. |
| fromY | Y position on viewed page. |
- Returns:
- Return Y position in pdf page.
- See also:
- convertPixmapPosToPdfPos_x
-
convertPixmapPosToPdfPos
-
convertPdfPosToPixmapPos
| void gui::BaseConsole::exit |
( |
int |
returnCode = 0 |
) |
[slot] |
Terminate the application
- Parameters:
-
| returnCode | Return code of application |
| QStringList gui::BaseConsole::parameters |
( |
|
) |
[slot] |
Return list of commandline parameters
- Returns:
- parameter list
References params.
| void gui::BaseConsole::runInitScript |
( |
|
) |
|
| QString gui::BaseConsole::takeParameter |
( |
|
) |
[slot] |
Return first parameter from list of parameters and remove it from the list. Other parameters are shifted to take the empty space
- Returns:
- First parameter or NULL if no parameters
Member Data Documentation
Console writer class writing to STDOUT
The documentation for this class was generated from the following files: