printsupport

package
v0.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QAbstractPrintDialog_Tr

func QAbstractPrintDialog_Tr(s string) string

func QAbstractPrintDialog_Tr2

func QAbstractPrintDialog_Tr2(s string, c string) string

func QAbstractPrintDialog_Tr3

func QAbstractPrintDialog_Tr3(s string, c string, n int) string

func QAbstractPrintDialog_TrUtf8

func QAbstractPrintDialog_TrUtf8(s string) string

func QAbstractPrintDialog_TrUtf82

func QAbstractPrintDialog_TrUtf82(s string, c string) string

func QAbstractPrintDialog_TrUtf83

func QAbstractPrintDialog_TrUtf83(s string, c string, n int) string

func QPageSetupDialog_Tr

func QPageSetupDialog_Tr(s string) string

func QPageSetupDialog_Tr2

func QPageSetupDialog_Tr2(s string, c string) string

func QPageSetupDialog_Tr3

func QPageSetupDialog_Tr3(s string, c string, n int) string

func QPageSetupDialog_TrUtf8

func QPageSetupDialog_TrUtf8(s string) string

func QPageSetupDialog_TrUtf82

func QPageSetupDialog_TrUtf82(s string, c string) string

func QPageSetupDialog_TrUtf83

func QPageSetupDialog_TrUtf83(s string, c string, n int) string

func QPrintDialog_Tr

func QPrintDialog_Tr(s string) string

func QPrintDialog_Tr2

func QPrintDialog_Tr2(s string, c string) string

func QPrintDialog_Tr3

func QPrintDialog_Tr3(s string, c string, n int) string

func QPrintDialog_TrUtf8

func QPrintDialog_TrUtf8(s string) string

func QPrintDialog_TrUtf82

func QPrintDialog_TrUtf82(s string, c string) string

func QPrintDialog_TrUtf83

func QPrintDialog_TrUtf83(s string, c string, n int) string

func QPrintPreviewDialog_Tr

func QPrintPreviewDialog_Tr(s string) string

func QPrintPreviewDialog_Tr2

func QPrintPreviewDialog_Tr2(s string, c string) string

func QPrintPreviewDialog_Tr3

func QPrintPreviewDialog_Tr3(s string, c string, n int) string

func QPrintPreviewDialog_TrUtf8

func QPrintPreviewDialog_TrUtf8(s string) string

func QPrintPreviewDialog_TrUtf82

func QPrintPreviewDialog_TrUtf82(s string, c string) string

func QPrintPreviewDialog_TrUtf83

func QPrintPreviewDialog_TrUtf83(s string, c string, n int) string

func QPrintPreviewWidget_Tr

func QPrintPreviewWidget_Tr(s string) string

func QPrintPreviewWidget_Tr2

func QPrintPreviewWidget_Tr2(s string, c string) string

func QPrintPreviewWidget_Tr3

func QPrintPreviewWidget_Tr3(s string, c string, n int) string

func QPrintPreviewWidget_TrUtf8

func QPrintPreviewWidget_TrUtf8(s string) string

func QPrintPreviewWidget_TrUtf82

func QPrintPreviewWidget_TrUtf82(s string, c string) string

func QPrintPreviewWidget_TrUtf83

func QPrintPreviewWidget_TrUtf83(s string, c string, n int) string

func QPrinterInfo_AvailablePrinterNames

func QPrinterInfo_AvailablePrinterNames() []string

func QPrinterInfo_DefaultPrinterName

func QPrinterInfo_DefaultPrinterName() string

Types

type QAbstractPrintDialog

type QAbstractPrintDialog struct {
	*qt.QDialog
	// contains filtered or unexported fields
}

func NewQAbstractPrintDialog

func NewQAbstractPrintDialog(printer *QPrinter) *QAbstractPrintDialog

NewQAbstractPrintDialog constructs a new QAbstractPrintDialog object.

func NewQAbstractPrintDialog2

func NewQAbstractPrintDialog2(printer *QPrinter, parent *qt.QWidget) *QAbstractPrintDialog

NewQAbstractPrintDialog2 constructs a new QAbstractPrintDialog object.

func UnsafeNewQAbstractPrintDialog

func UnsafeNewQAbstractPrintDialog(h unsafe.Pointer) *QAbstractPrintDialog

UnsafeNewQAbstractPrintDialog constructs the type using only unsafe pointers.

func (*QAbstractPrintDialog) AddEnabledOption

func (this *QAbstractPrintDialog) AddEnabledOption(option QAbstractPrintDialog__PrintDialogOption)

func (*QAbstractPrintDialog) Delete

func (this *QAbstractPrintDialog) Delete()

Delete this object from C++ memory.

func (*QAbstractPrintDialog) EnabledOptions

func (*QAbstractPrintDialog) FromPage

func (this *QAbstractPrintDialog) FromPage() int

func (*QAbstractPrintDialog) GoGC

func (this *QAbstractPrintDialog) GoGC()

GoGC adds a Go Finalizer to this pointer, so that it will be deleted from C++ memory once it is unreachable from Go memory.

func (*QAbstractPrintDialog) IsOptionEnabled

func (*QAbstractPrintDialog) MaxPage

func (this *QAbstractPrintDialog) MaxPage() int

func (*QAbstractPrintDialog) MetaObject

func (this *QAbstractPrintDialog) MetaObject() *qt.QMetaObject

func (*QAbstractPrintDialog) Metacast

func (this *QAbstractPrintDialog) Metacast(param1 string) unsafe.Pointer

func (*QAbstractPrintDialog) MinPage

func (this *QAbstractPrintDialog) MinPage() int

func (*QAbstractPrintDialog) OnAccept

func (this *QAbstractPrintDialog) OnAccept(slot func(super func()))

func (*QAbstractPrintDialog) OnCloseEvent

func (this *QAbstractPrintDialog) OnCloseEvent(slot func(super func(param1 *qt.QCloseEvent), param1 *qt.QCloseEvent))

func (*QAbstractPrintDialog) OnContextMenuEvent

func (this *QAbstractPrintDialog) OnContextMenuEvent(slot func(super func(param1 *qt.QContextMenuEvent), param1 *qt.QContextMenuEvent))

func (*QAbstractPrintDialog) OnDone

func (this *QAbstractPrintDialog) OnDone(slot func(super func(param1 int), param1 int))

func (*QAbstractPrintDialog) OnEventFilter

func (this *QAbstractPrintDialog) OnEventFilter(slot func(super func(param1 *qt.QObject, param2 *qt.QEvent) bool, param1 *qt.QObject, param2 *qt.QEvent) bool)

func (*QAbstractPrintDialog) OnExec

func (this *QAbstractPrintDialog) OnExec(slot func(super func() int) int)

func (*QAbstractPrintDialog) OnKeyPressEvent

func (this *QAbstractPrintDialog) OnKeyPressEvent(slot func(super func(param1 *qt.QKeyEvent), param1 *qt.QKeyEvent))

func (*QAbstractPrintDialog) OnMinimumSizeHint

func (this *QAbstractPrintDialog) OnMinimumSizeHint(slot func(super func() *qt.QSize) *qt.QSize)

func (*QAbstractPrintDialog) OnOpen

func (this *QAbstractPrintDialog) OnOpen(slot func(super func()))

func (*QAbstractPrintDialog) OnReject

func (this *QAbstractPrintDialog) OnReject(slot func(super func()))

func (*QAbstractPrintDialog) OnResizeEvent

func (this *QAbstractPrintDialog) OnResizeEvent(slot func(super func(param1 *qt.QResizeEvent), param1 *qt.QResizeEvent))

func (*QAbstractPrintDialog) OnSetVisible

func (this *QAbstractPrintDialog) OnSetVisible(slot func(super func(visible bool), visible bool))

func (*QAbstractPrintDialog) OnShowEvent

func (this *QAbstractPrintDialog) OnShowEvent(slot func(super func(param1 *qt.QShowEvent), param1 *qt.QShowEvent))

func (*QAbstractPrintDialog) OnSizeHint

