Lines Matching refs:textVariant
608 QVariantMap textVariant; in toVariant() local
610 textVariant[QStringLiteral("text")] = textData.text; in toVariant()
613 textVariant[QStringLiteral("fontfamily")] = textData.font.family(); in toVariant()
615 textVariant[QStringLiteral("pixelsize")] = textData.font.pixelSize(); in toVariant()
617 textVariant[QStringLiteral("wrap")] = textData.wordWrap; in toVariant()
619 textVariant[QStringLiteral("color")] = colorToString(textData.color); in toVariant()
621 textVariant[QStringLiteral("bold")] = textData.font.bold(); in toVariant()
623 textVariant[QStringLiteral("italic")] = textData.font.italic(); in toVariant()
625 textVariant[QStringLiteral("underline")] = textData.font.underline(); in toVariant()
627 textVariant[QStringLiteral("strikeout")] = textData.font.strikeOut(); in toVariant()
629 textVariant[QStringLiteral("kerning")] = textData.font.kerning(); in toVariant()
633 textVariant[QStringLiteral("halign")] = QLatin1String("center"); in toVariant()
635 textVariant[QStringLiteral("halign")] = QLatin1String("right"); in toVariant()
637 textVariant[QStringLiteral("halign")] = QLatin1String("justify"); in toVariant()
642 textVariant[QStringLiteral("valign")] = QLatin1String("center"); in toVariant()
644 textVariant[QStringLiteral("valign")] = QLatin1String("bottom"); in toVariant()
647 return textVariant; in toVariant()