Changeset 86892 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Nov 16, 2020 3:06:40 PM (4 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/extensions
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIRichTextLabel.cpp
r86557 r86892 76 76 } 77 77 78 void QIRichTextLabel::registerPixmap(const QPixmap &pixmap, const QString &strName) 79 { 80 m_pTextBrowser->document()->addResource(QTextDocument::ImageResource, QUrl(strName), QVariant(pixmap)); 81 } 82 78 83 QTextOption::WrapMode QIRichTextLabel::wordWrapMode() const 79 84 { -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIRichTextLabel.h
r86557 r86892 45 45 /** Registers @a image under a passed @a strName. */ 46 46 void registerImage(const QImage &image, const QString &strName); 47 /** Registers @a pixmap under a passed @a strName. */ 48 void registerPixmap(const QPixmap &pixmap, const QString &strName); 47 49 48 50 /** Returns word wrapping policy. */
Note:
See TracChangeset
for help on using the changeset viewer.