func (this *QAbstractPrintDialog) OnSizeHint(slot func(super func() *qt.QSize) *qt.QSize)

func (*QAbstractPrintDialog) PrintRange

func (*QAbstractPrintDialog) Printer

func (this *QAbstractPrintDialog) Printer() *QPrinter

func (*QAbstractPrintDialog) SetEnabledOptions

func (this *QAbstractPrintDialog) SetEnabledOptions(options QAbstractPrintDialog__PrintDialogOption)

func (*QAbstractPrintDialog) SetFromTo

func (this *QAbstractPrintDialog) SetFromTo(fromPage int, toPage int)

func (*QAbstractPrintDialog) SetMinMax

func (this *QAbstractPrintDialog) SetMinMax(min int, max int)

func (*QAbstractPrintDialog) SetOptionTabs

func (this *QAbstractPrintDialog) SetOptionTabs(tabs []*qt.QWidget)

func (*QAbstractPrintDialog) SetPrintRange

func (this *QAbstractPrintDialog) SetPrintRange(rangeVal QAbstractPrintDialog__PrintRange)

func (*QAbstractPrintDialog) ToPage

func (this *QAbstractPrintDialog) ToPage() int

func (*QAbstractPrintDialog) UnsafePointer

func (this *QAbstractPrintDialog) UnsafePointer() unsafe.Pointer

type QAbstractPrintDialog__PrintDialogOption

type QAbstractPrintDialog__PrintDialogOption int
const (
	QAbstractPrintDialog__None               QAbstractPrintDialog__PrintDialogOption = 0
	QAbstractPrintDialog__PrintToFile        QAbstractPrintDialog__PrintDialogOption = 1
	QAbstractPrintDialog__PrintSelection     QAbstractPrintDialog__PrintDialogOption = 2
	QAbstractPrintDialog__PrintPageRange     QAbstractPrintDialog__PrintDialogOption = 4
	QAbstractPrintDialog__PrintShowPageSize  QAbstractPrintDialog__PrintDialogOption = 8
	QAbstractPrintDialog__PrintCollateCopies QAbstractPrintDialog__PrintDialogOption = 16
	QAbstractPrintDialog__DontUseSheet       QAbstractPrintDialog__PrintDialogOption = 32
	QAbstractPrintDialog__PrintCurrentPage   QAbstractPrintDialog__PrintDialogOption = 64
)

type QAbstractPrintDialog__PrintRange

type QAbstractPrintDialog__PrintRange int
const (
	QAbstractPrintDialog__AllPages    QAbstractPrintDialog__PrintRange = 0
	QAbstractPrintDialog__Selection   QAbstractPrintDialog__PrintRange = 1
	QAbstractPrintDialog__PageRange   QAbstractPrintDialog__PrintRange = 2
	QAbstractPrintDialog__CurrentPage QAbstractPrintDialog__PrintRange = 3
)

type QPageSetupDialog

type QPageSetupDialog struct {
	*qt.QDialog
	// contains filtered or unexported fields
}

func NewQPageSetupDialog

func NewQPageSetupDialog(parent *qt.QWidget) *QPageSetupDialog

NewQPageSetupDialog constructs a new QPageSetupDialog object.

func NewQPageSetupDialog2

func NewQPageSetupDialog2(printer *QPrinter) *QPageSetupDialog

NewQPageSetupDialog2 constructs a new QPageSetupDialog object.

func NewQPageSetupDialog3

func NewQPageSetupDialog3() *QPageSetupDialog

NewQPageSetupDialog3 constructs a new QPageSetupDialog object.

func NewQPageSetupDialog4

func NewQPageSetupDialog4(printer *QPrinter, parent *qt.QWidget) *QPageSetupDialog

NewQPageSetupDialog4 constructs a new QPageSetupDialog object.

func UnsafeNewQPageSetupDialog

func UnsafeNewQPageSetupDialog(h unsafe.Pointer) *QPageSetupDialog

UnsafeNewQPageSetupDialog constructs the type using only unsafe pointers.

func (*QPageSetupDialog) Delete

func (this *QPageSetupDialog) Delete()

Delete this object from C++ memory.

func (*QPageSetupDialog) Done

func (this *QPageSetupDialog) Done(result int)

func (*QPageSetupDialog) Exec

func (this *QPageSetupDialog) Exec() int

func (*QPageSetupDialog) GoGC

func (this *QPageSetupDialog) GoGC()

GoGC adds a Go Finalizer to this pointer, so that it will be deleted from C++ memory once it is unreachable from Go memory.

func (*QPageSetupDialog) MetaObject

func (this *QPageSetupDialog) MetaObject() *qt.QMetaObject

func (*QPageSetupDialog) Metacast

func (this *QPageSetupDialog) Metacast(param1 string) unsafe.Pointer

func (*QPageSetupDialog) OnAccept

func (this *QPageSetupDialog) OnAccept(slot func(super func()))

func (*QPageSetupDialog) OnCloseEvent

func (this *QPageSetupDialog) OnCloseEvent(slot func(super func(param1 *qt.QCloseEvent), param1 *qt.QCloseEvent))

func (*QPageSetupDialog) OnContextMenuEvent

func (this *QPageSetupDialog) OnContextMenuEvent(slot func(super func(param1 *qt.QContextMenuEvent), param1 *qt.QContextMenuEvent))

func (*QPageSetupDialog) OnDone

func (this *QPageSetupDialog) OnDone(slot func(super func(result int), result int))

func (*QPageSetupDialog) OnEventFilter

func (this *QPageSetupDialog) OnEventFilter(slot func(super func(param1 *qt.QObject, param2 *qt.QEvent) bool, param1 *qt.QObject, param2 *qt.QEvent) bool)

func (*QPageSetupDialog) OnExec

func (this *QPageSetupDialog) OnExec(slot func(super func() int) int)

func (*QPageSetupDialog) OnKeyPressEvent

func (this *QPageSetupDialog) OnKeyPressEvent(slot func(super func(param1 *qt.QKeyEvent), param1 *qt.QKeyEvent))

func (*QPageSetupDialog) OnMinimumSizeHint

func (this *QPageSetupDialog) OnMinimumSizeHint(slot func(super func() *qt.QSize) *qt.QSize)

func (*QPageSetupDialog) OnOpen

func (this *QPageSetupDialog) OnOpen(slot func(super func()))

func (*QPageSetupDialog) OnReject

func (this *QPageSetupDialog) OnReject(slot func(super func()))

func (*QPageSetupDialog) OnResizeEvent

func (this *QPageSetupDialog) OnResizeEvent(slot func(super func(param1 *qt.QResizeEvent), param1 *qt.QResizeEvent))

func (*QPageSetupDialog) OnSetVisible

func (this *QPageSetupDialog) OnSetVisible(slot func(super func(visible bool), visible bool))

func (*QPageSetupDialog) OnShowEvent

func (this *QPageSetupDialog) OnShowEvent(slot func(super func(param1 *qt.QShowEvent), param1 *qt.QShowEvent))

func (*QPageSetupDialog) OnSizeHint

func (this *QPageSetupDialog) OnSizeHint(slot func(super func() *qt.QSize) *qt.QSize)

func (*QPageSetupDialog) Printer

func (this *QPageSetupDialog) Printer() *QPrinter

func (*QPageSetupDialog) UnsafePointer

func (this *QPageSetupDialog) UnsafePointer() unsafe.Pointer

type QPrintDialog

type QPrintDialog struct {
	*QAbstractPrintDialog
	// contains filtered or unexported fields
}

func NewQPrintDialog

func NewQPrintDialog(parent *qt.QWidget) *QPrintDialog

NewQPrintDialog constructs a new QPrintDialog object.

func NewQPrintDialog2

func NewQPrintDialog2(printer *QPrinter) *QPrintDialog

NewQPrintDialog2 constructs a new QPrintDialog object.

func NewQPrintDialog3

func NewQPrintDialog3() *QPrintDialog

NewQPrintDialog3 constructs a new QPrintDialog object.

