Changeset 10649 in vbox for trunk/src/VBox/Frontends/VirtualBox4
- Timestamp:
- Jul 15, 2008 12:22:45 PM (16 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox4
- Files:
-
- 4 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxVMSettingsGeneral.cpp
r10167 r10649 75 75 connect (mLeVideo, SIGNAL (textChanged (const QString&)), 76 76 this, SLOT (textChangedVRAM (const QString&))); 77 connect (m TbSelectSnapshot, SIGNAL (clicked()),77 connect (mPsSnapshot, SIGNAL (selectPath()), 78 78 this, SLOT (selectSnapshotFolder())); 79 connect (m TbResetSnapshot, SIGNAL (clicked()),79 connect (mPsSnapshot, SIGNAL (resetPath()), 80 80 this, SLOT (resetSnapshotFolder())); 81 81 connect (mTbBootItemUp, SIGNAL (clicked()), … … 214 214 215 215 /* Snapshot folder */ 216 m LeSnapshot->setText(aMachine.GetSnapshotFolder());216 mPsSnapshot->setPath (aMachine.GetSnapshotFolder()); 217 217 218 218 /* Description */ … … 287 287 288 288 /* Saved state folder */ 289 if (m LeSnapshot->isModified())289 if (mPsSnapshot->isModified()) 290 290 { 291 mMachine.SetSnapshotFolder (m LeSnapshot->text());291 mMachine.SetSnapshotFolder (mPsSnapshot->path()); 292 292 if (!mMachine.isOk()) 293 293 vboxProblem().cannotSetSnapshotFolder (mMachine, 294 QDir::convertSeparators (m LeSnapshot->text()));294 QDir::convertSeparators (mPsSnapshot->path())); 295 295 } 296 296 … … 331 331 setTabOrder (mCbVirt, mCbClipboard); 332 332 setTabOrder (mCbClipboard, mCbIDEController); 333 setTabOrder (mCbIDEController, mLeSnapshot); 334 setTabOrder (mLeSnapshot, mTbSelectSnapshot); 335 setTabOrder (mTbSelectSnapshot, mTbResetSnapshot); 336 337 setTabOrder (mTbResetSnapshot, mTeDescription); 333 setTabOrder (mCbIDEController, mPsSnapshot); 334 335 setTabOrder (mPsSnapshot, mTeDescription); 338 336 339 337 setTabOrder (mTeDescription, mCbSaveMounted); … … 375 373 mCbIDEController->setItemText (0, vboxGlobal().toString (KIDEControllerType_PIIX3)); 376 374 mCbIDEController->setItemText (1, vboxGlobal().toString (KIDEControllerType_PIIX4)); 375 376 /* Path selector */ 377 mPsSnapshot->setLineEditWhatsThis (tr ("Displays the path where snapshots of this virtual machine will be stored. Note that snapshots can take quite a lot of disk space.")); 378 mPsSnapshot->setSelectorWhatsThis (tr ("Selects the snapshot folder path.")); 379 mPsSnapshot->setResetWhatsThis (tr ("Resets the snapshot folder path to the default value. The actual default path will be displayed after accepting the changes and opening this dialog again.")); 377 380 } 378 381 … … 446 449 void VBoxVMSettingsGeneral::selectSnapshotFolder() 447 450 { 448 QString settingsFolder = VBoxGlobal::getFirstExistingDir (m LeSnapshot->text());451 QString settingsFolder = VBoxGlobal::getFirstExistingDir (mPsSnapshot->path()); 449 452 if (settingsFolder.isNull()) 450 453 settingsFolder = QFileInfo (mMachine.GetSettingsFilePath()).absolutePath(); … … 458 461 folder.remove (QRegExp ("[\\\\/]$")); 459 462 460 /* Do this instead of le->setText (folder) to cause 461 * isModified() return true */ 462 mLeSnapshot->selectAll(); 463 mLeSnapshot->insert (folder); 463 mPsSnapshot->setPath (folder); 464 464 } 465 465 466 466 void VBoxVMSettingsGeneral::resetSnapshotFolder() 467 467 { 468 /* Do this instead of le->setText (QString::null) to cause 469 * isModified() return true */ 470 mLeSnapshot->selectAll(); 471 mLeSnapshot->del(); 468 mPsSnapshot->setPath (""); 472 469 } 473 470 -
trunk/src/VBox/Frontends/VirtualBox4/ui/VBoxVMSettingsGeneral.ui
r10352 r10649 23 23 <x>0</x> 24 24 <y>0</y> 25 <width> 662</width>26 <height>6 55</height>25 <width>593</width> 26 <height>689</height> 27 27 </rect> 28 28 </property> 29 <layout class="QVBoxLayout" > 30 <property name="leftMargin" > 31 <number>0</number> 32 </property> 33 <property name="topMargin" > 34 <number>5</number> 35 </property> 36 <property name="rightMargin" > 37 <number>0</number> 38 </property> 39 <property name="bottomMargin" > 40 <number>5</number> 41 </property> 29 <layout class="QHBoxLayout" > 42 30 <item> 43 31 <widget class="QTabWidget" name="mTabGeneral" > 44 32 <property name="currentIndex" > 45 <number> 0</number>33 <number>1</number> 46 34 </property> 47 35 <widget class="QWidget" name="mTabBasic" > … … 49 37 <string>&Basic</string> 50 38 </attribute> 51 <layout class="Q VBoxLayout" >52 <item >53 <widget class="Q GroupBox" name="mGbIdent" >39 <layout class="QGridLayout" > 40 <item row="0" column="0" colspan="2" > 41 <widget class="QILabelSeparator" name="mGbIdent" > 54 42 <property name="sizePolicy" > 55 <sizepolicy vsizetype=" Fixed" hsizetype="Expanding" >43 <sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" > 56 44 <horstretch>0</horstretch> 57 45 <verstretch>0</verstretch> 58 46 </sizepolicy> 59 47 </property> 60 <property name="t itle" >48 <property name="text" > 61 49 <string>&Identification</string> 62 50 </property> 63 <layout class="QHBoxLayout" > 64 <property name="topMargin" > 65 <number>5</number> 66 </property> 67 <item> 68 <layout class="QHBoxLayout" > 69 <item> 70 <widget class="QLabel" name="mLbName" > 71 <property name="sizePolicy" > 72 <sizepolicy vsizetype="Fixed" hsizetype="Preferred" > 73 <horstretch>0</horstretch> 74 <verstretch>0</verstretch> 75 </sizepolicy> 76 </property> 77 <property name="text" > 78 <string>&Name</string> 79 </property> 80 <property name="buddy" > 81 <cstring>mLeName</cstring> 82 </property> 83 </widget> 84 </item> 85 <item> 86 <widget class="QLineEdit" name="mLeName" > 87 <property name="whatsThis" > 88 <string>Displays the name of the virtual machine.</string> 89 </property> 90 </widget> 91 </item> 92 </layout> 93 </item> 94 <item> 95 <layout class="QHBoxLayout" > 96 <item> 97 <widget class="QLabel" name="mLbOsType" > 98 <property name="sizePolicy" > 99 <sizepolicy vsizetype="Fixed" hsizetype="Preferred" > 100 <horstretch>0</horstretch> 101 <verstretch>0</verstretch> 102 </sizepolicy> 103 </property> 104 <property name="text" > 105 <string>OS &Type</string> 106 </property> 107 <property name="buddy" > 108 <cstring>mCbOsType</cstring> 109 </property> 110 </widget> 111 </item> 112 <item> 113 <widget class="QComboBox" name="mCbOsType" > 114 <property name="focusPolicy" > 115 <enum>Qt::StrongFocus</enum> 116 </property> 117 <property name="whatsThis" > 118 <string>Displays the operating system type that you plan to install into this virtual machine (called a guest operating system).</string> 119 </property> 120 </widget> 121 </item> 122 </layout> 123 </item> 124 </layout> 125 </widget> 126 </item> 127 <item> 128 <widget class="QGroupBox" name="mGbRam" > 51 <property name="buddy" > 52 <cstring>mLeName</cstring> 53 </property> 54 </widget> 55 </item> 56 <item row="1" column="0" > 57 <spacer> 58 <property name="orientation" > 59 <enum>Qt::Horizontal</enum> 60 </property> 61 <property name="sizeType" > 62 <enum>QSizePolicy::Fixed</enum> 63 </property> 64 <property name="sizeHint" > 65 <size> 66 <width>20</width> 67 <height>20</height> 68 </size> 69 </property> 70 </spacer> 71 </item> 72 <item row="1" column="1" > 73 <layout class="QGridLayout" > 74 <item row="0" column="2" > 75 <widget class="QLineEdit" name="mLeName" > 76 <property name="whatsThis" > 77 <string>Displays the name of the virtual machine.</string> 78 </property> 79 </widget> 80 </item> 81 <item row="0" column="1" > 82 <widget class="QLabel" name="mLbName" > 83 <property name="text" > 84 <string>&Name:</string> 85 </property> 86 <property name="alignment" > 87 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 88 </property> 89 <property name="buddy" > 90 <cstring>mLeName</cstring> 91 </property> 92 </widget> 93 </item> 94 <item row="1" column="2" > 95 <widget class="QComboBox" name="mCbOsType" > 96 <property name="focusPolicy" > 97 <enum>Qt::StrongFocus</enum> 98 </property> 99 <property name="whatsThis" > 100 <string>Displays the operating system type that you plan to install into this virtual machine (called a guest operating system).</string> 101 </property> 102 </widget> 103 </item> 104 <item row="1" column="1" > 105 <widget class="QLabel" name="mLbOsType" > 106 <property name="text" > 107 <string>OS &Type:</string> 108 </property> 109 <property name="alignment" > 110 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 111 </property> 112 <property name="buddy" > 113 <cstring>mCbOsType</cstring> 114 </property> 115 </widget> 116 </item> 117 <item row="0" column="0" > 118 <spacer> 119 <property name="orientation" > 120 <enum>Qt::Horizontal</enum> 121 </property> 122 <property name="sizeType" > 123 <enum>QSizePolicy::Fixed</enum> 124 </property> 125 <property name="sizeHint" > 126 <size> 127 <width>20</width> 128 <height>20</height> 129 </size> 130 </property> 131 </spacer> 132 </item> 133 <item row="0" column="3" > 134 <spacer> 135 <property name="orientation" > 136 <enum>Qt::Horizontal</enum> 137 </property> 138 <property name="sizeType" > 139 <enum>QSizePolicy::Fixed</enum> 140 </property> 141 <property name="sizeHint" > 142 <size> 143 <width>20</width> 144 <height>20</height> 145 </size> 146 </property> 147 </spacer> 148 </item> 149 </layout> 150 </item> 151 <item row="2" column="0" colspan="2" > 152 <widget class="QILabelSeparator" name="mGbRam" > 129 153 <property name="sizePolicy" > 130 <sizepolicy vsizetype=" Fixed" hsizetype="Expanding" >154 <sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" > 131 155 <horstretch>0</horstretch> 132 156 <verstretch>0</verstretch> 133 157 </sizepolicy> 134 158 </property> 135 <property name="t itle" >159 <property name="text" > 136 160 <string>Base &Memory Size</string> 137 161 </property> 162 <property name="buddy" > 163 <cstring>mSlRam</cstring> 164 </property> 165 </widget> 166 </item> 167 <item row="3" column="0" > 168 <spacer> 169 <property name="orientation" > 170 <enum>Qt::Horizontal</enum> 171 </property> 172 <property name="sizeType" > 173 <enum>QSizePolicy::Fixed</enum> 174 </property> 175 <property name="sizeHint" > 176 <size> 177 <width>20</width> 178 <height>20</height> 179 </size> 180 </property> 181 </spacer> 182 </item> 183 <item row="3" column="1" > 184 <widget class="QWidget" native="1" name="widget_3" > 185 <property name="sizePolicy" > 186 <sizepolicy vsizetype="Maximum" hsizetype="Preferred" > 187 <horstretch>0</horstretch> 188 <verstretch>0</verstretch> 189 </sizepolicy> 190 </property> 138 191 <layout class="QHBoxLayout" > 192 <property name="leftMargin" > 193 <number>0</number> 194 </property> 139 195 <property name="topMargin" > 140 <number>5</number> 196 <number>0</number> 197 </property> 198 <property name="rightMargin" > 199 <number>0</number> 200 </property> 201 <property name="bottomMargin" > 202 <number>0</number> 141 203 </property> 142 204 <item> … … 249 311 <enum>Qt::Vertical</enum> 250 312 </property> 313 <property name="sizeType" > 314 <enum>QSizePolicy::Expanding</enum> 315 </property> 251 316 <property name="sizeHint" > 252 317 <size> … … 262 327 </widget> 263 328 </item> 264 <item >265 <widget class="Q GroupBox" name="mGbVideo" >329 <item row="4" column="0" colspan="2" > 330 <widget class="QILabelSeparator" name="mGbVideo" > 266 331 <property name="sizePolicy" > 267 <sizepolicy vsizetype=" Fixed" hsizetype="Expanding" >332 <sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" > 268 333 <horstretch>0</horstretch> 269 334 <verstretch>0</verstretch> 270 335 </sizepolicy> 271 336 </property> 272 <property name="t itle" >337 <property name="text" > 273 338 <string>&Video Memory Size</string> 274 339 </property> 340 <property name="buddy" > 341 <cstring>mSlVideo</cstring> 342 </property> 343 </widget> 344 </item> 345 <item row="5" column="0" > 346 <spacer> 347 <property name="orientation" > 348 <enum>Qt::Horizontal</enum> 349 </property> 350 <property name="sizeType" > 351 <enum>QSizePolicy::Fixed</enum> 352 </property> 353 <property name="sizeHint" > 354 <size> 355 <width>20</width> 356 <height>20</height> 357 </size> 358 </property> 359 </spacer> 360 </item> 361 <item row="5" column="1" > 362 <widget class="QWidget" native="1" name="widget_2" > 363 <property name="sizePolicy" > 364 <sizepolicy vsizetype="Maximum" hsizetype="Preferred" > 365 <horstretch>0</horstretch> 366 <verstretch>0</verstretch> 367 </sizepolicy> 368 </property> 275 369 <layout class="QHBoxLayout" > 370 <property name="leftMargin" > 371 <number>0</number> 372 </property> 276 373 <property name="topMargin" > 277 <number>5</number> 374 <number>0</number> 375 </property> 376 <property name="rightMargin" > 377 <number>0</number> 378 </property> 379 <property name="bottomMargin" > 380 <number>0</number> 278 381 </property> 279 382 <item> … … 386 489 <enum>Qt::Vertical</enum> 387 490 </property> 491 <property name="sizeType" > 492 <enum>QSizePolicy::Expanding</enum> 493 </property> 388 494 <property name="sizeHint" > 389 495 <size> … … 399 505 </widget> 400 506 </item> 401 <item >507 <item row="6" column="1" > 402 508 <spacer> 403 509 <property name="orientation" > … … 407 513 <size> 408 514 <width>20</width> 409 <height> 0</height>515 <height>31</height> 410 516 </size> 411 517 </property> … … 418 524 <string>&Advanced</string> 419 525 </attribute> 420 <layout class="QVBoxLayout" > 421 <item> 526 <layout class="QGridLayout" > 527 <item row="0" column="0" > 528 <widget class="QLabel" name="mGbBootOrder" > 529 <property name="text" > 530 <string>Boo&t Order:</string> 531 </property> 532 <property name="alignment" > 533 <set>Qt::AlignRight|Qt::AlignTop|Qt::AlignTrailing</set> 534 </property> 535 <property name="buddy" > 536 <cstring>mTwBootOrder</cstring> 537 </property> 538 </widget> 539 </item> 540 <item row="0" column="1" > 422 541 <widget class="QWidget" native="1" name="widget" > 423 542 <property name="sizePolicy" > 424 <sizepolicy vsizetype=" Maximum" hsizetype="Preferred" >543 <sizepolicy vsizetype="Fixed" hsizetype="Fixed" > 425 544 <horstretch>0</horstretch> 426 545 <verstretch>0</verstretch> … … 437 556 <number>0</number> 438 557 </property> 558 <property name="bottomMargin" > 559 <number>0</number> 560 </property> 439 561 <item> 440 <widget class="QGroupBox" name="mGbBootOrder" > 441 <property name="sizePolicy" > 442 <sizepolicy vsizetype="Preferred" hsizetype="Maximum" > 443 <horstretch>0</horstretch> 444 <verstretch>0</verstretch> 445 </sizepolicy> 446 </property> 447 <property name="title" > 448 <string>Boo&t Order</string> 449 </property> 450 <property name="alignment" > 451 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> 452 </property> 453 <layout class="QVBoxLayout" > 562 <widget class="QWidget" native="1" name="mWBootContainer" > 563 <layout class="QHBoxLayout" > 564 <property name="leftMargin" > 565 <number>0</number> 566 </property> 454 567 <property name="topMargin" > 455 <number>5</number> 568 <number>0</number> 569 </property> 570 <property name="rightMargin" > 571 <number>0</number> 572 </property> 573 <property name="bottomMargin" > 574 <number>0</number> 456 575 </property> 457 576 <item> 458 <widget class="QWidget" native="1" name="mWBootContainer" > 459 <layout class="QHBoxLayout" > 460 <property name="leftMargin" > 461 <number>0</number> 462 </property> 463 <property name="topMargin" > 464 <number>0</number> 465 </property> 466 <property name="rightMargin" > 467 <number>0</number> 468 </property> 469 <property name="bottomMargin" > 470 <number>0</number> 471 </property> 472 <item> 473 <layout class="QVBoxLayout" > 474 <property name="spacing" > 475 <number>0</number> 577 <layout class="QVBoxLayout" > 578 <property name="spacing" > 579 <number>0</number> 580 </property> 581 <item> 582 <widget class="BootItemsTable" name="mTwBootOrder" > 583 <property name="whatsThis" > 584 <string>Defines the boot device order. Use checkboxes to the left to enable or disable individual boot devices. Move items up and down to change the device order.</string> 585 </property> 586 <property name="verticalScrollBarPolicy" > 587 <enum>Qt::ScrollBarAlwaysOff</enum> 588 </property> 589 <property name="horizontalScrollBarPolicy" > 590 <enum>Qt::ScrollBarAlwaysOff</enum> 591 </property> 592 <property name="alternatingRowColors" > 593 <bool>true</bool> 594 </property> 595 <property name="rootIsDecorated" > 596 <bool>false</bool> 597 </property> 598 <property name="uniformRowHeights" > 599 <bool>true</bool> 600 </property> 601 <column> 602 <property name="text" > 603 <string>[device]</string> 476 604 </property> 477 <item> 478 <widget class="BootItemsTable" name="mTwBootOrder" > 479 <property name="whatsThis" > 480 <string>Defines the boot device order. Use checkboxes to the left to enable or disable individual boot devices. Move items up and down to change the device order.</string> 481 </property> 482 <property name="verticalScrollBarPolicy" > 483 <enum>Qt::ScrollBarAlwaysOff</enum> 484 </property> 485 <property name="horizontalScrollBarPolicy" > 486 <enum>Qt::ScrollBarAlwaysOff</enum> 487 </property> 488 <property name="alternatingRowColors" > 489 <bool>true</bool> 490 </property> 491 <property name="rootIsDecorated" > 492 <bool>false</bool> 493 </property> 494 <property name="uniformRowHeights" > 495 <bool>true</bool> 496 </property> 497 <column> 498 <property name="text" > 499 <string>[device]</string> 500 </property> 501 </column> 502 </widget> 503 </item> 504 </layout> 505 </item> 506 <item> 507 <layout class="QVBoxLayout" > 508 <property name="spacing" > 509 <number>0</number> 510 </property> 511 <item> 512 <widget class="QToolButton" name="mTbBootItemUp" > 513 <property name="enabled" > 514 <bool>false</bool> 515 </property> 516 <property name="focusPolicy" > 517 <enum>Qt::StrongFocus</enum> 518 </property> 519 <property name="toolTip" > 520 <string>Move Up (Ctrl-Up)</string> 521 </property> 522 <property name="whatsThis" > 523 <string>Moves the selected boot device up.</string> 524 </property> 525 <property name="text" > 526 <string/> 527 </property> 528 <property name="autoRaise" > 529 <bool>true</bool> 530 </property> 531 </widget> 532 </item> 533 <item> 534 <widget class="QToolButton" name="mTbBootItemDown" > 535 <property name="enabled" > 536 <bool>false</bool> 537 </property> 538 <property name="focusPolicy" > 539 <enum>Qt::StrongFocus</enum> 540 </property> 541 <property name="toolTip" > 542 <string>Move Down (Ctrl-Down)</string> 543 </property> 544 <property name="whatsThis" > 545 <string>Moves the selected boot device down.</string> 546 </property> 547 <property name="text" > 548 <string/> 549 </property> 550 <property name="autoRaise" > 551 <bool>true</bool> 552 </property> 553 </widget> 554 </item> 555 <item> 556 <spacer> 557 <property name="orientation" > 558 <enum>Qt::Vertical</enum> 559 </property> 560 <property name="sizeType" > 561 <enum>QSizePolicy::Expanding</enum> 562 </property> 563 <property name="sizeHint" > 564 <size> 565 <width>4</width> 566 <height>0</height> 567 </size> 568 </property> 569 </spacer> 570 </item> 571 </layout> 572 </item> 573 </layout> 574 </widget> 605 </column> 606 </widget> 607 </item> 608 </layout> 575 609 </item> 576 </layout>577 </widget>578 </item>579 <item>580 <widget class="QGroupBox" name="mGbAdvanced" >581 <property name="sizePolicy" >582 <sizepolicy vsizetype="Maximum" hsizetype="MinimumExpanding" >583 <horstretch>0</horstretch>584 <verstretch>0</verstretch>585 </sizepolicy>586 </property>587 <property name="title" >588 <string>Extended Features</string>589 </property>590 <property name="alignment" >591 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>592 </property>593 <layout class="QVBoxLayout" >594 <property name="topMargin" >595 <number>5</number>596 </property>597 610 <item> 598 <widget class="QWidget" native="1" name="mWAdvContainer" > 599 <layout class="QGridLayout" > 600 <property name="leftMargin" > 601 <number>0</number> 602 </property> 603 <property name="topMargin" > 604 <number>0</number> 605 </property> 606 <property name="rightMargin" > 607 <number>0</number> 608 </property> 609 <property name="bottomMargin" > 610 <number>0</number> 611 </property> 612 <item row="0" column="0" > 613 <widget class="QCheckBox" name="mCbAcpi" > 614 <property name="sizePolicy" > 615 <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" > 616 <horstretch>0</horstretch> 617 <verstretch>0</verstretch> 618 </sizepolicy> 619 </property> 620 <property name="whatsThis" > 621 <string>When checked, the virtual machine will support the Advanced Configuration and Power Management Interface (ACPI). <b>Note:</b> don't disable this feature after having installed a Windows guest operating system!</string> 622 </property> 623 <property name="text" > 624 <string>Enable A&CPI</string> 625 </property> 626 </widget> 627 </item> 628 <item row="0" column="1" > 629 <widget class="QCheckBox" name="mCbPae" > 630 <property name="sizePolicy" > 631 <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" > 632 <horstretch>0</horstretch> 633 <verstretch>0</verstretch> 634 </sizepolicy> 635 </property> 636 <property name="whatsThis" > 637 <string>When checked, the Physical Address Extension (PAE) feature of the host CPU will be exposed to the virtual machine.</string> 638 </property> 639 <property name="text" > 640 <string>Enable PA&E/NX</string> 641 </property> 642 </widget> 643 </item> 644 <item row="1" column="0" > 645 <widget class="QCheckBox" name="mCbApic" > 646 <property name="sizePolicy" > 647 <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" > 648 <horstretch>0</horstretch> 649 <verstretch>0</verstretch> 650 </sizepolicy> 651 </property> 652 <property name="whatsThis" > 653 <string>When checked, the virtual machine will support the Input Output APIC (IO APIC), which may slightly decrease the VM performance. <b>Note:</b> don't disable this feature after having installed a Windows guest operating system!</string> 654 </property> 655 <property name="text" > 656 <string>Enable IO A&PIC</string> 657 </property> 658 </widget> 659 </item> 660 <item row="2" column="0" > 661 <widget class="QCheckBox" name="mCbVirt" > 662 <property name="sizePolicy" > 663 <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" > 664 <horstretch>0</horstretch> 665 <verstretch>0</verstretch> 666 </sizepolicy> 667 </property> 668 <property name="whatsThis" > 669 <string>When checked, the virtual machine will try to make use of the host CPU's hardware virtualization extensions such as Intel VT-x and AMD-V. The grayed checkbox state means that this setting is determined by the value of the global setting.</string> 670 </property> 671 <property name="text" > 672 <string>Enable &VT-x/AMD-V</string> 673 </property> 674 </widget> 675 </item> 676 </layout> 677 </widget> 611 <layout class="QVBoxLayout" > 612 <property name="spacing" > 613 <number>0</number> 614 </property> 615 <item> 616 <widget class="QToolButton" name="mTbBootItemUp" > 617 <property name="enabled" > 618 <bool>false</bool> 619 </property> 620 <property name="focusPolicy" > 621 <enum>Qt::StrongFocus</enum> 622 </property> 623 <property name="toolTip" > 624 <string>Move Up (Ctrl-Up)</string> 625 </property> 626 <property name="whatsThis" > 627 <string>Moves the selected boot device up.</string> 628 </property> 629 <property name="text" > 630 <string/> 631 </property> 632 <property name="autoRaise" > 633 <bool>true</bool> 634 </property> 635 </widget> 636 </item> 637 <item> 638 <widget class="QToolButton" name="mTbBootItemDown" > 639 <property name="enabled" > 640 <bool>false</bool> 641 </property> 642 <property name="focusPolicy" > 643 <enum>Qt::StrongFocus</enum> 644 </property> 645 <property name="toolTip" > 646 <string>Move Down (Ctrl-Down)</string> 647 </property> 648 <property name="whatsThis" > 649 <string>Moves the selected boot device down.</string> 650 </property> 651 <property name="text" > 652 <string/> 653 </property> 654 <property name="autoRaise" > 655 <bool>true</bool> 656 </property> 657 </widget> 658 </item> 659 <item> 660 <spacer> 661 <property name="orientation" > 662 <enum>Qt::Vertical</enum> 663 </property> 664 <property name="sizeType" > 665 <enum>QSizePolicy::Expanding</enum> 666 </property> 667 <property name="sizeHint" > 668 <size> 669 <width>4</width> 670 <height>0</height> 671 </size> 672 </property> 673 </spacer> 674 </item> 675 </layout> 678 676 </item> 679 677 </layout> … … 683 681 </widget> 684 682 </item> 685 <item> 686 <layout class="QHBoxLayout" > 683 <item row="1" column="0" > 684 <widget class="QLabel" name="mGbAdvanced" > 685 <property name="text" > 686 <string>Extended Features:</string> 687 </property> 688 <property name="alignment" > 689 <set>Qt::AlignRight|Qt::AlignTop|Qt::AlignTrailing</set> 690 </property> 691 <property name="buddy" > 692 <cstring>mCbAcpi</cstring> 693 </property> 694 </widget> 695 </item> 696 <item row="1" column="1" > 697 <layout class="QVBoxLayout" > 687 698 <item> 688 <widget class="Q GroupBox" name="mGbClipboard" >699 <widget class="QCheckBox" name="mCbAcpi" > 689 700 <property name="sizePolicy" > 690 <sizepolicy vsizetype="Fixed" hsizetype=" Expanding" >701 <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" > 691 702 <horstretch>0</horstretch> 692 703 <verstretch>0</verstretch> 693 704 </sizepolicy> 694 705 </property> 695 <property name="title" > 696 <string>&Shared Clipboard</string> 697 </property> 698 <layout class="QHBoxLayout" > 699 <property name="topMargin" > 700 <number>5</number> 701 </property> 702 <item> 703 <widget class="QComboBox" name="mCbClipboard" > 704 <property name="whatsThis" > 705 <string>Defines the mode of sharing the clipboard between the guest and the host OS. Note that this feature requires Guest Additions to be installed in the guest OS.</string> 706 </property> 707 </widget> 708 </item> 709 <item> 710 <spacer> 711 <property name="orientation" > 712 <enum>Qt::Horizontal</enum> 713 </property> 714 <property name="sizeHint" > 715 <size> 716 <width>40</width> 717 <height>20</height> 718 </size> 719 </property> 720 </spacer> 721 </item> 722 </layout> 706 <property name="whatsThis" > 707 <string>When checked, the virtual machine will support the Advanced Configuration and Power Management Interface (ACPI). <b>Note:</b> don't disable this feature after having installed a Windows guest operating system!</string> 708 </property> 709 <property name="text" > 710 <string>Enable A&CPI</string> 711 </property> 723 712 </widget> 724 713 </item> 725 714 <item> 726 <widget class="Q GroupBox" name="mGbIDEController" >715 <widget class="QCheckBox" name="mCbApic" > 727 716 <property name="sizePolicy" > 728 <sizepolicy vsizetype="Fixed" hsizetype=" Expanding" >717 <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" > 729 718 <horstretch>0</horstretch> 730 719 <verstretch>0</verstretch> 731 720 </sizepolicy> 732 721 </property> 733 <property name="title" > 734 <string>&IDE Controller Type</string> 735 </property> 736 <layout class="QHBoxLayout" > 737 <property name="topMargin" > 738 <number>5</number> 739 </property> 740 <item> 741 <widget class="QComboBox" name="mCbIDEController" > 742 <property name="whatsThis" > 743 <string>Defines the type of the virtual IDE controller. Depending on this value, VirtualBox will provide different virtual IDE hardware devices to the guest OS.</string> 744 </property> 745 </widget> 746 </item> 747 <item> 748 <spacer> 749 <property name="orientation" > 750 <enum>Qt::Horizontal</enum> 751 </property> 752 <property name="sizeHint" > 753 <size> 754 <width>40</width> 755 <height>20</height> 756 </size> 757 </property> 758 </spacer> 759 </item> 760 </layout> 722 <property name="whatsThis" > 723 <string>When checked, the virtual machine will support the Input Output APIC (IO APIC), which may slightly decrease the VM performance. <b>Note:</b> don't disable this feature after having installed a Windows guest operating system!</string> 724 </property> 725 <property name="text" > 726 <string>Enable IO A&PIC</string> 727 </property> 761 728 </widget> 762 729 </item> 730 <item> 731 <widget class="QCheckBox" name="mCbVirt" > 732 <property name="sizePolicy" > 733 <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" > 734 <horstretch>0</horstretch> 735 <verstretch>0</verstretch> 736 </sizepolicy> 737 </property> 738 <property name="whatsThis" > 739 <string>When checked, the virtual machine will try to make use of the host CPU's hardware virtualization extensions such as Intel VT-x and AMD-V. The grayed checkbox state means that this setting is determined by the value of the global setting.</string> 740 </property> 741 <property name="text" > 742 <string>Enable &VT-x/AMD-V</string> 743 </property> 744 </widget> 745 </item> 746 <item> 747 <widget class="QCheckBox" name="mCbPae" > 748 <property name="sizePolicy" > 749 <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" > 750 <horstretch>0</horstretch> 751 <verstretch>0</verstretch> 752 </sizepolicy> 753 </property> 754 <property name="whatsThis" > 755 <string>When checked, the Physical Address Extension (PAE) feature of the host CPU will be exposed to the virtual machine.</string> 756 </property> 757 <property name="text" > 758 <string>Enable PA&E/NX</string> 759 </property> 760 </widget> 761 </item> 763 762 </layout> 764 763 </item> 765 <item> 766 <widget class="QGroupBox" name="mGbSnapshot" > 767 <property name="sizePolicy" > 768 <sizepolicy vsizetype="Fixed" hsizetype="Expanding" > 769 <horstretch>0</horstretch> 770 <verstretch>0</verstretch> 771 </sizepolicy> 772 </property> 773 <property name="title" > 774 <string>S&napshot Folder</string> 775 </property> 776 <layout class="QHBoxLayout" > 777 <property name="topMargin" > 778 <number>5</number> 779 </property> 780 <item> 781 <widget class="QLineEdit" name="mLeSnapshot" > 782 <property name="whatsThis" > 783 <string>Displays the path where snapshots of this virtual machine will be stored. Note that snapshots can take quite a lot of disk space.</string> 784 </property> 785 </widget> 786 </item> 787 <item> 788 <widget class="QToolButton" name="mTbSelectSnapshot" > 789 <property name="whatsThis" > 790 <string>Selects the snapshot folder path.</string> 791 </property> 792 <property name="text" > 793 <string/> 794 </property> 795 <property name="icon" > 796 <iconset resource="../VirtualBox.qrc" >:/select_file_16px.png</iconset> 797 </property> 798 <property name="autoRaise" > 799 <bool>true</bool> 800 </property> 801 </widget> 802 </item> 803 <item> 804 <widget class="QToolButton" name="mTbResetSnapshot" > 805 <property name="whatsThis" > 806 <string>Resets the snapshot folder path to the default value. The actual default path will be displayed after accepting the changes and opening this dialog again.</string> 807 </property> 808 <property name="text" > 809 <string/> 810 </property> 811 <property name="icon" > 812 <iconset resource="../VirtualBox.qrc" >:/eraser_16px.png</iconset> 813 </property> 814 <property name="autoRaise" > 815 <bool>true</bool> 816 </property> 817 </widget> 818 </item> 819 </layout> 820 </widget> 821 </item> 822 <item> 764 <item row="2" column="0" > 765 <widget class="QLabel" name="mGbClipboard" > 766 <property name="text" > 767 <string>&Shared Clipboard:</string> 768 </property> 769 <property name="alignment" > 770 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 771 </property> 772 <property name="buddy" > 773 <cstring>mCbClipboard</cstring> 774 </property> 775 </widget> 776 </item> 777 <item rowspan="2" row="2" column="1" > 778 <layout class="QHBoxLayout" > 779 <item> 780 <layout class="QVBoxLayout" > 781 <item> 782 <widget class="QComboBox" name="mCbClipboard" > 783 <property name="sizePolicy" > 784 <sizepolicy vsizetype="Fixed" hsizetype="Fixed" > 785 <horstretch>0</horstretch> 786 <verstretch>0</verstretch> 787 </sizepolicy> 788 </property> 789 <property name="whatsThis" > 790 <string>Defines the mode of sharing the clipboard between the guest and the host OS. Note that this feature requires Guest Additions to be installed in the guest OS.</string> 791 </property> 792 </widget> 793 </item> 794 <item> 795 <widget class="QComboBox" name="mCbIDEController" > 796 <property name="sizePolicy" > 797 <sizepolicy vsizetype="Fixed" hsizetype="Minimum" > 798 <horstretch>0</horstretch> 799 <verstretch>0</verstretch> 800 </sizepolicy> 801 </property> 802 <property name="whatsThis" > 803 <string>Defines the type of the virtual IDE controller. Depending on this value, VirtualBox will provide different virtual IDE hardware devices to the guest OS.</string> 804 </property> 805 </widget> 806 </item> 807 </layout> 808 </item> 809 <item> 810 <spacer> 811 <property name="orientation" > 812 <enum>Qt::Horizontal</enum> 813 </property> 814 <property name="sizeType" > 815 <enum>QSizePolicy::Expanding</enum> 816 </property> 817 <property name="sizeHint" > 818 <size> 819 <width>40</width> 820 <height>20</height> 821 </size> 822 </property> 823 </spacer> 824 </item> 825 </layout> 826 </item> 827 <item row="3" column="0" > 828 <widget class="QLabel" name="mGbIDEController" > 829 <property name="text" > 830 <string>&IDE Controller Type:</string> 831 </property> 832 <property name="alignment" > 833 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 834 </property> 835 <property name="buddy" > 836 <cstring>mCbIDEController</cstring> 837 </property> 838 </widget> 839 </item> 840 <item row="4" column="0" > 841 <widget class="QLabel" name="mGbSnapshot" > 842 <property name="text" > 843 <string>S&napshot Folder:</string> 844 </property> 845 <property name="alignment" > 846 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 847 </property> 848 <property name="buddy" > 849 <cstring>mPsSnapshot</cstring> 850 </property> 851 </widget> 852 </item> 853 <item row="4" column="1" > 854 <widget class="VBoxPathSelector" native="1" name="mPsSnapshot" /> 855 </item> 856 <item row="5" column="1" > 823 857 <spacer> 824 858 <property name="orientation" > … … 856 890 <string>&Other</string> 857 891 </attribute> 858 <layout class="QVBoxLayout" > 859 <item> 860 <widget class="QGroupBox" name="mGbOther" > 861 <property name="sizePolicy" > 862 <sizepolicy vsizetype="Fixed" hsizetype="Preferred" > 863 <horstretch>0</horstretch> 864 <verstretch>0</verstretch> 865 </sizepolicy> 866 </property> 867 <property name="title" > 868 <string>Other &Settings</string> 869 </property> 870 <layout class="QHBoxLayout" > 871 <property name="topMargin" > 872 <number>5</number> 873 </property> 874 <item> 875 <widget class="QCheckBox" name="mCbSaveMounted" > 876 <property name="whatsThis" > 877 <string>If checked, any change to mounted CD/DVD or Floppy media performed during machine execution will be saved in the settings file in order to preserve the configuration of mounted media between runs.</string> 878 </property> 879 <property name="text" > 880 <string>&Remember Media Mounted at Runtime</string> 881 </property> 882 <property name="checked" > 883 <bool>true</bool> 884 </property> 885 </widget> 886 </item> 887 </layout> 888 </widget> 889 </item> 890 <item> 892 <layout class="QGridLayout" > 893 <item row="0" column="0" > 894 <spacer> 895 <property name="orientation" > 896 <enum>Qt::Horizontal</enum> 897 </property> 898 <property name="sizeType" > 899 <enum>QSizePolicy::Fixed</enum> 900 </property> 901 <property name="sizeHint" > 902 <size> 903 <width>60</width> 904 <height>20</height> 905 </size> 906 </property> 907 </spacer> 908 </item> 909 <item row="0" column="1" > 910 <widget class="QLabel" name="mGbRuntime" > 911 <property name="text" > 912 <string>R&untime:</string> 913 </property> 914 <property name="alignment" > 915 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 916 </property> 917 <property name="buddy" > 918 <cstring>mCbSaveMounted</cstring> 919 </property> 920 </widget> 921 </item> 922 <item row="0" column="2" > 923 <widget class="QCheckBox" name="mCbSaveMounted" > 924 <property name="whatsThis" > 925 <string>If checked, any change to mounted CD/DVD or Floppy media performed during machine execution will be saved in the settings file in order to preserve the configuration of mounted media between runs.</string> 926 </property> 927 <property name="text" > 928 <string>&Remember Mounted Media</string> 929 </property> 930 <property name="checked" > 931 <bool>true</bool> 932 </property> 933 </widget> 934 </item> 935 <item row="0" column="3" > 936 <spacer> 937 <property name="orientation" > 938 <enum>Qt::Horizontal</enum> 939 </property> 940 <property name="sizeHint" > 941 <size> 942 <width>40</width> 943 <height>20</height> 944 </size> 945 </property> 946 </spacer> 947 </item> 948 <item row="1" column="2" > 891 949 <spacer> 892 950 <property name="orientation" > … … 913 971 <header>VBoxSettingsUtils.h</header> 914 972 </customwidget> 973 <customwidget> 974 <class>QILabelSeparator</class> 975 <extends>QLabel</extends> 976 <header>QILabelSeparator.h</header> 977 </customwidget> 978 <customwidget> 979 <class>VBoxPathSelector</class> 980 <extends>QWidget</extends> 981 <header>VBoxPathSelector.h</header> 982 <container>1</container> 983 </customwidget> 915 984 </customwidgets> 916 985 <resources/>
Note:
See TracChangeset
for help on using the changeset viewer.