KPkPass::Field Class
Field element in a KPkPass::Pass. More...
| Header: | #include <KPkPass/Field> |
| CMake: | find_package(KPim6PkPass REQUIRED)target_link_libraries(mytarget PRIVATE KPim6::PkPass) |
Public Functions
| QString | changeMessage() const |
| QString | currencyCode() const |
(since 26.08) bool | isRichText() const |
| QString | key() const |
| QString | label() const |
| int | row() const |
| Qt::Alignment | textAlignment() const |
| QVariant | value() const |
| QString | valueDisplayString() const |
Detailed Description
Member Function Documentation
QString Field::changeMessage() const
The localized change message for this value.
QString Field::currencyCode() const
Currency code.
[since 26.08] bool Field::isRichText() const
Returns whether the field value contains rich text markup.
This function was introduced in 26.08.
QString Field::key() const
Field key, unique in the pass but not meant for display.
QString Field::label() const
Localized label for display describing this field.
int Field::row() const
Row index of an (auxiliary) field.
Qt::Alignment Field::textAlignment() const
Text alignment.
QVariant Field::value() const
Value of this field. This can either be a localized string (most common), a date/time value or a number. Use this for data extraction, prefer valueDisplayString() for displaying data.
QString Field::valueDisplayString() const
Value of this field, as a localized string for display. Use this rather than value() for display.