func NewQPrintDialog4

func NewQPrintDialog4(printer *QPrinter, parent *qt.QWidget) *QPrintDialog

NewQPrintDialog4 constructs a new QPrintDialog object.

func UnsafeNewQPrintDialog

func UnsafeNewQPrintDialog(h unsafe.Pointer) *QPrintDialog

UnsafeNewQPrintDialog constructs the type using only unsafe pointers.

func (*QPrintDialog) Accept

func (this *QPrintDialog) Accept()

func (*QPrintDialog) Accepted

func (this *QPrintDialog) Accepted(printer *QPrinter)

func (*QPrintDialog) Delete

func (this *QPrintDialog) Delete()

Delete this object from C++ memory.

func (*QPrintDialog) Done

func (this *QPrintDialog) Done(result int)

func (*QPrintDialog) Exec

func (this *QPrintDialog) Exec() int

func (*QPrintDialog) GoGC

func (this *QPrintDialog) GoGC()

GoGC adds a Go Finalizer to this pointer, so that it will be deleted from C++ memory once it is unreachable from Go memory.

func (*QPrintDialog) MetaObject

func (this *QPrintDialog) MetaObject() *qt.QMetaObject

func (*QPrintDialog) Metacast

func (this *QPrintDialog) Metacast(param1 string) unsafe.Pointer

func (*QPrintDialog) OnAccept

func (this *QPrintDialog) OnAccept(slot func(super func()))

func (*QPrintDialog) OnAccepted

func (this *QPrintDialog) OnAccepted(slot func(printer *QPrinter))

func (*QPrintDialog) OnDone

func (this *QPrintDialog) OnDone(slot func(super func(result int), result int))

func (*QPrintDialog) OnExec

func (this *QPrintDialog) OnExec(slot func(super func() int) int)

func (*QPrintDialog) OnSetVisible

func (this *QPrintDialog) OnSetVisible(slot func(super func(visible bool), visible bool))

func (*QPrintDialog) Options

func (*QPrintDialog) SetOption

func (this *QPrintDialog) SetOption(option QAbstractPrintDialog__PrintDialogOption)

func (*QPrintDialog) SetOption2

func (this *QPrintDialog) SetOption2(option QAbstractPrintDialog__PrintDialogOption, on bool)

func (*QPrintDialog) SetOptions

func (this *QPrintDialog) SetOptions(options QAbstractPrintDialog__PrintDialogOption)

func (*QPrintDialog) SetVisible

func (this *QPrintDialog) SetVisible(visible bool)

func (*QPrintDialog) TestOption

func (*QPrintDialog) UnsafePointer

func (this *QPrintDialog) UnsafePointer() unsafe.Pointer

type QPrintEngine

type QPrintEngine struct {
	// contains filtered or unexported fields
}

func UnsafeNewQPrintEngine

func UnsafeNewQPrintEngine(h unsafe.Pointer) *QPrintEngine

UnsafeNewQPrintEngine constructs the type using only unsafe pointers.

func (*QPrintEngine) Abort

func (this *QPrintEngine) Abort() bool

func (*QPrintEngine) Delete

func (this *QPrintEngine) Delete()

Delete this object from C++ memory.

func (*QPrintEngine) GoGC

func (this *QPrintEngine) GoGC()

GoGC adds a Go Finalizer to this pointer, so that it will be deleted from C++ memory once it is unreachable from Go memory.

func (*QPrintEngine) Metric

func (this *QPrintEngine) Metric(param1 qt.QPaintDevice__PaintDeviceMetric) int

func (*QPrintEngine) NewPage

func (this *QPrintEngine) NewPage() bool

func (*QPrintEngine) OperatorAssign

func (this *QPrintEngine) OperatorAssign(param1 *QPrintEngine)

func (*QPrintEngine) PrinterState

func (this *QPrintEngine) PrinterState() QPrinter__PrinterState

func (*QPrintEngine) Property

func (*QPrintEngine) SetProperty

func (this *QPrintEngine) SetProperty(key QPrintEngine__PrintEnginePropertyKey, value *qt.QVariant)

func (*QPrintEngine) UnsafePointer

func (this *QPrintEngine) UnsafePointer() unsafe.Pointer

type QPrintEngine__PrintEnginePropertyKey

type QPrintEngine__PrintEnginePropertyKey int
const (
	QPrintEngine__PPK_CollateCopies          QPrintEngine__PrintEnginePropertyKey = 0
	QPrintEngine__PPK_ColorMode              QPrintEngine__PrintEnginePropertyKey = 1
	QPrintEngine__PPK_Creator                QPrintEngine__PrintEnginePropertyKey = 2
	QPrintEngine__PPK_DocumentName           QPrintEngine__PrintEnginePropertyKey = 3
	QPrintEngine__PPK_FullPage               QPrintEngine__PrintEnginePropertyKey = 4
	QPrintEngine__PPK_NumberOfCopies         QPrintEngine__PrintEnginePropertyKey = 5
	QPrintEngine__PPK_Orientation            QPrintEngine__PrintEnginePropertyKey = 6
	QPrintEngine__PPK_OutputFileName         QPrintEngine__PrintEnginePropertyKey = 7
	QPrintEngine__PPK_PageOrder              QPrintEngine__PrintEnginePropertyKey = 8
	QPrintEngine__PPK_PageRect               QPrintEngine__PrintEnginePropertyKey = 9
	QPrintEngine__PPK_PageSize               QPrintEngine__PrintEnginePropertyKey = 10
	QPrintEngine__PPK_PaperRect              QPrintEngine__PrintEnginePropertyKey = 11
	QPrintEngine__PPK_PaperSource            QPrintEngine__PrintEnginePropertyKey = 12
	QPrintEngine__PPK_PrinterName            QPrintEngine__PrintEnginePropertyKey = 13
	QPrintEngine__PPK_PrinterProgram         QPrintEngine__PrintEnginePropertyKey = 14
	QPrintEngine__PPK_Resolution             QPrintEngine__PrintEnginePropertyKey = 15
	QPrintEngine__PPK_SelectionOption        QPrintEngine__PrintEnginePropertyKey = 16
	QPrintEngine__PPK_SupportedResolutions   QPrintEngine__PrintEnginePropertyKey = 17
	QPrintEngine__PPK_WindowsPageSize        QPrintEngine__PrintEnginePropertyKey = 18
	QPrintEngine__PPK_FontEmbedding          QPrintEngine__PrintEnginePropertyKey = 19
	QPrintEngine__PPK_Duplex                 QPrintEngine__PrintEnginePropertyKey = 20
	QPrintEngine__PPK_PaperSources           QPrintEngine__PrintEnginePropertyKey = 21
	QPrintEngine__PPK_CustomPaperSize        QPrintEngine__PrintEnginePropertyKey = 22
	QPrintEngine__PPK_PageMargins            QPrintEngine__PrintEnginePropertyKey = 23
	QPrintEngine__PPK_CopyCount              QPrintEngine__PrintEnginePropertyKey = 24
	QPrintEngine__PPK_SupportsMultipleCopies QPrintEngine__PrintEnginePropertyKey = 25
	QPrintEngine__PPK_PaperName              QPrintEngine__PrintEnginePropertyKey = 26
	QPrintEngine__PPK_QPageSize              QPrintEngine__PrintEnginePropertyKey = 27
	QPrintEngine__PPK_QPageMargins           QPrintEngine__PrintEnginePropertyKey = 28
	QPrintEngine__PPK_QPageLayout            QPrintEngine__PrintEnginePropertyKey = 29
	QPrintEngine__PPK_PaperSize              QPrintEngine__PrintEnginePropertyKey = 10
	QPrintEngine__PPK_CustomBase             QPrintEngine__PrintEnginePropertyKey = 65280
)

type QPrintPreviewDialog

type QPrintPreviewDialog struct {
	*qt.QDialog
	// contains filtered or unexported fields
}

func NewQPrintPreviewDialog

func NewQPrintPreviewDialog(parent *qt.QWidget) *QPrintPreviewDialog

