PrintedForm

Incomplete documentation - sorry!

Note

Neil - please put some data in technical/class_headings/PrintedForm.rst

methods and attributes

class lib_openmolar.common.qt4.printing.printed_form.PrintedForm[source]

Bases: object

a class to set up and print an a4 form

__init__()[source]
BACKGROUND_IMAGE = ''
controlled_print()[source]

raise a dialog before printing

off_set = PyQt4.QtCore.QPoint()
print_(painter=None)[source]

print the background and any rects if in testing_mode

note - this functions return the active painter so that classes which inherit from PrintedForm can finalise the printing.

print_background = False
rects = {}
setOffset(x, y)[source]

offsets all printing by x,y

set_skip_dialog(skip=True)[source]

call this function to skip a dialog box when printing

testing_mode = False

Table Of Contents

Previous topic

PreferencesDialog

Next topic

ProcCode