VirtualBox

Changeset 105603 in vbox


Ignore:
Timestamp:
Aug 6, 2024 12:36:35 PM (9 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
164282
Message:

FE/Qt: bugref:10664, bugref:10665, bugref:10666: Wizard stuff: Make sure all QIRichTextLabel(s) have proper parent set; We are looking for all children of that class to perform batch configuration calls; This is required to make sure guided mode wizard labels have proper size-hints.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/wizards
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/VBox/Frontends/VirtualBox/src/wizards/editors/UIWizardDiskEditors.cpp

    r105260 r105603  
    361361    /* Location widgets: */
    362362    if (!m_fExpertMode)
    363         m_pLocationLabel = new QIRichTextLabel;
     363        m_pLocationLabel = new QIRichTextLabel(this);
    364364    QHBoxLayout *pLocationLayout = new QHBoxLayout;
    365365    m_pLocationEditor = new QILineEdit;
     
    382382    /* Size widgets: */
    383383    if (!m_fExpertMode)
    384         m_pSizeLabel = new QIRichTextLabel;
     384        m_pSizeLabel = new QIRichTextLabel(this);
    385385    m_pMediumSizeEditor = new UIMediumSizeEditor(0 /* parent */, uMinimumMediumSize);
    386386
  • TabularUnified trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageFormat.h

    r103982 r105603  
    224224    CCloudProfile  m_comCloudProfile;
    225225
    226 
    227226    /** Holds the format label instance. */
    228227    QIRichTextLabel *m_pLabelFormat;
  • TabularUnified trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvd/UIWizardNewVDVariantPage.cpp

    r103957 r105603  
    5353    AssertReturnVoid(pMainLayout);
    5454
    55     m_pDescriptionLabel = new QIRichTextLabel;
    56     m_pDynamicLabel = new QIRichTextLabel;
    57     m_pFixedLabel = new QIRichTextLabel;
    58     m_pSplitLabel = new QIRichTextLabel;
     55    m_pDescriptionLabel = new QIRichTextLabel(this);
     56    m_pDynamicLabel = new QIRichTextLabel(this);
     57    m_pFixedLabel = new QIRichTextLabel(this);
     58    m_pSplitLabel = new QIRichTextLabel(this);
    5959
    6060    pMainLayout->addWidget(m_pDescriptionLabel);
  • TabularUnified trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMDiskPage.cpp

    r105570 r105603  
    440440        if (fWithLabels)
    441441        {
    442             m_pDescriptionLabel = new QIRichTextLabel;
    443             m_pDynamicLabel = new QIRichTextLabel;
    444             m_pFixedLabel = new QIRichTextLabel;
     442            m_pDescriptionLabel = new QIRichTextLabel(pContainerWidget);
     443            m_pDynamicLabel = new QIRichTextLabel(pContainerWidget);
     444            m_pFixedLabel = new QIRichTextLabel(pContainerWidget);
    445445
    446446            pMainLayout->addWidget(m_pDescriptionLabel);
  • TabularUnified trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMNameOSTypePage.cpp

    r105487 r105603  
    747747            if (m_pSkipUnattendedCheckBox)
    748748                m_pNameAndSystemLayout->addWidget(m_pSkipUnattendedCheckBox, 1, 1);
    749             m_pInfoLabel = new QIRichTextLabel;
     749            m_pInfoLabel = new QIRichTextLabel(pContainerWidget);
    750750            if (m_pInfoLabel)
    751751                m_pNameAndSystemLayout->addWidget(m_pInfoLabel, 2, 1);
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