NewQPrintPreviewDialog constructs a new QPrintPreviewDialog object.

func NewQPrintPreviewDialog2

func NewQPrintPreviewDialog2() *QPrintPreviewDialog

NewQPrintPreviewDialog2 constructs a new QPrintPreviewDialog object.

func NewQPrintPreviewDialog3

func NewQPrintPreviewDialog3(printer *QPrinter) *QPrintPreviewDialog

NewQPrintPreviewDialog3 constructs a new QPrintPreviewDialog object.

func NewQPrintPreviewDialog4

func NewQPrintPreviewDialog4(parent *qt.QWidget, flags qt.WindowType) *QPrintPreviewDialog

NewQPrintPreviewDialog4 constructs a new QPrintPreviewDialog object.

func NewQPrintPreviewDialog5

func NewQPrintPreviewDialog5(printer *QPrinter, parent *qt.QWidget) *QPrintPreviewDialog

NewQPrintPreviewDialog5 constructs a new QPrintPreviewDialog object.

func NewQPrintPreviewDialog6

func NewQPrintPreviewDialog6(printer *QPrinter, parent *qt.QWidget, flags qt.WindowType) *QPrintPreviewDialog

NewQPrintPreviewDialog6 constructs a new QPrintPreviewDialog object.

func UnsafeNewQPrintPreviewDialog

func UnsafeNewQPrintPreviewDialog(h unsafe.Pointer) *QPrintPreviewDialog

UnsafeNewQPrintPreviewDialog constructs the type using only unsafe pointers.

func (*QPrintPreviewDialog) Delete

func (this *QPrintPreviewDialog) Delete()

Delete this object from C++ memory.

func (*QPrintPreviewDialog) Done

func (this *QPrintPreviewDialog) Done(result int)

func (*QPrintPreviewDialog) GoGC

func (this *QPrintPreviewDialog) GoGC()

GoGC adds a Go Finalizer to this pointer, so that it will be deleted from C++ memory once it is unreachable from Go memory.

func (*QPrintPreviewDialog) MetaObject

func (this *QPrintPreviewDialog) MetaObject() *qt.QMetaObject

func (*QPrintPreviewDialog) Metacast

func (this *QPrintPreviewDialog) Metacast(param1 string) unsafe.Pointer

func (*QPrintPreviewDialog) OnAccept

func (this *QPrintPreviewDialog) OnAccept(slot func(super func()))

func (*QPrintPreviewDialog) OnCloseEvent

func (this *QPrintPreviewDialog) OnCloseEvent(slot func(super func(param1 *qt.QCloseEvent), param1 *qt.QCloseEvent))

func (*QPrintPreviewDialog) OnContextMenuEvent

func (this *QPrintPreviewDialog) OnContextMenuEvent(slot func(super func(param1 *qt.QContextMenuEvent), param1 *qt.QContextMenuEvent))

func (*QPrintPreviewDialog) OnDone

func (this *QPrintPreviewDialog) OnDone(slot func(super func(result int), result int))

func (*QPrintPreviewDialog) OnEventFilter

func (this *QPrintPreviewDialog) OnEventFilter(slot func(super func(param1 *qt.QObject, param2 *qt.QEvent) bool, param1 *qt.QObject, param2 *qt.QEvent) bool)

func (*QPrintPreviewDialog) OnExec

func (this *QPrintPreviewDialog) OnExec(slot func(super func() int) int)

func (*QPrintPreviewDialog) OnKeyPressEvent

func (this *QPrintPreviewDialog) OnKeyPressEvent(slot func(super func(param1 *qt.QKeyEvent), param1 *qt.QKeyEvent))

func (*QPrintPreviewDialog) OnMinimumSizeHint

func (this *QPrintPreviewDialog) OnMinimumSizeHint(slot func(super func() *qt.QSize) *qt.QSize)

func (*QPrintPreviewDialog) OnOpen

func (this *QPrintPreviewDialog) OnOpen(slot func(super func()))

func (*QPrintPreviewDialog) OnPaintRequested

func (this *QPrintPreviewDialog) OnPaintRequested(slot func(printer *QPrinter))

func (*QPrintPreviewDialog) OnReject

func (this *QPrintPreviewDialog) OnReject(slot func(super func()))

func (*QPrintPreviewDialog) OnResizeEvent

func (this *QPrintPreviewDialog) OnResizeEvent(slot func(super func(param1 *qt.QResizeEvent), param1 *qt.QResizeEvent))

func (*QPrintPreviewDialog) OnSetVisible

func (this *QPrintPreviewDialog) OnSetVisible(slot func(super func(visible bool), visible bool))

func (*QPrintPreviewDialog) OnShowEvent

func (this *QPrintPreviewDialog) OnShowEvent(slot func(super func(param1 *qt.QShowEvent), param1 *qt.QShowEvent))

func (*QPrintPreviewDialog) OnSizeHint

func (this *QPrintPreviewDialog) OnSizeHint(slot func(super func() *qt.QSize) *qt.QSize)

func (*QPrintPreviewDialog) PaintRequested

func (this *QPrintPreviewDialog) PaintRequested(printer *QPrinter)

func (*QPrintPreviewDialog) Printer

func (this *QPrintPreviewDialog) Printer() *QPrinter

func (*QPrintPreviewDialog) SetVisible

func (this *QPrintPreviewDialog) SetVisible(visible bool)

func (*QPrintPreviewDialog) UnsafePointer

func (this *QPrintPreviewDialog) UnsafePointer() unsafe.Pointer

type QPrintPreviewWidget

type QPrintPreviewWidget struct {
	*qt.QWidget
	// contains filtered or unexported fields
}

func NewQPrintPreviewWidget

func NewQPrintPreviewWidget(parent *qt.QWidget) *QPrintPreviewWidget

NewQPrintPreviewWidget constructs a new QPrintPreviewWidget object.

func NewQPrintPreviewWidget2

func NewQPrintPreviewWidget2(printer *QPrinter) *QPrintPreviewWidget

NewQPrintPreviewWidget2 constructs a new QPrintPreviewWidget object.

func NewQPrintPreviewWidget3

func NewQPrintPreviewWidget3() *QPrintPreviewWidget

NewQPrintPreviewWidget3 constructs a new QPrintPreviewWidget object.

func NewQPrintPreviewWidget4

func NewQPrintPreviewWidget4(printer *QPrinter, parent *qt.QWidget) *QPrintPreviewWidget

NewQPrintPreviewWidget4 constructs a new QPrintPreviewWidget object.

func NewQPrintPreviewWidget5

func NewQPrintPreviewWidget5(printer *QPrinter, parent *qt.QWidget, flags qt.WindowType) *QPrintPreviewWidget

NewQPrintPreviewWidget5 constructs a new QPrintPreviewWidget object.

func NewQPrintPreviewWidget6

func NewQPrintPreviewWidget6(parent *qt.QWidget, flags qt.WindowType) *QPrintPreviewWidget

NewQPrintPreviewWidget6 constructs a new QPrintPreviewWidget object.

func UnsafeNewQPrintPreviewWidget

func UnsafeNewQPrintPreviewWidget(h unsafe.Pointer) *QPrintPreviewWidget

UnsafeNewQPrintPreviewWidget constructs the type using only unsafe pointers.

func (*QPrintPreviewWidget) CurrentPage

func (this *QPrintPreviewWidget) CurrentPage() int

func (*QPrintPreviewWidget) Delete

func (this *QPrintPreviewWidget) Delete()

Delete this object from C++ memory.

func (*QPrintPreviewWidget) FitInView

func (this *QPrintPreviewWidget) FitInView()

func (*QPrintPreviewWidget) FitToWidth

func (this *QPrintPreviewWidget) FitToWidth()

func (*QPrintPreviewWidget) GoGC

func (this *QPrintPreviewWidget) GoGC()

GoGC adds a Go Finalizer to this pointer, so that it will be deleted from C++ memory once it is unreachable from Go memory.

func (*QPrintPreviewWidget) MetaObject

