VirtualBox

Changeset 88393 in vbox


Ignore:
Timestamp:
Apr 7, 2021 10:57:31 AM (4 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9831. Misc. fixes. take2

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  
    628628void UIHelpViewer::iterateDocumentImages()
    629629{
     630    m_imageSizesMap.clear();
    630631    QTextCursor cursor = textCursor();
    631632    cursor.movePosition(QTextCursor::Start);
     
    637638            QTextImageFormat imageFormat = cursor.charFormat().toImageFormat();
    638639            printf("%s %lf\n", qPrintable(imageFormat.name()), imageFormat.width());
     640            m_imageSizesMap[imageFormat.name()]
    639641        }
    640642    }
  • trunk/src/VBox/Frontends/VirtualBox/src/helpbrowser/UIHelpViewer.h

    r88392 r88393  
    9090    const QHelpEngine* m_pHelpEngine;
    9191    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. */
    9393    bool m_fFindWidgetDragged;
    9494    int m_iMarginForFindWidget;
     
    9898    int m_iSearchTermLength;
    9999    int m_iInitialFontPointSize;
     100    /** A container to store the original image sizes in the document. key is image name value is the width. */
    100101    QMap<QString, qreal> m_imageSizesMap;
    101102};
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette