Changeset 88393 in vbox
- Timestamp:
- Apr 7, 2021 10:57:31 AM (4 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/helpbrowser
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/helpbrowser/UIHelpViewer.cpp
r88392 r88393 628 628 void UIHelpViewer::iterateDocumentImages() 629 629 { 630 m_imageSizesMap.clear(); 630 631 QTextCursor cursor = textCursor(); 631 632 cursor.movePosition(QTextCursor::Start); … … 637 638 QTextImageFormat imageFormat = cursor.charFormat().toImageFormat(); 638 639 printf("%s %lf\n", qPrintable(imageFormat.name()), imageFormat.width()); 640 m_imageSizesMap[imageFormat.name()] 639 641 } 640 642 } -
trunk/src/VBox/Frontends/VirtualBox/src/helpbrowser/UIHelpViewer.h
r88392 r88393 90 90 const QHelpEngine* m_pHelpEngine; 91 91 UIFindInPageWidget *m_pFindInPageWidget; 92 /* Initilized as false and set to true once the user drag moves the find widget. */92 /** Initilized as false and set to true once the user drag moves the find widget. */ 93 93 bool m_fFindWidgetDragged; 94 94 int m_iMarginForFindWidget; … … 98 98 int m_iSearchTermLength; 99 99 int m_iInitialFontPointSize; 100 /** A container to store the original image sizes in the document. key is image name value is the width. */ 100 101 QMap<QString, qreal> m_imageSizesMap; 101 102 };
Note:
See TracChangeset
for help on using the changeset viewer.