QPdfOutputIntent Class
| Cabeçalho: | #include <QPdfOutputIntent> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
| qmake: | QT += gui |
| Desde: | Qt 6.8 |
- Lista de todos os membros, incluindo membros herdados
- QPdfOutputIntent faz parte das Classes de Pintura.
Funções públicas
| QPdfOutputIntent() | |
| QPdfOutputIntent(const QPdfOutputIntent &other) | |
| QPdfOutputIntent(QPdfOutputIntent &&other) | |
| ~QPdfOutputIntent() | |
| QString | outputCondition() const |
| QString | outputConditionIdentifier() const |
| QColorSpace | outputProfile() const |
| QUrl | registryName() const |
| void | setOutputCondition(const QString &condition) |
| void | setOutputConditionIdentifier(const QString &identifier) |
| void | setOutputProfile(const QColorSpace &profile) |
| void | setRegistryName(const QUrl &name) |
| void | swap(QPdfOutputIntent &other) |
| QPdfOutputIntent & | operator=(QPdfOutputIntent &&other) |
| QPdfOutputIntent & | operator=(const QPdfOutputIntent &other) |
Descrição detalhada
A classe QPdfOutputIntent contém metadados que caracterizam as condições de impressão para as quais os dados de pintura foram preparados ao gerar um arquivo PDF.
Veja também QPdfWriter.
Documentação das funções de membro
QPdfOutputIntent::QPdfOutputIntent()
Cria uma nova intenção de saída em PDF.
QPdfOutputIntent::QPdfOutputIntent(const QPdfOutputIntent &other)
Cria uma cópia da intenção de saída other.
[constexpr noexcept default] QPdfOutputIntent::QPdfOutputIntent(QPdfOutputIntent &&other)
Cria um objeto `QPdfOutputIntent` a partir de ` other`.
[noexcept] QPdfOutputIntent::~QPdfOutputIntent()
Exclui essa intenção de saída.
QString QPdfOutputIntent::outputCondition() const
Retorna a condição de saída em formato legível por humanos.
Trata-se de uma sequência de caracteres que identifica de forma concisa a condição de impressão caracterizada, de maneira que seja compreensível para um operador humano.
A condição de saída padrão é sRGB IEC61966 v2.1 with black scaling.
Veja também setOutputCondition().
QString QPdfOutputIntent::outputConditionIdentifier() const
Retorna o identificador da condição de saída.
Se for fornecido um nome de registro, esse identificador deve corresponder ao nome de referência de uma entrada nesse registro.
O identificador padrão é sRGB_IEC61966-2-1_black_scaled.
Veja também setOutputConditionIdentifier().
QColorSpace QPdfOutputIntent::outputProfile() const
Retorna o perfil do dispositivo de saída.
O perfil padrão é o perfil sRGB v2, disponível no International Color Consortium.
Veja também setOutputProfile().
QUrl QPdfOutputIntent::registryName() const
Retorna a URL de um registro de caracterização para a condição de impressão pretendida.
O registro padrão é http://www.color.org.
Veja também setRegistryName() e setOutputConditionIdentifier().
void QPdfOutputIntent::setOutputCondition(const QString &condition)
Define a condição de saída legível por humanos como condition.
Veja também outputCondition(), setOutputConditionIdentifier() e setRegistryName().
void QPdfOutputIntent::setOutputConditionIdentifier(const QString &identifier)
Define o identificador da condição de saída como identifier.
Se for fornecido um nome de registro, esse identificador deve corresponder ao nome de referência de uma entrada nesse registro.
Veja também outputConditionIdentifier(), setOutputCondition() e setRegistryName().
void QPdfOutputIntent::setOutputProfile(const QColorSpace &profile)
Define o perfil do dispositivo de saída como profile.
Observação: O PDF/X-4 exige que todas as especificações de cor no documento correspondam ao mesmo espaço de cor de profile. É de responsabilidade do aplicativo garantir que isso ocorra.
Veja também outputProfile(), QColorSpace::fromIccProfile e QPdfWriter::setColorModel.
void QPdfOutputIntent::setRegistryName(const QUrl &name)
Define a URL do registro de caracterização como name.
Veja também registryName() e setOutputConditionIdentifier().
[noexcept] void QPdfOutputIntent::swap(QPdfOutputIntent &other)
Troca essa intenção de saída por other. Essa operação é muito rápida e nunca falha.
[noexcept] QPdfOutputIntent &QPdfOutputIntent::operator=(QPdfOutputIntent &&other)
A instrução `Move` atribui a intenção de saída other a esta intenção.
QPdfOutputIntent &QPdfOutputIntent::operator=(const QPdfOutputIntent &other)
Atribui a intenção de saída “ other ” a esta intenção.
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.