VirtualBox

Ignore:
Timestamp:
Jun 11, 2008 7:47:13 PM (17 years ago)
Author:
vboxsync
Message:

Fe/Qt4: Problem reporter update for support HD SATA settings.

Location:
trunk/src/VBox/Frontends/VirtualBox4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/include/VBoxProblemReporter.h

    r9605 r9627  
    198198    bool confirmHardDiskUnregister (QWidget *parent, const QString &src);
    199199
     200    int confirmDetachSATASlots (QWidget *aParent);
     201    int confirmRunNewHDWzdOrVDM (QWidget* aParent);
     202
    200203    void cannotCreateHardDiskImage (
    201204        QWidget *parent, const CVirtualBox &vbox, const QString &src,
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxProblemReporter.cpp

    r9495 r9627  
    10871087}
    10881088
     1089int VBoxProblemReporter::confirmDetachSATASlots (QWidget *aParent)
     1090{
     1091    return messageOkCancel (aParent, Question,
     1092        tr ("<p>There are hard disks attached to SATA ports of this virtual "
     1093            "machine. If you disable the SATA controller, all these hard disks "
     1094            "will be automatically detached.</p>"
     1095            "<p>Are you sure that you want to "
     1096            "disable the SATA controller?</p>"),
     1097        0 /* aAutoConfirmId */,
     1098        tr ("Disable", "hard disk"));
     1099}
     1100
     1101int VBoxProblemReporter::confirmRunNewHDWzdOrVDM (QWidget* aParent)
     1102{
     1103    return message (aParent, Info,
     1104        tr ("<p>There are no unused hard disks available for the newly created "
     1105            "attachment.</p>"
     1106            "<p>Press the <b>Create</b> button to start the <i>New Virtual "
     1107            "Disk</i> wizard and create a new hard disk, or press the "
     1108            "<b>Select</b> button to open the <i>Virtual Disk Manager</i> "
     1109            "and select what to do.</p>"),
     1110        0, /* aAutoConfirmId */
     1111        QIMessageBox::Yes,
     1112        QIMessageBox::No | QIMessageBox::Default,
     1113        QIMessageBox::Cancel | QIMessageBox::Escape,
     1114        tr ("&Create", "hard disk"),
     1115        tr ("Select", "hard disk"));
     1116}
     1117
    10891118void VBoxProblemReporter::cannotCreateHardDiskImage (
    10901119    QWidget *parent, const CVirtualBox &vbox, const QString &src,
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