func (this *QPrintPreviewWidget) MetaObject() *qt.QMetaObject

func (*QPrintPreviewWidget) Metacast

func (this *QPrintPreviewWidget) Metacast(param1 string) unsafe.Pointer

func (*QPrintPreviewWidget) OnActionEvent

func (this *QPrintPreviewWidget) OnActionEvent(slot func(super func(event *qt.QActionEvent), event *qt.QActionEvent))

func (*QPrintPreviewWidget) OnChangeEvent

func (this *QPrintPreviewWidget) OnChangeEvent(slot func(super func(param1 *qt.QEvent), param1 *qt.QEvent))

func (*QPrintPreviewWidget) OnCloseEvent

func (this *QPrintPreviewWidget) OnCloseEvent(slot func(super func(event *qt.QCloseEvent), event *qt.QCloseEvent))

func (*QPrintPreviewWidget) OnContextMenuEvent

func (this *QPrintPreviewWidget) OnContextMenuEvent(slot func(super func(event *qt.QContextMenuEvent), event *qt.QContextMenuEvent))

func (*QPrintPreviewWidget) OnDevType

func (this *QPrintPreviewWidget) OnDevType(slot func(super func() int) int)

func (*QPrintPreviewWidget) OnDragEnterEvent

func (this *QPrintPreviewWidget) OnDragEnterEvent(slot func(super func(event *qt.QDragEnterEvent), event *qt.QDragEnterEvent))

func (*QPrintPreviewWidget) OnDragLeaveEvent

func (this *QPrintPreviewWidget) OnDragLeaveEvent(slot func(super func(event *qt.QDragLeaveEvent), event *qt.QDragLeaveEvent))

func (*QPrintPreviewWidget) OnDragMoveEvent

func (this *QPrintPreviewWidget) OnDragMoveEvent(slot func(super func(event *qt.QDragMoveEvent), event *qt.QDragMoveEvent))

func (*QPrintPreviewWidget) OnDropEvent

func (this *QPrintPreviewWidget) OnDropEvent(slot func(super func(event *qt.QDropEvent), event *qt.QDropEvent))

func (*QPrintPreviewWidget) OnEnterEvent

func (this *QPrintPreviewWidget) OnEnterEvent(slot func(super func(event *qt.QEvent), event *qt.QEvent))

func (*QPrintPreviewWidget) OnEvent

func (this *QPrintPreviewWidget) OnEvent(slot func(super func(event *qt.QEvent) bool, event *qt.QEvent) bool)

func (*QPrintPreviewWidget) OnFocusInEvent

func (this *QPrintPreviewWidget) OnFocusInEvent(slot func(super func(event *qt.QFocusEvent), event *qt.QFocusEvent))

func (*QPrintPreviewWidget) OnFocusNextPrevChild

func (this *QPrintPreviewWidget) OnFocusNextPrevChild(slot func(super func(next bool) bool, next bool) bool)

func (*QPrintPreviewWidget) OnFocusOutEvent

func (this *QPrintPreviewWidget) OnFocusOutEvent(slot func(super func(event *qt.QFocusEvent), event *qt.QFocusEvent))

func (*QPrintPreviewWidget) OnHasHeightForWidth

func (this *QPrintPreviewWidget) OnHasHeightForWidth(slot func(super func() bool) bool)

func (*QPrintPreviewWidget) OnHeightForWidth

func (this *QPrintPreviewWidget) OnHeightForWidth(slot func(super func(param1 int) int, param1 int) int)

func (*QPrintPreviewWidget) OnHideEvent

func (this *QPrintPreviewWidget) OnHideEvent(slot func(super func(event *qt.QHideEvent), event *qt.QHideEvent))

func (*QPrintPreviewWidget) OnInitPainter

func (this *QPrintPreviewWidget) OnInitPainter(slot func(super func(painter *qt.QPainter), painter *qt.QPainter))

func (*QPrintPreviewWidget) OnInputMethodEvent

func (this *QPrintPreviewWidget) OnInputMethodEvent(slot func(super func(param1 *qt.QInputMethodEvent), param1 *qt.QInputMethodEvent))

func (*QPrintPreviewWidget) OnInputMethodQuery

func (this *QPrintPreviewWidget) OnInputMethodQuery(slot func(super func(param1 qt.InputMethodQuery) *qt.QVariant, param1 qt.InputMethodQuery) *qt.QVariant)

func (*QPrintPreviewWidget) OnKeyPressEvent

func (this *QPrintPreviewWidget) OnKeyPressEvent(slot func(super func(event *qt.QKeyEvent), event *qt.QKeyEvent))

func (*QPrintPreviewWidget) OnKeyReleaseEvent

func (this *QPrintPreviewWidget) OnKeyReleaseEvent(slot func(super func(event *qt.QKeyEvent), event *qt.QKeyEvent))

func (*QPrintPreviewWidget) OnLeaveEvent

func (this *QPrintPreviewWidget) OnLeaveEvent(slot func(super func(event *qt.QEvent), event *qt.QEvent))

func (*QPrintPreviewWidget) OnMetric

func (this *QPrintPreviewWidget) OnMetric(slot func(super func(param1 qt.QPaintDevice__PaintDeviceMetric) int, param1 qt.QPaintDevice__PaintDeviceMetric) int)

func (*QPrintPreviewWidget) OnMinimumSizeHint

func (this *QPrintPreviewWidget) OnMinimumSizeHint(slot func(super func() *qt.QSize) *qt.QSize)

func (*QPrintPreviewWidget) OnMouseDoubleClickEvent

func (this *QPrintPreviewWidget) OnMouseDoubleClickEvent(slot func(super func(event *qt.QMouseEvent), event *qt.QMouseEvent))

func (*QPrintPreviewWidget) OnMouseMoveEvent

func (this *QPrintPreviewWidget) OnMouseMoveEvent(slot func(super func(event *qt.QMouseEvent), event *qt.QMouseEvent))

func (*QPrintPreviewWidget) OnMousePressEvent

func (this *QPrintPreviewWidget) OnMousePressEvent(slot func(super func(event *qt.QMouseEvent), event *qt.QMouseEvent))

func (*QPrintPreviewWidget) OnMouseReleaseEvent

func (this *QPrintPreviewWidget) OnMouseReleaseEvent(slot func(super func(event *qt.QMouseEvent), event *qt.QMouseEvent))

func (*QPrintPreviewWidget) OnMoveEvent

func (this *QPrintPreviewWidget) OnMoveEvent(slot func(super func(event *qt.QMoveEvent), event *qt.QMoveEvent))

func (*QPrintPreviewWidget) OnNativeEvent

func (this *QPrintPreviewWidget) OnNativeEvent(slot func(super func(eventType []byte, message unsafe.Pointer, result *int64) bool, eventType []byte, message unsafe.Pointer, result *int64) bool)

func (*QPrintPreviewWidget) OnPaintEngine

func (this *QPrintPreviewWidget) OnPaintEngine(slot func(super func() *qt.QPaintEngine) *qt.QPaintEngine)

func (*QPrintPreviewWidget) OnPaintEvent

func (this *QPrintPreviewWidget) OnPaintEvent(slot func(super func(event *qt.QPaintEvent), event *qt.QPaintEvent))

func (*QPrintPreviewWidget) OnPaintRequested

func (this *QPrintPreviewWidget) OnPaintRequested(slot func(printer *QPrinter))

func (*QPrintPreviewWidget) OnPreviewChanged

func (this *QPrintPreviewWidget) OnPreviewChanged(slot func())

func (*QPrintPreviewWidget) OnRedirected

func (this *QPrintPreviewWidget) OnRedirected(slot func(super func(offset *qt.QPoint) *qt.QPaintDevice, offset *qt.QPoint) *qt.QPaintDevice)

func (*QPrintPreviewWidget) OnResizeEvent

func (this *QPrintPreviewWidget) OnResizeEvent(slot func(super func(event *qt.QResizeEvent), event *qt.QResizeEvent))

func (*QPrintPreviewWidget) OnSetVisible

