Changeset 85849 in vbox
- Timestamp:
- Aug 20, 2020 6:41:21 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsGeneral.cpp
r85838 r85849 653 653 { 654 654 m_pLabelSnapshotFolder->setAlignment(Qt::AlignRight | Qt::AlignVCenter); 655 pLayoutAdvanced->addWidget(m_pLabelSnapshotFolder, 0, 0 , 1, 1);655 pLayoutAdvanced->addWidget(m_pLabelSnapshotFolder, 0, 0); 656 656 } 657 657 /* Prepare snapshot folder editor: */ … … 669 669 { 670 670 m_pLabelClipboard->setAlignment(Qt::AlignRight | Qt::AlignVCenter); 671 pLayoutAdvanced->addWidget(m_pLabelClipboard, 1, 0 , 1, 1);671 pLayoutAdvanced->addWidget(m_pLabelClipboard, 1, 0); 672 672 } 673 673 /* Prepare clipboard combo: */ … … 677 677 if (m_pLabelClipboard) 678 678 m_pLabelClipboard->setBuddy(m_pComboClipboard); 679 pLayoutAdvanced->addWidget(m_pComboClipboard, 1, 1 , 1, 1);679 pLayoutAdvanced->addWidget(m_pComboClipboard, 1, 1); 680 680 } 681 681 … … 685 685 { 686 686 m_pLabelDragAndDrop->setAlignment(Qt::AlignRight | Qt::AlignVCenter); 687 pLayoutAdvanced->addWidget(m_pLabelDragAndDrop, 2, 0 , 1, 1);687 pLayoutAdvanced->addWidget(m_pLabelDragAndDrop, 2, 0); 688 688 } 689 689 /* Prepare drag&drop combo: */ … … 693 693 if (m_pLabelDragAndDrop) 694 694 m_pLabelDragAndDrop->setBuddy(m_pComboDragAndDrop); 695 pLayoutAdvanced->addWidget(m_pComboDragAndDrop, 2, 1 , 1, 1);695 pLayoutAdvanced->addWidget(m_pComboDragAndDrop, 2, 1); 696 696 } 697 697 } … … 749 749 QSpacerItem *pSpacerItem = new QSpacerItem(20, 0, QSizePolicy::Fixed, QSizePolicy::Minimum); 750 750 if (pSpacerItem) 751 pLayoutEncryption->addItem(pSpacerItem, 1, 0 , 1, 1);751 pLayoutEncryption->addItem(pSpacerItem, 1, 0); 752 752 753 753 /* Prepare encryption settings widget: */ … … 766 766 { 767 767 m_pLabelCipher->setAlignment(Qt::AlignRight|Qt::AlignVCenter); 768 m_pLayoutEncryptionSettings->addWidget(m_pLabelCipher, 0, 0 , 1, 1);768 m_pLayoutEncryptionSettings->addWidget(m_pLabelCipher, 0, 0); 769 769 } 770 770 /* Prepare encryption cipher combo: */ … … 778 778 if (m_pLabelCipher) 779 779 m_pLabelCipher->setBuddy(m_pComboCipher); 780 m_pLayoutEncryptionSettings->addWidget(m_pComboCipher, 0, 1 , 1, 1);780 m_pLayoutEncryptionSettings->addWidget(m_pComboCipher, 0, 1); 781 781 } 782 782 … … 786 786 { 787 787 m_pLabelEncryptionPassword->setAlignment(Qt::AlignRight|Qt::AlignVCenter); 788 m_pLayoutEncryptionSettings->addWidget(m_pLabelEncryptionPassword, 1, 0 , 1, 1);788 m_pLayoutEncryptionSettings->addWidget(m_pLabelEncryptionPassword, 1, 0); 789 789 } 790 790 /* Prepare encryption password editor: */ … … 795 795 if (m_pLabelEncryptionPassword) 796 796 m_pLabelEncryptionPassword->setBuddy(m_pEditorEncryptionPassword); 797 m_pLayoutEncryptionSettings->addWidget(m_pEditorEncryptionPassword, 1, 1 , 1, 1);797 m_pLayoutEncryptionSettings->addWidget(m_pEditorEncryptionPassword, 1, 1); 798 798 } 799 799 … … 803 803 { 804 804 m_pLabelEncryptionPasswordConfirm->setAlignment(Qt::AlignRight|Qt::AlignVCenter); 805 m_pLayoutEncryptionSettings->addWidget(m_pLabelEncryptionPasswordConfirm, 2, 0 , 1, 1);805 m_pLayoutEncryptionSettings->addWidget(m_pLabelEncryptionPasswordConfirm, 2, 0); 806 806 } 807 807 /* Prepare encryption confirm password editor: */ … … 812 812 if (m_pLabelEncryptionPasswordConfirm) 813 813 m_pLabelEncryptionPasswordConfirm->setBuddy(m_pEditorEncryptionPasswordConfirm); 814 m_pLayoutEncryptionSettings->addWidget(m_pEditorEncryptionPasswordConfirm, 2, 1 , 1, 1);814 m_pLayoutEncryptionSettings->addWidget(m_pEditorEncryptionPasswordConfirm, 2, 1); 815 815 } 816 816 } 817 817 818 pLayoutEncryption->addWidget(m_pWidgetEncryptionSettings, 1, 1 , 1, 1);818 pLayoutEncryption->addWidget(m_pWidgetEncryptionSettings, 1, 1); 819 819 } 820 820 } … … 860 860 void UIMachineSettingsGeneral::repopulateComboClipboardMode() 861 861 { 862 /* Clipboard mode combo-box created in the .ui file. */863 862 AssertPtrReturnVoid(m_pComboClipboard); 864 863 { … … 882 881 void UIMachineSettingsGeneral::repopulateComboDnDMode() 883 882 { 884 /* DnD mode combo-box created in the .ui file. */885 883 AssertPtrReturnVoid(m_pComboDragAndDrop); 886 884 {
Note:
See TracChangeset
for help on using the changeset viewer.