Changeset 8428 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Apr 28, 2008 3:52:46 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 30279
- Location:
- trunk/src/VBox/Frontends/VirtualBox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/include/VBoxProblemReporter.h
r8395 r8428 197 197 198 198 int confirmDetachSATASlots (QWidget *aParent); 199 int confirmRunNewHDWzdOrVDM (QWidget *aParent , const QString &aVMName);199 int confirmRunNewHDWzdOrVDM (QWidget *aParent); 200 200 201 201 void cannotCreateHardDiskImage ( -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxProblemReporter.cpp
r8409 r8428 1071 1071 } 1072 1072 1073 int VBoxProblemReporter::confirmRunNewHDWzdOrVDM (QWidget *aParent, 1074 const QString &aVMName) 1075 { 1076 return message (aParent, Question, 1077 tr ("<p>The number of currently available virtual hard disks which can " 1078 "be attached to the machine <b><nobr>%1</nobr></b> is less " 1079 "than the number of hard disk attachments for this virtual " 1080 "machine.</p>" 1081 "<p>You can press the <b>Create</b> button to start " 1082 "the <i>New Virtual Disk</i> wizard and create a new " 1083 "hard disk, or press the <b>Select</b> button to open " 1084 "the <i>Virtual Disk Manager</i> and select what to do.</p>") 1085 .arg (aVMName), 1073 int VBoxProblemReporter::confirmRunNewHDWzdOrVDM (QWidget* aParent) 1074 { 1075 return message (aParent, Info, 1076 tr ("<p>There are no unused hard disks available for the newly created " 1077 "attachment.</p>" 1078 "<p>Press the <b>Create</b> button to start the <i>New Virtual " 1079 "Disk</i> wizard and create a new hard disk, or press the " 1080 "<b>Select</b> button to open the <i>Virtual Disk Manager</i> " 1081 "and select what to do.</p>"), 1086 1082 0, /* aAutoConfirmId */ 1087 1083 QIMessageBox::Yes, -
trunk/src/VBox/Frontends/VirtualBox/ui/VBoxHardDiskSettings.ui.h
r8419 r8428 745 745 /* Ask the user for method to add new vdi */ 746 746 int result = mLvHD->childCount() - 1 > item->vdiCount() ? 747 vboxProblem().confirmRunNewHDWzdOrVDM (this , mMachine.GetName()) :747 vboxProblem().confirmRunNewHDWzdOrVDM (this) : 748 748 QIMessageBox::Cancel; 749 749 if (result == QIMessageBox::Yes)
Note:
See TracChangeset
for help on using the changeset viewer.