func (this *QPrintPreviewWidget) OnSetVisible(slot func(super func(visible bool), visible bool))

func (*QPrintPreviewWidget) OnSharedPainter

func (this *QPrintPreviewWidget) OnSharedPainter(slot func(super func() *qt.QPainter) *qt.QPainter)

func (*QPrintPreviewWidget) OnShowEvent

func (this *QPrintPreviewWidget) OnShowEvent(slot func(super func(event *qt.QShowEvent), event *qt.QShowEvent))

func (*QPrintPreviewWidget) OnSizeHint

func (this *QPrintPreviewWidget) OnSizeHint(slot func(super func() *qt.QSize) *qt.QSize)

func (*QPrintPreviewWidget) OnTabletEvent

func (this *QPrintPreviewWidget) OnTabletEvent(slot func(super func(event *qt.QTabletEvent), event *qt.QTabletEvent))

func (*QPrintPreviewWidget) OnWheelEvent

func (this *QPrintPreviewWidget) OnWheelEvent(slot func(super func(event *qt.QWheelEvent), event *qt.QWheelEvent))

func (*QPrintPreviewWidget) Orientation

func (this *QPrintPreviewWidget) Orientation() QPrinter__Orientation

func (*QPrintPreviewWidget) PageCount

func (this *QPrintPreviewWidget) PageCount() int

func (*QPrintPreviewWidget) PaintRequested

func (this *QPrintPreviewWidget) PaintRequested(printer *QPrinter)

func (*QPrintPreviewWidget) PreviewChanged

func (this *QPrintPreviewWidget) PreviewChanged()

func (*QPrintPreviewWidget) Print

func (this *QPrintPreviewWidget) Print()

func (*QPrintPreviewWidget) SetAllPagesViewMode

func (this *QPrintPreviewWidget) SetAllPagesViewMode()

func (*QPrintPreviewWidget) SetCurrentPage

func (this *QPrintPreviewWidget) SetCurrentPage(pageNumber int)

func (*QPrintPreviewWidget) SetFacingPagesViewMode

func (this *QPrintPreviewWidget) SetFacingPagesViewMode()

func (*QPrintPreviewWidget) SetLandscapeOrientation

func (this *QPrintPreviewWidget) SetLandscapeOrientation()

func (*QPrintPreviewWidget) SetOrientation

func (this *QPrintPreviewWidget) SetOrientation(orientation QPrinter__Orientation)

func (*QPrintPreviewWidget) SetPortraitOrientation

func (this *QPrintPreviewWidget) SetPortraitOrientation()

func (*QPrintPreviewWidget) SetSinglePageViewMode

func (this *QPrintPreviewWidget) SetSinglePageViewMode()

func (*QPrintPreviewWidget) SetViewMode

func (this *QPrintPreviewWidget) SetViewMode(viewMode QPrintPreviewWidget__ViewMode)

func (*QPrintPreviewWidget) SetVisible

func (this *QPrintPreviewWidget) SetVisible(visible bool)

func (*QPrintPreviewWidget) SetZoomFactor

func (this *QPrintPreviewWidget) SetZoomFactor(zoomFactor float64)

func (*QPrintPreviewWidget) SetZoomMode

func (this *QPrintPreviewWidget) SetZoomMode(zoomMode QPrintPreviewWidget__ZoomMode)

func (*QPrintPreviewWidget) UnsafePointer

func (this *QPrintPreviewWidget) UnsafePointer() unsafe.Pointer

func (*QPrintPreviewWidget) UpdatePreview

func (this *QPrintPreviewWidget) UpdatePreview()

func (*QPrintPreviewWidget) ViewMode

func (*QPrintPreviewWidget) ZoomFactor

func (this *QPrintPreviewWidget) ZoomFactor() float64

func (*QPrintPreviewWidget) ZoomIn

func (this *QPrintPreviewWidget) ZoomIn()

func (*QPrintPreviewWidget) ZoomIn1

func (this *QPrintPreviewWidget) ZoomIn1(zoom float64)

func (*QPrintPreviewWidget) ZoomMode

func (*QPrintPreviewWidget) ZoomOut

func (this *QPrintPreviewWidget) ZoomOut()

func (*QPrintPreviewWidget) ZoomOut1

func (this *QPrintPreviewWidget) ZoomOut1(zoom float64)

type QPrintPreviewWidget__ViewMode

type QPrintPreviewWidget__ViewMode int
const (
	QPrintPreviewWidget__SinglePageView  QPrintPreviewWidget__ViewMode = 0
	QPrintPreviewWidget__FacingPagesView QPrintPreviewWidget__ViewMode = 1
	QPrintPreviewWidget__AllPagesView    QPrintPreviewWidget__ViewMode = 2
)

type QPrintPreviewWidget__ZoomMode

type QPrintPreviewWidget__ZoomMode int
const (
	QPrintPreviewWidget__CustomZoom QPrintPreviewWidget__ZoomMode = 0
	QPrintPreviewWidget__FitToWidth QPrintPreviewWidget__ZoomMode = 1
	QPrintPreviewWidget__FitInView  QPrintPreviewWidget__ZoomMode = 2
)

type QPrinter

type QPrinter struct {
	*qt.QPagedPaintDevice
	// contains filtered or unexported fields
}

func NewQPrinter

func NewQPrinter() *QPrinter

NewQPrinter constructs a new QPrinter object.

func NewQPrinter2

func NewQPrinter2(printer *QPrinterInfo) *QPrinter

NewQPrinter2 constructs a new QPrinter object.

func NewQPrinter3

func NewQPrinter3(mode QPrinter__PrinterMode) *QPrinter

NewQPrinter3 constructs a new QPrinter object.

func NewQPrinter4

func NewQPrinter4(printer *QPrinterInfo, mode QPrinter__PrinterMode) *QPrinter

NewQPrinter4 constructs a new QPrinter object.

func UnsafeNewQPrinter

func UnsafeNewQPrinter(h unsafe.Pointer) *QPrinter

UnsafeNewQPrinter constructs the type using only unsafe pointers.

func (*QPrinter) Abort

func (this *QPrinter) Abort() bool

func (*QPrinter) ActualNumCopies

func (this *QPrinter) ActualNumCopies() int

func (*QPrinter) CollateCopies

func (this *QPrinter) CollateCopies() bool

func (*QPrinter) ColorMode

func (this *QPrinter) ColorMode() QPrinter__ColorMode

func (*QPrinter) CopyCount

func (this *QPrinter) CopyCount() int

func (*QPrinter) Creator

func (this *QPrinter) Creator() string

func (*QPrinter) Delete

func (this *QPrinter) Delete()

Delete this object from C++ memory.

func (*QPrinter) DevType

func (this *QPrinter) DevType() int

func (*QPrinter) DocName

func (this *QPrinter) DocName() string

func (*QPrinter) DoubleSidedPrinting

func (this *QPrinter) DoubleSidedPrinting() bool

func (*QPrinter) Duplex

func (this *QPrinter) Duplex() QPrinter__DuplexMode

func (*QPrinter) FontEmbeddingEnabled

func (this *QPrinter) FontEmbeddingEnabled() bool

func (*QPrinter) FromPage

func (this *QPrinter) FromPage() int

func (*QPrinter) FullPage

func (this *QPrinter) FullPage() bool

func (*QPrinter) GetPageMargins

func (this *QPrinter) GetPageMargins(left *float64, top *float64, right *float64, bottom *float64, unit QPrinter__Unit)

func (*QPrinter) GoGC

func (this *QPrinter) GoGC()

GoGC adds a Go Finalizer to this pointer, so that it will be deleted from C++ memory once it is unreachable from Go memory.

func (*QPrinter) IsValid

func (this *QPrinter) IsValid() bool

func (*QPrinter) NewPage

func (this *QPrinter) NewPage() bool

func (*QPrinter) NumCopies

func (this *QPrinter) NumCopies() int

func (*QPrinter) OnDevType

func (this *QPrinter) OnDevType(slot func(super func() int) int)

func (*QPrinter) OnMetric

