VirtualBox

Changeset 87081 in vbox for trunk/src


Ignore:
Timestamp:
Dec 10, 2020 8:03:03 AM (4 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9515. Separating fields with horizontal lines.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasic1.cpp

    r87073 r87081  
    278278}
    279279
     280void UIWizardNewVMPage1::addLine(QBoxLayout *pLayout)
     281{
     282    QFrame *line = new QFrame;
     283    line->setFrameShape(QFrame::HLine);
     284    line->setFrameShadow(QFrame::Sunken);
     285    pLayout->addWidget(line);
     286}
     287
    280288void UIWizardNewVMPage1::createNameOSTypeWidgets(QVBoxLayout *pLayout, bool fCreateLabels /* = true */)
    281289{
     
    292300    if (m_pNameAndFolderEditor)
    293301        pLayout->addWidget(m_pNameAndFolderEditor);
     302
     303    addLine(pLayout);
    294304
    295305    if (fCreateLabels)
     
    330340    }
    331341    pLayout->addLayout(pUnattendedInstall);
     342    addLine(pLayout);
    332343    m_pSystemTypeEditor = new UINameAndSystemEditor(0, false, false, true);
    333344    if (m_pSystemTypeEditor)
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasic1.h

    r87073 r87081  
    2626
    2727/* Forward declarations: */
     28class QBoxLayout;
    2829class QCheckBox;
    2930class QLabel;
     
    102103
    103104    bool checkISOFile() const;
     105    void addLine(QBoxLayout *pLayout);
    104106
    105107    /** Full path (including the file name) of the machine's configuration file. */
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