QPrinterInfo Class ReferenceThe QPrinterInfo class gives access to information about existing printers. Далее... #include <QPrinterInfo> Этот класс был введён в Qt 4.4. Открытые функции
Статические открытые члены
Подробное описание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. Описание функций-членовQPrinterInfo::QPrinterInfo ()Constructs an empty QPrinterInfo object. Смотрите также isNull(). QPrinterInfo::QPrinterInfo ( const QPrinterInfo & other )Создаёт копию other. Эта функция была введена в Qt 4.8. QPrinterInfo::QPrinterInfo ( const QPrinter & printer )Constructs a QPrinterInfo object from printer. QPrinterInfo::~QPrinterInfo ()Destroys the QPrinterInfo object. References to the values in the object become invalid. QList<QPrinterInfo> QPrinterInfo::availablePrinters () [static]Returns a list of available printers on the system. QPrinterInfo QPrinterInfo::defaultPrinter () [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. Смотрите также isNull(). bool QPrinterInfo::isDefault () constReturns whether this printer is the default printer. bool QPrinterInfo::isNull () constReturns 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. QString QPrinterInfo::printerName () constReturns the name of the printer. See also QPrinter::setPrinterName(). QList<QPrinter::PaperSize> QPrinterInfo::supportedPaperSizes () constReturns 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. Эта функция была введена в Qt 4.4. QPrinterInfo & QPrinterInfo::operator= ( const QPrinterInfo & other )Sets the QPrinterInfo object to be equal to other. Эта функция была введена в Qt 4.8. |
Попытка перевода Qt документации. Если есть желание присоединиться, или если есть замечания или пожелания, то заходите на форум: Перевод Qt документации на русский язык... Люди внесшие вклад в перевод: Команда переводчиков |