Changeset 101072 in vbox
- Timestamp:
- Sep 8, 2023 3:03:57 PM (15 months ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/settings
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIAudioSettingsEditor.cpp
r101011 r101072 208 208 m_pEditorAudioHostDriver = new UIAudioHostDriverEditor(m_pWidgetSettings); 209 209 if (m_pEditorAudioHostDriver) 210 { 211 m_editors << m_pEditorAudioHostDriver; 210 212 pLayoutAudioSettings->addWidget(m_pEditorAudioHostDriver); 213 } 211 214 212 215 /* Prepare controller editor: */ 213 216 m_pEditorAudioController = new UIAudioControllerEditor(m_pWidgetSettings); 214 217 if (m_pEditorAudioController) 218 { 219 m_editors << m_pEditorAudioController; 215 220 pLayoutAudioSettings->addWidget(m_pEditorAudioController); 221 } 216 222 217 223 /* Prepare features editor: */ 218 224 m_pEditorAudioFeatures = new UIAudioFeaturesEditor(m_pWidgetSettings); 219 225 if (m_pEditorAudioFeatures) 226 { 227 m_editors << m_pEditorAudioFeatures; 220 228 pLayoutAudioSettings->addWidget(m_pEditorAudioFeatures); 229 } 221 230 } 222 231 -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIUSBSettingsEditor.cpp
r101011 r101072 161 161 m_pEditorController = new UIUSBControllerEditor(m_pWidgetSettings); 162 162 if (m_pEditorController) 163 { 164 m_editors << m_pEditorController; 163 165 pLayoutSettings->addWidget(m_pEditorController); 166 } 164 167 165 168 /* Prepare USB filters editor: */ 166 169 m_pEditorFilters = new UIUSBFiltersEditor(m_pWidgetSettings); 167 170 if (m_pEditorFilters) 171 { 172 m_editors << m_pEditorFilters; 168 173 pLayoutSettings->addWidget(m_pEditorFilters); 174 } 169 175 } 170 176 -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsAudio.cpp
r98103 r101072 228 228 m_pEditorAudioSettings = new UIAudioSettingsEditor(this); 229 229 if (m_pEditorAudioSettings) 230 { 231 m_editors << m_pEditorAudioSettings; 230 232 pLayout->addWidget(m_pEditorAudioSettings); 233 } 231 234 232 235 pLayout->addStretch(); -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsDisplay.cpp
r100635 r101072 896 896 m_pEditorVideoMemorySize = new UIVideoMemoryEditor(m_pTabScreen); 897 897 if (m_pEditorVideoMemorySize) 898 { 899 m_editors << m_pEditorVideoMemorySize; 898 900 pLayoutScreen->addWidget(m_pEditorVideoMemorySize); 901 } 899 902 900 903 /* Prepare monitor count editor: */ 901 904 m_pEditorMonitorCount = new UIMonitorCountEditor(m_pTabScreen); 902 905 if (m_pEditorMonitorCount) 906 { 907 m_editors << m_pEditorMonitorCount; 903 908 pLayoutScreen->addWidget(m_pEditorMonitorCount); 909 } 904 910 905 911 /* Prepare scale factor editor: */ 906 912 m_pEditorScaleFactor = new UIScaleFactorEditor(m_pTabScreen); 907 913 if (m_pEditorScaleFactor) 914 { 915 m_editors << m_pEditorScaleFactor; 908 916 pLayoutScreen->addWidget(m_pEditorScaleFactor); 917 } 909 918 910 919 /* Prepare graphics controller editor: */ 911 920 m_pEditorGraphicsController = new UIGraphicsControllerEditor(m_pTabScreen); 912 921 if (m_pEditorGraphicsController) 922 { 923 m_editors << m_pEditorGraphicsController; 913 924 pLayoutScreen->addWidget(m_pEditorGraphicsController); 925 } 914 926 915 927 #ifdef VBOX_WITH_3D_ACCELERATION … … 917 929 m_pEditorDisplayScreenFeatures = new UIDisplayScreenFeaturesEditor(m_pTabScreen); 918 930 if (m_pEditorDisplayScreenFeatures) 931 { 932 m_editors << m_pEditorDisplayScreenFeatures; 919 933 pLayoutScreen->addWidget(m_pEditorDisplayScreenFeatures); 934 } 920 935 #endif /* VBOX_WITH_3D_ACCELERATION */ 921 936 … … 940 955 m_pEditorVRDESettings = new UIVRDESettingsEditor(m_pTabRemoteDisplay); 941 956 if (m_pEditorVRDESettings) 957 { 958 m_editors << m_pEditorVRDESettings; 942 959 pLayoutRemoteDisplay->addWidget(m_pEditorVRDESettings); 960 } 943 961 944 962 pLayoutRemoteDisplay->addStretch(); … … 962 980 m_pEditorRecordingSettings = new UIRecordingSettingsEditor(m_pTabRecording); 963 981 if (m_pEditorRecordingSettings) 982 { 983 m_editors << m_pEditorRecordingSettings; 964 984 pLayoutRecording->addWidget(m_pEditorRecordingSettings); 985 } 965 986 966 987 pLayoutRecording->addStretch(); -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsGeneral.cpp
r101064 r101072 566 566 m_pEditorNameAndSystem = new UINameAndSystemEditor(m_pTabBasic); 567 567 if (m_pEditorNameAndSystem) 568 { 569 m_editors << m_pEditorNameAndSystem; 568 570 pLayoutBasic->addWidget(m_pEditorNameAndSystem); 571 } 569 572 570 573 pLayoutBasic->addStretch(); … … 588 591 m_pEditorSnapshotFolder = new UISnapshotFolderEditor(m_pTabAdvanced); 589 592 if (m_pEditorSnapshotFolder) 593 { 594 m_editors << m_pEditorSnapshotFolder; 590 595 pLayoutAdvanced->addWidget(m_pEditorSnapshotFolder); 596 } 591 597 592 598 /* Prepare clipboard editor: */ 593 599 m_pEditorClipboard = new UISharedClipboardEditor(m_pTabAdvanced); 594 600 if (m_pEditorClipboard) 601 { 602 m_editors << m_pEditorClipboard; 595 603 pLayoutAdvanced->addWidget(m_pEditorClipboard); 604 } 596 605 597 606 /* Prepare drag&drop editor: */ 598 607 m_pEditorDragAndDrop = new UIDragAndDropEditor(m_pTabAdvanced); 599 608 if (m_pEditorDragAndDrop) 609 { 610 m_editors << m_pEditorDragAndDrop; 600 611 pLayoutAdvanced->addWidget(m_pEditorDragAndDrop); 612 } 601 613 602 614 pLayoutAdvanced->addStretch(); … … 621 633 if (m_pEditorDescription) 622 634 { 635 m_editors << m_pEditorDescription; 623 636 m_pEditorDescription->setObjectName(QStringLiteral("m_pEditorDescription")); 624 637 pLayoutDescription->addWidget(m_pEditorDescription); … … 643 656 m_pEditorDiskEncryptionSettings = new UIDiskEncryptionSettingsEditor(m_pTabEncryption); 644 657 if (m_pEditorDiskEncryptionSettings) 658 { 659 m_editors << m_pEditorDiskEncryptionSettings; 645 660 pLayoutEncryption->addWidget(m_pEditorDiskEncryptionSettings); 661 } 646 662 647 663 pLayoutEncryption->addStretch(); -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsInterface.cpp
r101013 r101072 382 382 if (m_pEditorMenuBar) 383 383 { 384 m_editors << m_pEditorMenuBar; 384 385 m_pEditorMenuBar->setActionPool(m_pActionPool); 385 386 m_pEditorMenuBar->setMachineID(m_uMachineId); … … 391 392 m_pEditorVisualState = new UIVisualStateEditor(this); 392 393 if (m_pEditorVisualState) 394 { 395 m_editors << m_pEditorVisualState; 393 396 pLayout->addWidget(m_pEditorVisualState); 397 } 394 398 395 399 /* Prepare mini-toolbar settings editor: */ 396 400 m_pEditorMiniToolabSettings = new UIMiniToolbarSettingsEditor(this); 397 401 if (m_pEditorMiniToolabSettings) 402 { 403 m_editors << m_pEditorMiniToolabSettings; 398 404 pLayout->addWidget(m_pEditorMiniToolabSettings); 405 } 399 406 400 407 pLayout->addStretch(); … … 404 411 if (m_pEditorStatusBar) 405 412 { 413 m_editors << m_pEditorStatusBar; 406 414 m_pEditorStatusBar->setMachineID(m_uMachineId); 407 415 pLayout->addWidget(m_pEditorStatusBar); -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsSF.cpp
r98103 r101072 242 242 m_pEditorSharedFolders = new UISharedFoldersEditor(this); 243 243 if (m_pEditorSharedFolders) 244 { 245 m_editors << m_pEditorSharedFolders; 244 246 pLayout->addWidget(m_pEditorSharedFolders); 247 } 245 248 } 246 249 } -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsSF.h
r98103 r101072 88 88 /** Prepares all. */ 89 89 void prepare(); 90 /** Prepares Widgets. */90 /** Prepares widgets. */ 91 91 void prepareWidgets(); 92 92 /** Prepares connections. */ -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsStorage.cpp
r98103 r101072 495 495 if (m_pEditorStorageSettings) 496 496 { 497 m_editors << m_pEditorStorageSettings; 497 498 m_pEditorStorageSettings->setActionPool(m_pActionPool); 498 499 pLayout->addWidget(m_pEditorStorageSettings); -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsSystem.cpp
r101064 r101072 726 726 m_pEditorBaseMemory = new UIBaseMemoryEditor(m_pTabMotherboard); 727 727 if (m_pEditorBaseMemory) 728 { 729 m_editors << m_pEditorBaseMemory; 728 730 pLayoutMotherboard->addWidget(m_pEditorBaseMemory, 0, 0, 1, 2); 731 } 729 732 730 733 /* Prepare boot order editor: */ 731 734 m_pEditorBootOrder = new UIBootOrderEditor(m_pTabMotherboard); 732 735 if (m_pEditorBootOrder) 736 { 737 m_editors << m_pEditorBootOrder; 733 738 pLayoutMotherboard->addWidget(m_pEditorBootOrder, 1, 0); 739 } 734 740 735 741 /* Prepare chipset editor: */ 736 742 m_pEditorChipset = new UIChipsetEditor(m_pTabMotherboard); 737 743 if (m_pEditorChipset) 744 { 745 m_editors << m_pEditorChipset; 738 746 pLayoutMotherboard->addWidget(m_pEditorChipset, 2, 0); 747 } 739 748 740 749 /* Prepare TPM editor: */ 741 750 m_pEditorTpm = new UITpmEditor(m_pTabMotherboard); 742 751 if (m_pEditorTpm) 752 { 753 m_editors << m_pEditorTpm; 743 754 pLayoutMotherboard->addWidget(m_pEditorTpm, 3, 0); 755 } 744 756 745 757 /* Prepare pointing HID editor: */ 746 758 m_pEditorPointingHID = new UIPointingHIDEditor(m_pTabMotherboard); 747 759 if (m_pEditorPointingHID) 760 { 761 m_editors << m_pEditorPointingHID; 748 762 pLayoutMotherboard->addWidget(m_pEditorPointingHID, 4, 0); 763 } 749 764 750 765 /* Prepare motherboard features editor: */ 751 766 m_pEditorMotherboardFeatures = new UIMotherboardFeaturesEditor(m_pTabMotherboard); 752 767 if (m_pEditorMotherboardFeatures) 768 { 769 m_editors << m_pEditorMotherboardFeatures; 753 770 pLayoutMotherboard->addWidget(m_pEditorMotherboardFeatures, 5, 0); 771 } 754 772 } 755 773 … … 774 792 m_pEditorVCPU = new UIVirtualCPUEditor(m_pTabProcessor); 775 793 if (m_pEditorVCPU) 794 { 795 m_editors << m_pEditorVCPU; 776 796 pLayoutProcessor->addWidget(m_pEditorVCPU, 0, 0, 1, 2); 797 } 777 798 778 799 /* Prepare exec cap editor : */ 779 800 m_pEditorExecCap = new UIExecutionCapEditor(m_pTabProcessor); 780 801 if (m_pEditorExecCap) 802 { 803 m_editors << m_pEditorExecCap; 781 804 pLayoutProcessor->addWidget(m_pEditorExecCap, 1, 0, 1, 2); 805 } 782 806 783 807 /* Prepare processor features editor: */ 784 808 m_pEditorProcessorFeatures = new UIProcessorFeaturesEditor(m_pTabProcessor); 785 809 if (m_pEditorProcessorFeatures) 810 { 811 m_editors << m_pEditorProcessorFeatures; 786 812 pLayoutProcessor->addWidget(m_pEditorProcessorFeatures, 2, 0); 813 } 787 814 } 788 815 … … 807 834 m_pEditorParavirtProvider = new UIParavirtProviderEditor(m_pTabAcceleration); 808 835 if (m_pEditorParavirtProvider) 836 { 837 m_editors << m_pEditorParavirtProvider; 809 838 pLayoutAcceleration->addWidget(m_pEditorParavirtProvider, 0, 0, 1, 2); 839 } 810 840 811 841 /* Prepare acceleration features editor: */ 812 842 m_pEditorAccelerationFeatures = new UIAccelerationFeaturesEditor(m_pTabAcceleration); 813 843 if (m_pEditorAccelerationFeatures) 844 { 845 m_editors << m_pEditorAccelerationFeatures; 814 846 pLayoutAcceleration->addWidget(m_pEditorAccelerationFeatures, 1, 0); 847 } 815 848 816 849 m_pTabWidget->addTab(m_pTabAcceleration, QString()); -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsUSB.cpp
r99063 r101072 350 350 m_pEditorUsbSettings = new UIUSBSettingsEditor(this); 351 351 if (m_pEditorUsbSettings) 352 { 353 m_editors << m_pEditorUsbSettings; 352 354 pLayout->addWidget(m_pEditorUsbSettings); 355 } 353 356 } 354 357 }
Note:
See TracChangeset
for help on using the changeset viewer.