Qyoto
4.0.5
Qyoto is a C# language binding for Qt
|
The QPrinterInfo class gives access to information about existing printers. More...
Public Member Functions | |
QPrinterInfo () | |
| |
QPrinterInfo (QPrinterInfo other) | |
| |
QPrinterInfo (QPrinter printer) | |
| |
virtual void | CreateProxy () |
new bool | IsDefault () |
| |
new bool | IsNull () |
| |
new string | PrinterName () |
| |
new System.Collections.Generic.List < QPrinter.PaperSize > | SupportedPaperSizes () |
| |
new void | Dispose () |
Static Public Member Functions | |
static System.Collections.Generic.List < QPrinterInfo > | AvailablePrinters () |
| |
static QPrinterInfo | DefaultPrinter () |
| |
Protected Member Functions | |
QPrinterInfo (System.Type dummy) | |
Protected Attributes | |
SmokeInvocation | interceptor |
Properties | |
virtual System.IntPtr | SmokeObject [get, set] |
The QPrinterInfo class gives access to information about existing printers.
Use the static functions to generate a list of QPrinterInfo objects. Each QPrinterInfo object in the list represents a single printer and can be queried for name, supported paper sizes, and whether or not it is the default printer.
|
protected |
QtGui.QPrinterInfo.QPrinterInfo | ( | ) |
Constructs an empty QPrinterInfo object.
See also isNull().
QtGui.QPrinterInfo.QPrinterInfo | ( | QPrinterInfo | other | ) |
Constructs a copy of other.
This function was introduced in Qt 4.8.
QtGui.QPrinterInfo.QPrinterInfo | ( | QPrinter | printer | ) |
Constructs a QPrinterInfo object from printer.
|
static |
Returns a list of available printers on the system.
|
virtual |
|
static |
Returns the default printer on the system.
The return value should be checked using isNull() before being used, in case there is no default printer.
See also isNull().
new void QtGui.QPrinterInfo.Dispose | ( | ) |
new bool QtGui.QPrinterInfo.IsDefault | ( | ) |
Returns whether this printer is the default printer.
new bool QtGui.QPrinterInfo.IsNull | ( | ) |
Returns whether this QPrinterInfo object holds a printer definition.
An empty QPrinterInfo object could result for example from calling defaultPrinter() when there are no printers on the system.
new string QtGui.QPrinterInfo.PrinterName | ( | ) |
Returns the name of the printer.
See also QPrinter::setPrinterName().
new System.Collections.Generic.List<QPrinter.PaperSize> QtGui.QPrinterInfo.SupportedPaperSizes | ( | ) |
Returns a list of supported paper sizes by the printer.
Not all printer drivers support this query, so the list may be empty. On Mac OS X 10.3, this function always returns an empty list.
This function was introduced in Qt 4.4.
|
protected |
|
getset |