func (this *QPrinter) OnMetric(slot func(super func(param1 qt.QPaintDevice__PaintDeviceMetric) int, param1 qt.QPaintDevice__PaintDeviceMetric) int)

func (*QPrinter) OnNewPage

func (this *QPrinter) OnNewPage(slot func(super func() bool) bool)

func (*QPrinter) OnPaintEngine

func (this *QPrinter) OnPaintEngine(slot func(super func() *qt.QPaintEngine) *qt.QPaintEngine)

func (*QPrinter) OnSetMargins

func (this *QPrinter) OnSetMargins(slot func(super func(m *qt.QPagedPaintDevice__Margins), m *qt.QPagedPaintDevice__Margins))

func (*QPrinter) OnSetPageSize

func (this *QPrinter) OnSetPageSize(slot func(super func(pageSize qt.QPagedPaintDevice__PageSize), pageSize qt.QPagedPaintDevice__PageSize))

func (*QPrinter) OnSetPageSizeMM

func (this *QPrinter) OnSetPageSizeMM(slot func(super func(size *qt.QSizeF), size *qt.QSizeF))

func (*QPrinter) Orientation

func (this *QPrinter) Orientation() QPrinter__Orientation

func (*QPrinter) OutputFileName

func (this *QPrinter) OutputFileName() string

func (*QPrinter) OutputFormat

func (this *QPrinter) OutputFormat() QPrinter__OutputFormat

func (*QPrinter) PageOrder

func (this *QPrinter) PageOrder() QPrinter__PageOrder

func (*QPrinter) PageRect

func (this *QPrinter) PageRect() *qt.QRect

func (*QPrinter) PageRectWithQPrinterUnit

func (this *QPrinter) PageRectWithQPrinterUnit(param1 QPrinter__Unit) *qt.QRectF

func (*QPrinter) PageSize

func (this *QPrinter) PageSize() qt.QPagedPaintDevice__PageSize

func (*QPrinter) PaintEngine

func (this *QPrinter) PaintEngine() *qt.QPaintEngine

func (*QPrinter) PaperName

func (this *QPrinter) PaperName() string

func (*QPrinter) PaperRect

func (this *QPrinter) PaperRect() *qt.QRect

func (*QPrinter) PaperRectWithQPrinterUnit

func (this *QPrinter) PaperRectWithQPrinterUnit(param1 QPrinter__Unit) *qt.QRectF

func (*QPrinter) PaperSize

func (this *QPrinter) PaperSize() qt.QPagedPaintDevice__PageSize

func (*QPrinter) PaperSizeWithUnit

func (this *QPrinter) PaperSizeWithUnit(unit QPrinter__Unit) *qt.QSizeF

func (*QPrinter) PaperSource

func (this *QPrinter) PaperSource() QPrinter__PaperSource

func (*QPrinter) PdfVersion

func (this *QPrinter) PdfVersion() qt.QPagedPaintDevice__PdfVersion

func (*QPrinter) PrintEngine

func (this *QPrinter) PrintEngine() *QPrintEngine

func (*QPrinter) PrintProgram

func (this *QPrinter) PrintProgram() string

func (*QPrinter) PrintRange

func (this *QPrinter) PrintRange() QPrinter__PrintRange

func (*QPrinter) PrinterName

func (this *QPrinter) PrinterName() string

func (*QPrinter) PrinterSelectionOption

func (this *QPrinter) PrinterSelectionOption() string

func (*QPrinter) PrinterState

func (this *QPrinter) PrinterState() QPrinter__PrinterState

func (*QPrinter) Resolution

func (this *QPrinter) Resolution() int

func (*QPrinter) SetCollateCopies

func (this *QPrinter) SetCollateCopies(collate bool)

func (*QPrinter) SetColorMode

func (this *QPrinter) SetColorMode(colorMode QPrinter__ColorMode)

func (*QPrinter) SetCopyCount

func (this *QPrinter) SetCopyCount(copyCount int)

func (*QPrinter) SetCreator

func (this *QPrinter) SetCreator(creator string)

func (*QPrinter) SetDocName

func (this *QPrinter) SetDocName(docName string)

func (*QPrinter) SetDoubleSidedPrinting

func (this *QPrinter) SetDoubleSidedPrinting(enable bool)

func (*QPrinter) SetDuplex

func (this *QPrinter) SetDuplex(duplex QPrinter__DuplexMode)

func (*QPrinter) SetFontEmbeddingEnabled

func (this *QPrinter) SetFontEmbeddingEnabled(enable bool)

func (*QPrinter) SetFromTo

func (this *QPrinter) SetFromTo(fromPage int, toPage int)

func (*QPrinter) SetFullPage

func (this *QPrinter) SetFullPage(fullPage bool)

func (*QPrinter) SetMargins

func (this *QPrinter) SetMargins(m *qt.QPagedPaintDevice__Margins)

func (*QPrinter) SetNumCopies

func (this *QPrinter) SetNumCopies(numCopies int)

func (*QPrinter) SetOrientation

func (this *QPrinter) SetOrientation(orientation QPrinter__Orientation)

func (*QPrinter) SetOutputFileName

func (this *QPrinter) SetOutputFileName(outputFileName string)

func (*QPrinter) SetOutputFormat

func (this *QPrinter) SetOutputFormat(format QPrinter__OutputFormat)

func (*QPrinter) SetPageMargins

func (this *QPrinter) SetPageMargins(left float64, top float64, right float64, bottom float64, unit QPrinter__Unit)

func (*QPrinter) SetPageOrder

func (this *QPrinter) SetPageOrder(pageOrder QPrinter__PageOrder)

func (*QPrinter) SetPageSize

func (this *QPrinter) SetPageSize(pageSize qt.QPagedPaintDevice__PageSize)

func (*QPrinter) SetPageSizeMM

func (this *QPrinter) SetPageSizeMM(size *qt.QSizeF)

func (*QPrinter) SetPaperName

func (this *QPrinter) SetPaperName(paperName string)

func (*QPrinter) SetPaperSize

func (this *QPrinter) SetPaperSize(paperSize qt.QPagedPaintDevice__PageSize)

func (*QPrinter) SetPaperSize2

func (this *QPrinter) SetPaperSize2(paperSize *qt.QSizeF, unit QPrinter__Unit)

func (*QPrinter) SetPaperSource

func (this *QPrinter) SetPaperSource(paperSource QPrinter__PaperSource)

func (*QPrinter) SetPdfVersion

func (this *QPrinter) SetPdfVersion(version qt.QPagedPaintDevice__PdfVersion)

func (*QPrinter) SetPrintProgram

func (this *QPrinter) SetPrintProgram(printProgram string)

func (*QPrinter) SetPrintRange

func (this *QPrinter) SetPrintRange(rangeVal QPrinter__PrintRange)

func (*QPrinter) SetPrinterName

func (this *QPrinter) SetPrinterName(printerName string)

func (*QPrinter) SetPrinterSelectionOption

func (this *QPrinter) SetPrinterSelectionOption(printerSelectionOption string)

func (*QPrinter) SetResolution

func (this *QPrinter) SetResolution(resolution int)

func (*QPrinter) SetWinPageSize

func (this *QPrinter) SetWinPageSize(winPageSize int)

func (*QPrinter) SupportedResolutions

func (this *QPrinter) SupportedResolutions() []int

func (*QPrinter) SupportsMultipleCopies

func (this *QPrinter) SupportsMultipleCopies() bool

func (*QPrinter) ToPage

func (this *QPrinter) ToPage() int

func (*QPrinter) UnsafePointer

func (this *QPrinter) UnsafePointer() unsafe.Pointer

func (*QPrinter) WinPageSize

func (this *QPrinter) WinPageSize() int

type QPrinterInfo

type QPrinterInfo struct {
	// contains filtered or unexported fields
}

func NewQPrinterInfo

func NewQPrinterInfo() *QPrinterInfo

NewQPrinterInfo constructs a new QPrinterInfo object.

func NewQPrinterInfo2

