Changeset 94288 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Mar 17, 2022 12:20:06 PM (3 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/settings/global
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsGeneral.cpp
r93935 r94288 149 149 { 150 150 /* Prepare main layout: */ 151 QVBoxLayout *pLayout Main= new QVBoxLayout(this);152 if (pLayout Main)151 QVBoxLayout *pLayout = new QVBoxLayout(this); 152 if (pLayout) 153 153 { 154 154 /* Prepare 'default machine folder' editor: */ 155 155 m_pEditorDefaultMachineFolder = new UIDefaultMachineFolderEditor(this); 156 156 if (m_pEditorDefaultMachineFolder) 157 pLayout Main->addWidget(m_pEditorDefaultMachineFolder);157 pLayout->addWidget(m_pEditorDefaultMachineFolder); 158 158 159 159 /* Prepare 'VRDE auth library' editor: */ 160 160 m_pEditorVRDEAuthLibrary = new UIVRDEAuthLibraryEditor(this); 161 161 if (m_pEditorVRDEAuthLibrary) 162 pLayout Main->addWidget(m_pEditorVRDEAuthLibrary);162 pLayout->addWidget(m_pEditorVRDEAuthLibrary); 163 163 164 164 /* Add stretch to the end: */ 165 pLayout Main->addStretch();165 pLayout->addStretch(); 166 166 } 167 167 } -
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsInput.cpp
r93936 r94288 196 196 { 197 197 /* Prepare main layout: */ 198 QVBoxLayout *pLayout Main= new QVBoxLayout(this);199 if (pLayout Main)198 QVBoxLayout *pLayout = new QVBoxLayout(this); 199 if (pLayout) 200 200 { 201 201 /* Prepare 'shortcut configuration' editor: */ 202 202 m_pEditorShortcutConfiguration = new UIShortcutConfigurationEditor(this); 203 203 if (m_pEditorShortcutConfiguration) 204 pLayout Main->addWidget(m_pEditorShortcutConfiguration);204 pLayout->addWidget(m_pEditorShortcutConfiguration); 205 205 206 206 /* Prepare 'auto capture keyboard' editor: */ 207 207 m_pEditorAutoCaptureKeyboard = new UIAutoCaptureKeyboardEditor(this); 208 208 if (m_pEditorAutoCaptureKeyboard) 209 pLayout Main->addWidget(m_pEditorAutoCaptureKeyboard);209 pLayout->addWidget(m_pEditorAutoCaptureKeyboard); 210 210 } 211 211 } -
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsInterface.cpp
r94145 r94288 17 17 18 18 /* Qt includes: */ 19 #include <QGridLayout>20 19 #include <QLabel> 20 #include <QVBoxLayout> 21 21 22 22 /* GUI includes: */ … … 136 136 { 137 137 /* Prepare main layout: */ 138 Q GridLayout *pLayoutMain = new QGridLayout(this);139 if (pLayout Main)138 QVBoxLayout *pLayout = new QVBoxLayout(this); 139 if (pLayout) 140 140 { 141 pLayoutMain->setRowStretch(1, 1);142 143 141 /* Prepare color-theme editor: */ 144 142 m_pEditorColorTheme = new UIColorThemeEditor(this); 145 143 if (m_pEditorColorTheme) 146 pLayoutMain->addWidget(m_pEditorColorTheme, 0, 0); 144 pLayout->addWidget(m_pEditorColorTheme); 145 146 /* Add stretch to the end: */ 147 pLayout->addStretch(); 147 148 } 148 149 } -
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsLanguage.cpp
r93115 r94288 133 133 { 134 134 /* Prepare main layout: */ 135 QVBoxLayout *pLayout Main= new QVBoxLayout(this);136 if (pLayout Main)135 QVBoxLayout *pLayout = new QVBoxLayout(this); 136 if (pLayout) 137 137 { 138 138 /* Prepare language settings editor: */ 139 139 m_pEditorLanguageSettings = new UILanguageSettingsEditor(this); 140 140 if (m_pEditorLanguageSettings) 141 pLayout Main->addWidget(m_pEditorLanguageSettings);141 pLayout->addWidget(m_pEditorLanguageSettings); 142 142 } 143 143 } -
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsUpdate.cpp
r93115 r94288 133 133 { 134 134 /* Prepare main layout: */ 135 QVBoxLayout *pLayout Main= new QVBoxLayout(this);136 if (pLayout Main)135 QVBoxLayout *pLayout = new QVBoxLayout(this); 136 if (pLayout) 137 137 { 138 138 /* Prepare update settings editor: */ 139 139 m_pEditorUpdateSettings = new UIUpdateSettingsEditor(this); 140 140 if (m_pEditorUpdateSettings) 141 pLayoutMain->addWidget(m_pEditorUpdateSettings); 141 pLayout->addWidget(m_pEditorUpdateSettings); 142 143 /* Add stretch to the end: */ 144 pLayout->addStretch(); 142 145 } 143 146 }
Note:
See TracChangeset
for help on using the changeset viewer.