QPdfOutputIntent Class
| Cabecera: | #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 los miembros, incluyendo los heredados
- QPdfOutputIntent es parte de Clases de Pintura.
Funciones 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) |
Descripción Detallada
La clase QPdfOutputIntent contiene metadatos que caracterizan la condición de impresión para la que se han preparado los datos de pintura al generar un archivo PDF.
Véase también QPdfWriter.
Documentación de las funciones miembro
QPdfOutputIntent::QPdfOutputIntent()
Crea un nuevo intento de salida PDF.
QPdfOutputIntent::QPdfOutputIntent(const QPdfOutputIntent &other)
Construye una copia de la intent de salida other.
[constexpr noexcept] QPdfOutputIntent::QPdfOutputIntent(QPdfOutputIntent &&other)
Construye un objeto QPdfOutputIntent pasando de other.
[noexcept] QPdfOutputIntent::~QPdfOutputIntent()
Destruye este intento de salida.
QString QPdfOutputIntent::outputCondition() const
Devuelve la condición de salida legible por humanos.
Se trata de una cadena que identifica de forma concisa la condición de impresión caracterizada de forma que sea significativa para un operador humano.
La condición de salida por defecto es sRGB IEC61966 v2.1 with black scaling.
Véase también setOutputCondition().
QString QPdfOutputIntent::outputConditionIdentifier() const
Devuelve el identificador de la condición de salida.
Si se proporciona un nombre de registro, este identificador debe coincidir con el nombre de referencia de una entrada en ese registro.
El identificador por defecto es sRGB_IEC61966-2-1_black_scaled.
Véase también setOutputConditionIdentifier().
QColorSpace QPdfOutputIntent::outputProfile() const
Devuelve el perfil del dispositivo de salida.
El perfil predeterminado es el perfil sRGB v2 disponible en el Consorcio Internacional del Color.
Véase también setOutputProfile().
QUrl QPdfOutputIntent::registryName() const
Devuelve la URL de un registro de caracterización para la condición de impresión prevista.
El registro por defecto es http://www.color.org.
Véase también setRegistryName() y setOutputConditionIdentifier().
void QPdfOutputIntent::setOutputCondition(const QString &condition)
Establece la condición de salida legible por humanos en condition.
Véase también outputCondition(), setOutputConditionIdentifier() y setRegistryName().
void QPdfOutputIntent::setOutputConditionIdentifier(const QString &identifier)
Establece el identificador de la condición de salida en identifier.
Si se proporciona un nombre de registro, este identificador debe coincidir con el nombre de referencia de una entrada de ese registro.
Véase también outputConditionIdentifier(), setOutputCondition(), y setRegistryName().
void QPdfOutputIntent::setOutputProfile(const QColorSpace &profile)
Establece el perfil del dispositivo de salida en profile.
Nota: PDF/X-4 requiere que todas las especificaciones de color del documento coincidan con el mismo espacio de color de profile. Es responsabilidad de la aplicación asegurarse de que así sea.
Consulte también outputProfile(), QColorSpace::fromIccProfile, y QPdfWriter::setColorModel.
void QPdfOutputIntent::setRegistryName(const QUrl &name)
Establece la URL del registro de caracterización en name.
Véase también registryName() y setOutputConditionIdentifier().
[noexcept] void QPdfOutputIntent::swap(QPdfOutputIntent &other)
Intercambia este intento de salida con other. Esta operación es muy rápida y nunca falla.
[noexcept] QPdfOutputIntent &QPdfOutputIntent::operator=(QPdfOutputIntent &&other)
Mover: asigna la intent de salida other sobre esta intent.
QPdfOutputIntent &QPdfOutputIntent::operator=(const QPdfOutputIntent &other)
Asigna la intent de salida other sobre esta intent.
© 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.