QPrintEngine Class ReferenceThe QPrintEngine class defines an interface for how QPrinter interacts with a given printing subsystem. Далее... #include <QPrintEngine> Замечание: Все функции в этом классе реентерабельны. Открытые типы
Открытые функции
Подробное описаниеThe QPrintEngine class defines an interface for how QPrinter interacts with a given printing subsystem. The common case when creating your own print engine is to derive from both QPaintEngine and QPrintEngine. Various properties of a print engine are given with property() and set with setProperty(). See also QPaintEngine. Описание типов-членовenum QPrintEngine::PrintEnginePropertyKeyThis enum is used to communicate properties between the print engine and QPrinter. A property may or may not be supported by a given print engine.
Описание функций-членовQPrintEngine::~QPrintEngine () [virtual]Destroys the print engine. bool QPrintEngine::abort () [pure virtual]Instructs the print engine to abort the printing process. Возвращает true в случае успеха; при неудаче возвращается false. int QPrintEngine::metric ( QPaintDevice::PaintDeviceMetric id ) const [pure virtual]Returns the metric for the given id. bool QPrintEngine::newPage () [pure virtual]Instructs the print engine to start a new page. Returns true if the printer was able to create the new page; otherwise returns false. QPrinter::PrinterState QPrintEngine::printerState () const [pure virtual]Returns the current state of the printer being used by the print engine. QVariant QPrintEngine::property ( PrintEnginePropertyKey key ) const [pure virtual]Returns the print engine's property specified by key. See also setProperty(). void QPrintEngine::setProperty ( PrintEnginePropertyKey key, const QVariant & value ) [pure virtual]Sets the print engine's property specified by key to the given value. See also property(). |
Попытка перевода Qt документации. Если есть желание присоединиться, или если есть замечания или пожелания, то заходите на форум: Перевод Qt документации на русский язык... Люди внесшие вклад в перевод: Команда переводчиков |