func NewQPrinterInfo2(other *QPrinterInfo) *QPrinterInfo

NewQPrinterInfo2 constructs a new QPrinterInfo object.

func NewQPrinterInfo3

func NewQPrinterInfo3(printer *QPrinter) *QPrinterInfo

NewQPrinterInfo3 constructs a new QPrinterInfo object.

func QPrinterInfo_AvailablePrinters

func QPrinterInfo_AvailablePrinters() []QPrinterInfo

func QPrinterInfo_DefaultPrinter

func QPrinterInfo_DefaultPrinter() *QPrinterInfo

func QPrinterInfo_PrinterInfo

func QPrinterInfo_PrinterInfo(printerName string) *QPrinterInfo

func UnsafeNewQPrinterInfo

func UnsafeNewQPrinterInfo(h unsafe.Pointer) *QPrinterInfo

UnsafeNewQPrinterInfo constructs the type using only unsafe pointers.

func (*QPrinterInfo) DefaultColorMode

func (this *QPrinterInfo) DefaultColorMode() QPrinter__ColorMode

func (*QPrinterInfo) DefaultDuplexMode

func (this *QPrinterInfo) DefaultDuplexMode() QPrinter__DuplexMode

func (*QPrinterInfo) DefaultPageSize

func (this *QPrinterInfo) DefaultPageSize() *qt.QPageSize

func (*QPrinterInfo) Delete

func (this *QPrinterInfo) Delete()

Delete this object from C++ memory.

func (*QPrinterInfo) Description

func (this *QPrinterInfo) Description() string

func (*QPrinterInfo) GoGC

func (this *QPrinterInfo) GoGC()

GoGC adds a Go Finalizer to this pointer, so that it will be deleted from C++ memory once it is unreachable from Go memory.

func (*QPrinterInfo) IsDefault

func (this *QPrinterInfo) IsDefault() bool

func (*QPrinterInfo) IsNull

func (this *QPrinterInfo) IsNull() bool

func (*QPrinterInfo) IsRemote

func (this *QPrinterInfo) IsRemote() bool

func (*QPrinterInfo) Location

func (this *QPrinterInfo) Location() string

func (*QPrinterInfo) MakeAndModel

func (this *QPrinterInfo) MakeAndModel() string

func (*QPrinterInfo) MaximumPhysicalPageSize

func (this *QPrinterInfo) MaximumPhysicalPageSize() *qt.QPageSize

func (*QPrinterInfo) MinimumPhysicalPageSize

func (this *QPrinterInfo) MinimumPhysicalPageSize() *qt.QPageSize

func (*QPrinterInfo) OperatorAssign

func (this *QPrinterInfo) OperatorAssign(other *QPrinterInfo)

func (*QPrinterInfo) PrinterName

func (this *QPrinterInfo) PrinterName() string

func (*QPrinterInfo) State

func (this *QPrinterInfo) State() QPrinter__PrinterState

func (*QPrinterInfo) SupportedColorModes

func (this *QPrinterInfo) SupportedColorModes() []QPrinter__ColorMode

func (*QPrinterInfo) SupportedDuplexModes

func (this *QPrinterInfo) SupportedDuplexModes() []QPrinter__DuplexMode

func (*QPrinterInfo) SupportedPageSizes

func (this *QPrinterInfo) SupportedPageSizes() []qt.QPageSize

func (*QPrinterInfo) SupportedPaperSizes

func (this *QPrinterInfo) SupportedPaperSizes() []qt.QPagedPaintDevice__PageSize

func (*QPrinterInfo) SupportedResolutions

func (this *QPrinterInfo) SupportedResolutions() []int

func (*QPrinterInfo) SupportedSizesWithNames

func (this *QPrinterInfo) SupportedSizesWithNames() []struct {
	First  string
	Second qt.QSizeF
}

func (*QPrinterInfo) SupportsCustomPageSizes

func (this *QPrinterInfo) SupportsCustomPageSizes() bool

func (*QPrinterInfo) UnsafePointer

func (this *QPrinterInfo) UnsafePointer() unsafe.Pointer

type QPrinter__ColorMode

type QPrinter__ColorMode int
const (
	QPrinter__GrayScale QPrinter__ColorMode = 0
	QPrinter__Color     QPrinter__ColorMode = 1
)

type QPrinter__DuplexMode

type QPrinter__DuplexMode int
const (
	QPrinter__DuplexNone      QPrinter__DuplexMode = 0
	QPrinter__DuplexAuto      QPrinter__DuplexMode = 1
	QPrinter__DuplexLongSide  QPrinter__DuplexMode = 2
	QPrinter__DuplexShortSide QPrinter__DuplexMode = 3
)

type QPrinter__Orientation

type QPrinter__Orientation int
const (
	QPrinter__Portrait  QPrinter__Orientation = 0
	QPrinter__Landscape QPrinter__Orientation = 1
)

type QPrinter__OutputFormat

type QPrinter__OutputFormat int
const (
	QPrinter__NativeFormat QPrinter__OutputFormat = 0
	QPrinter__PdfFormat    QPrinter__OutputFormat = 1
)

type QPrinter__PageOrder

type QPrinter__PageOrder int
const (
	QPrinter__FirstPageFirst QPrinter__PageOrder = 0
	QPrinter__LastPageFirst  QPrinter__PageOrder = 1
)

type QPrinter__PaperSource

type QPrinter__PaperSource int
const (
	QPrinter__OnlyOne         QPrinter__PaperSource = 0
	QPrinter__Lower           QPrinter__PaperSource = 1
	QPrinter__Middle          QPrinter__PaperSource = 2
	QPrinter__Manual          QPrinter__PaperSource = 3
	QPrinter__Envelope        QPrinter__PaperSource = 4
	QPrinter__EnvelopeManual  QPrinter__PaperSource = 5
	QPrinter__Auto            QPrinter__PaperSource = 6
	QPrinter__Tractor         QPrinter__PaperSource = 7
	QPrinter__SmallFormat     QPrinter__PaperSource = 8
	QPrinter__LargeFormat     QPrinter__PaperSource = 9
	QPrinter__LargeCapacity   QPrinter__PaperSource = 10
	QPrinter__Cassette        QPrinter__PaperSource = 11
	QPrinter__FormSource      QPrinter__PaperSource = 12
	QPrinter__MaxPageSource   QPrinter__PaperSource = 13
	QPrinter__CustomSource    QPrinter__PaperSource = 14
	QPrinter__LastPaperSource QPrinter__PaperSource = 14
	QPrinter__Upper           QPrinter__PaperSource = 0
)

type QPrinter__PrintRange

type QPrinter__PrintRange int
const (
	QPrinter__AllPages    QPrinter__PrintRange = 0
	QPrinter__Selection   QPrinter__PrintRange = 1
	QPrinter__PageRange   QPrinter__PrintRange = 2
	QPrinter__CurrentPage QPrinter__PrintRange = 3
)

type QPrinter__PrinterMode

type QPrinter__PrinterMode int
const (
	QPrinter__ScreenResolution  QPrinter__PrinterMode = 0
	QPrinter__PrinterResolution QPrinter__PrinterMode = 1
	QPrinter__HighResolution    QPrinter__PrinterMode = 2
)

type QPrinter__PrinterState

type QPrinter__PrinterState int
const (
	QPrinter__Idle    QPrinter__PrinterState = 0
	QPrinter__Active  QPrinter__PrinterState = 1
	QPrinter__Aborted QPrinter__PrinterState = 2
	QPrinter__Error   QPrinter__PrinterState = 3
)

type QPrinter__Unit

type QPrinter__Unit int
const (
	QPrinter__Millimeter  QPrinter__Unit = 0
	QPrinter__Point       QPrinter__Unit = 1
	QPrinter__Inch        QPrinter__Unit = 2
	QPrinter__Pica        QPrinter__Unit = 3
	QPrinter__Didot       QPrinter__Unit = 4
	QPrinter__Cicero      QPrinter__Unit = 5
	QPrinter__DevicePixel QPrinter__Unit = 6
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL