VirtualBox

Ignore:
Timestamp:
Jul 15, 2018 7:23:18 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
123725
Message:

FE/Qt: Convert back a QLabel back to QIRichTextLabel

Location:
trunk/src/VBox/Frontends/VirtualBox/src/widgets
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIApplianceImportEditorWidget.cpp

    r73062 r73137  
    2727
    2828/* GUI includes: */
     29# include "QIRichTextLabel.h"
    2930# include "QITreeView.h"
    3031# include "UIApplianceImportEditorWidget.h"
     
    7071void UIApplianceImportEditorWidget::prepareWidgets()
    7172{
    72 
    73     m_pPathSelectorLabel = new QLabel(this);
     73    m_pPathSelectorLabel = new QIRichTextLabel(this);
    7474    if (m_pPathSelectorLabel)
    7575    {
     
    9595        m_pImportHDsAsVDI->setCheckState(Qt::Checked);
    9696    }
     97
    9798    retranslateUi();
    9899}
     
    248249    UIApplianceEditorWidget::retranslateUi();
    249250    if (m_pPathSelectorLabel)
    250         m_pPathSelectorLabel->setText(UIWizardImportApp::tr("You can modify the base folder which will host "
    251                                                             "all the virtual machines. Virtual home folders "
    252                                                             "can also be individually modified."));
     251        m_pPathSelectorLabel->setText(UIWizardImportApp::tr("You can modify the base folder which will host all the virtual machines.\n"
     252                                                            "Home folders can also be individually (per virtual machine)  modified."));
    253253    if (m_pCheckBoxReinitMACs)
    254254    {
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIApplianceImportEditorWidget.h

    r73062 r73137  
    2424/* Forward declarations: */
    2525class UIFilePathSelector;
     26class QIRichTextLabel;
    2627
    2728class UIApplianceImportEditorWidget: public UIApplianceEditorWidget
     
    4950
    5051    void      prepareWidgets();
    51     QLabel    *m_pPathSelectorLabel;
     52    QIRichTextLabel    *m_pPathSelectorLabel;
    5253    UIFilePathSelector *m_pPathSelector;
    5354
Note: See TracChangeset for help on using the changeset viewer.

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