Changeset 9627 in vbox for trunk/src/VBox/Frontends/VirtualBox4
- Timestamp:
- Jun 11, 2008 7:47:13 PM (17 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/include/VBoxProblemReporter.h
r9605 r9627 198 198 bool confirmHardDiskUnregister (QWidget *parent, const QString &src); 199 199 200 int confirmDetachSATASlots (QWidget *aParent); 201 int confirmRunNewHDWzdOrVDM (QWidget* aParent); 202 200 203 void cannotCreateHardDiskImage ( 201 204 QWidget *parent, const CVirtualBox &vbox, const QString &src, -
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxProblemReporter.cpp
r9495 r9627 1087 1087 } 1088 1088 1089 int 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 1101 int 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 1089 1118 void VBoxProblemReporter::cannotCreateHardDiskImage ( 1090 1119 QWidget *parent, const CVirtualBox &vbox, const QString &src,
Note:
See TracChangeset
for help on using the changeset viewer.