| 442 | } |
| 443 | |
| 444 | const QString DataValueSettings::Private::alignmentToScreenName(const Qt::Alignment &align) const |
| 445 | { |
| 446 | if (align == Qt::AlignCenter) |
| 447 | return "Center"; |
| 448 | if (align == (Qt::AlignLeft | Qt::AlignBottom)) |
| 449 | return "BottomLeft"; |
| 450 | if (align == (Qt::AlignHCenter | Qt::AlignBottom)) |
| 451 | return "Bottom"; |
| 452 | if (align == (Qt::AlignRight | Qt::AlignBottom)) |
| 453 | return "BottomRight"; |
| 454 | if (align == (Qt::AlignRight | Qt::AlignVCenter)) |
| 455 | return "Right"; |
| 456 | if (align == (Qt::AlignRight | Qt::AlignTop)) |
| 457 | return "TopRight"; |
| 458 | if (align == (Qt::AlignHCenter | Qt::AlignTop)) |
| 459 | return "Top"; |
| 460 | if (align == (Qt::AlignLeft | Qt::AlignTop)) |
| 461 | return "TopLeft"; |
| 462 | if (align == (Qt::AlignLeft | Qt::AlignVCenter)) |
| 463 | return "Left"; |
| 464 | return "Center"; |
| 465 | } |
| 466 | |
| 467 | void DataValueSettings::Private::populateWidgets() |
| 468 | { |
nothing calls this directly
no outgoing calls
no test coverage detected