Changeset 86893 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Nov 16, 2020 3:08:36 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
r86892 r86893 59 59 pal.setColor(QPalette::Disabled, QPalette::Text, pal.color(QPalette::Disabled, QPalette::WindowText)); 60 60 m_pTextBrowser->viewport()->setPalette(pal); 61 62 /* Setup connections finally: */ 63 connect(m_pTextBrowser, &QTextBrowser::anchorClicked, this, &QIRichTextLabel::sigLinkClicked); 61 64 } 62 65 -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIRichTextLabel.h
r86892 r86893 34 34 Q_OBJECT; 35 35 Q_PROPERTY(QString text READ text WRITE setText); 36 37 signals: 38 39 /** Notifies listeners about @a link clicked. */ 40 void sigLinkClicked(const QUrl &link); 36 41 37 42 public:
Note:
See TracChangeset
for help on using the changeset viewer.