|
| ScriptEditorPrinter (QPrinter::PrinterMode mode=QPrinter::ScreenResolution) |
|
virtual QRect | formatPage (QPainter &painter, bool drawing, const QRect &area, int pageNumber, int pageCount) |
|
int | magnification () const |
|
virtual void | setMagnification (int magnification) |
|
virtual int | printRange (CodeEditor *editor, int from=-1, int to=-1) |
|
virtual void | paintPage (int pageNumber, int pageCount, QPainter *painter, QTextDocument *doc, const QRectF &textRect, float scale) |
|
|
int | m_magnification |
|
int | m_alphaLevel |
|
◆ magnification()
int ito::ScriptEditorPrinter::magnification |
( |
| ) |
const |
|
inline |
◆ printRange()
int ito::ScriptEditorPrinter::printRange |
( |
CodeEditor * | editor, |
|
|
int | from = -1, |
|
|
int | to = -1 ) |
|
virtual |
Print a range of lines from the Scintilla instance qsb. from is the first line to print and a negative value signifies the first line of text. to is the last line to print and a negative value signifies the last line of text. true is returned if there was no error.
◆ setMagnification()
void ito::ScriptEditorPrinter::setMagnification |
( |
int | magnification | ) |
|
|
virtual |
Sets the number of points to add to each font when printing to magnification.
- See also
- magnification()
The documentation for this class was generated from the following files:
- C:/Workspace/itom_development_VS2019_Qt5.15.2_x64/itomProject/itom/Qitom/widgets/scriptEditorPrinter.h
- C:/Workspace/itom_development_VS2019_Qt5.15.2_x64/itomProject/itom/Qitom/widgets/scriptEditorPrinter.cpp