Home
last modified time | relevance | path

Searched refs:textCharFormat (Results 1 – 18 of 18) sorted by relevance

/dports/graphics/krita/krita-4.4.8/plugins/flake/textshape/dialogs/
H A DBibliographyPreview.cpp98 QTextCharFormat textCharFormat = cursor.blockCharFormat(); in updatePreview() local
99 textCharFormat.setFontPointSize(16); in updatePreview()
100 textCharFormat.setFontWeight(QFont::Bold); in updatePreview()
102 textCharFormat.setProperty(QTextCharFormat::ForegroundBrush, QBrush(Qt::black)); in updatePreview()
103 cursor.setCharFormat(textCharFormat); in updatePreview()
108 cursor.insertBlock(titleBlockFormat, textCharFormat); in updatePreview()
111 textCharFormat.setFontPointSize(12); in updatePreview()
112 textCharFormat.setFontWeight(QFont::Normal); in updatePreview()
114 cursor.insertBlock(blockFormat, textCharFormat); in updatePreview()
115 cursor.insertBlock(blockFormat, textCharFormat); in updatePreview()
H A DTableOfContentsPreview.cpp100 QTextCharFormat textCharFormat = cursor.blockCharFormat(); in updatePreview() local
101 textCharFormat.setFontPointSize(11); in updatePreview()
102 textCharFormat.setFontWeight(QFont::Normal); in updatePreview()
105 textCharFormat.setProperty(QTextCharFormat::ForegroundBrush, QBrush(Qt::white)); in updatePreview()
106 cursor.setCharFormat(textCharFormat); in updatePreview()
114 cursor.insertBlock(blockFormat, textCharFormat); in updatePreview()
119 cursor.insertBlock(blockFormat1, textCharFormat); in updatePreview()
124 cursor.insertBlock(blockFormat2, textCharFormat); in updatePreview()
129 cursor.insertBlock(blockFormat3, textCharFormat); in updatePreview()
H A DSimpleParagraphWidget.cpp152 QTextCharFormat textCharFormat = cursor.blockCharFormat(); in fillListButtons() local
153 textCharFormat.setFontPointSize(11); in fillListButtons()
154 textCharFormat.setFontWeight(QFont::Normal); in fillListButtons()
155 cursor.setCharFormat(textCharFormat); in fillListButtons()
/dports/editors/calligra/calligra-3.2.1/plugins/textshape/dialogs/
H A DBibliographyPreview.cpp98 QTextCharFormat textCharFormat = cursor.blockCharFormat(); in updatePreview() local
99 textCharFormat.setFontPointSize(16); in updatePreview()
100 textCharFormat.setFontWeight(QFont::Bold); in updatePreview()
102 textCharFormat.setProperty(QTextCharFormat::ForegroundBrush, QBrush(Qt::black)); in updatePreview()
103 cursor.setCharFormat(textCharFormat); in updatePreview()
108 cursor.insertBlock(titleBlockFormat,textCharFormat); in updatePreview()
111 textCharFormat.setFontPointSize(12); in updatePreview()
112 textCharFormat.setFontWeight(QFont::Normal); in updatePreview()
114 cursor.insertBlock(blockFormat,textCharFormat); in updatePreview()
115 cursor.insertBlock(blockFormat,textCharFormat); in updatePreview()
H A DTableOfContentsPreview.cpp100 QTextCharFormat textCharFormat = cursor.blockCharFormat(); in updatePreview() local
101 textCharFormat.setFontPointSize(11); in updatePreview()
102 textCharFormat.setFontWeight(QFont::Normal); in updatePreview()
105 textCharFormat.setProperty(QTextCharFormat::ForegroundBrush, QBrush(Qt::white)); in updatePreview()
106 cursor.setCharFormat(textCharFormat); in updatePreview()
114 cursor.insertBlock(blockFormat,textCharFormat); in updatePreview()
119 cursor.insertBlock(blockFormat1,textCharFormat); in updatePreview()
124 cursor.insertBlock(blockFormat2,textCharFormat); in updatePreview()
129 cursor.insertBlock(blockFormat3,textCharFormat); in updatePreview()
H A DSimpleParagraphWidget.cpp174 QTextCharFormat textCharFormat=cursor.blockCharFormat(); in generateListLevelPixmap() local
175 textCharFormat.setFontPointSize(11); in generateListLevelPixmap()
176 textCharFormat.setFontWeight(QFont::Normal); in generateListLevelPixmap()
177 cursor.setCharFormat(textCharFormat); in generateListLevelPixmap()
195 QTextCharFormat textCharFormat=cursor.blockCharFormat(); in generateListLevelPixmap() local
196 textCharFormat.setFontPointSize(27); in generateListLevelPixmap()
197 textCharFormat.setFontWeight(QFont::Normal); in generateListLevelPixmap()
198 cursor.setBlockCharFormat(textCharFormat); in generateListLevelPixmap()
/dports/devel/qtcreator/qt-creator-opensource-src-5.0.3/src/plugins/texteditor/
H A Dfontsettings.cpp238 void FontSettings::addMixinStyle(QTextCharFormat &textCharFormat, in addMixinStyle() argument
245 textCharFormat.setForeground(format.foreground()); in addMixinStyle()
248 textCharFormat.setForeground(mixBrush(textCharFormat.foreground(), in addMixinStyle()
254 textCharFormat.setBackground(format.background()); in addMixinStyle()
257 textCharFormat.setBackground(mixBrush(textCharFormat.background(), in addMixinStyle()
262 if (!textCharFormat.fontItalic()) in addMixinStyle()
263 textCharFormat.setFontItalic(format.italic()); in addMixinStyle()
265 if (textCharFormat.fontWeight() == QFont::Normal) in addMixinStyle()
283 addMixinStyle(textCharFormat, textStyles.mixinStyles); in toTextCharFormat()
285 m_textCharFormatCache.insert(textStyles, textCharFormat); in toTextCharFormat()
[all …]
H A Dfontsettings.h102 void addMixinStyle(QTextCharFormat &textCharFormat, const MixinTextStyles &mixinStyles) const;
/dports/graphics/okular/okular-21.12.3/generators/markdown/
H A Dconverter.cpp149 const QTextCharFormat textCharFormat = textFragment.charFormat(); in extractLinks() local
150 if (textCharFormat.isAnchor()) { in extractLinks()
151 const QString href = textCharFormat.anchorHref(); in extractLinks()
155 … Okular::BrowseAction *action = new Okular::BrowseAction(QUrl(textCharFormat.anchorHref())); in extractLinks()
159 const QStringList anchorNames = textCharFormat.anchorNames(); in extractLinks()
187 const QTextCharFormat textCharFormat = textFragment.charFormat(); in convertImages() local
188 if (textCharFormat.isImageFormat()) { in convertImages()
191 const qreal specifiedHeight = textCharFormat.toImageFormat().height(); in convertImages()
192 const qreal specifiedWidth = textCharFormat.toImageFormat().width(); in convertImages()
208 …} else if ((!textCharFormat.toImageFormat().property(QTextFormat::ImageAltText).toString().isEmpty… in convertImages()
[all …]
/dports/misc/ktouch/ktouch-21.12.3/src/declarativeitems/
H A Dlessonpainter.cpp26 textCharFormat.setFontFamily(QStringLiteral("monospace")); in LessonPainterPrivate()
27 textCharFormat.setFontPointSize(10); in LessonPainterPrivate()
28 textCharFormat.setForeground(QColor("#000")); in LessonPainterPrivate()
29 textCharFormat.setFontHintingPreference(QFont::PreferVerticalHinting); in LessonPainterPrivate()
31 placeHolderCharFormat = textCharFormat; in LessonPainterPrivate()
34 errorCharFormat = textCharFormat; in LessonPainterPrivate()
38 preeditCharFromat = textCharFormat; in LessonPainterPrivate()
41 titleCharFormat = textCharFormat; in LessonPainterPrivate()
48 QTextCharFormat textCharFormat; member
249 (correct? d->textCharFormat: d->errorCharFormat): in updateTrainingStatus()
[all …]
/dports/polish/kadu/kadu-4.3/kadu-core/formatted-string/
H A Dformatted-string-factory.cpp59 …rmattedStringFactory::partFromQTextCharFormat(const QTextCharFormat &textCharFormat, const QString… in partFromQTextCharFormat() argument
64 …ck>(replacedNewLine, textCharFormat.font().bold(), textCharFormat.font().italic(), textCharFormat.… in partFromQTextCharFormat()
H A Dformatted-string-factory.h57 …std::unique_ptr<FormattedString> partFromQTextCharFormat(const QTextCharFormat &textCharFormat, co…
/dports/graphics/okular/okular-21.12.3/autotests/
H A Dmarkdowntest.cpp116 const QTextCharFormat textCharFormat = textFragment.charFormat(); in findImages() local
117 if (textCharFormat.isImageFormat()) { in findImages()
118 images.append(textCharFormat.toImageFormat()); in findImages()
/dports/devel/qtcreator/qt-creator-opensource-src-5.0.3/src/plugins/cppeditor/
H A Dcpplocalrenaming.cpp84 updateRenamingSelectionFormat(textCharFormat(TextEditor::C_OCCURRENCES_RENAME)); in start()
318 QTextCharFormat CppLocalRenaming::textCharFormat(TextEditor::TextStyle category) const in textCharFormat() function in CppEditor::Internal::CppLocalRenaming
348 updateRenamingSelectionFormat(textCharFormat(TextEditor::C_OCCURRENCES)); in stop()
H A Dcpplocalrenaming.h91 QTextCharFormat textCharFormat(TextEditor::TextStyle category) const;
H A Dcppeditorwidget.cpp652 const auto textCharFormat = occurrencesTextCharFormat(); in sourceLocationsToExtraSelections() local
664 selection.format = textCharFormat; in sourceLocationsToExtraSelections()
/dports/cad/fritzing/fritzing-app-0.9.2b/src/items/
H A Dnote.cpp544 QTextCharFormat textCharFormat; in eventFilter() local
545 textCharFormat.setFontWeight(isBold ? QFont::Normal : QFont::Bold); in eventFilter()
546 textCursor.mergeCharFormat(textCharFormat); in eventFilter()
553 QTextCharFormat textCharFormat; in eventFilter() local
554 textCharFormat.setFontItalic(!cf.fontItalic()); in eventFilter()
555 textCursor.mergeCharFormat(textCharFormat); in eventFilter()
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/webkit/Source/WebKit/qt/Api/
H A Dqwebpage.cpp1095 QTextCharFormat textCharFormat = a.value.value<QTextFormat>().toCharFormat(); in inputMethodEvent() local
1096 QColor qcolor = textCharFormat.underlineColor(); in inputMethodEvent()