Changeset 72226 in vbox
- Timestamp:
- May 16, 2018 1:05:40 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 122666
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UINameAndSystemEditor.cpp
r72199 r72226 242 242 m_pNamePathSelector->setPath(vboxGlobal().virtualBox().GetSystemProperties().GetDefaultMachineFolder()); 243 243 pMainLayout->addWidget(m_pNamePathSelector, 0, 1, 1, 2); 244 setFocusProxy(m_pNamePathSelector); 244 245 } 245 246 -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIVMNamePathSelector.cpp
r72225 r72226 105 105 connect(m_pName, &QILineEdit::textChanged, 106 106 this, &UIVMNamePathSelector::sigNameChanged); 107 setFocusProxy(m_pName); 108 if (m_pFileDialogButton) 109 m_pFileDialogButton->setFocusProxy(m_pName); 107 110 } 108 109 111 } 110 112 … … 182 184 return m_strToolTipText; 183 185 } 184 185 void UIVMNamePathSelector::showEvent(QShowEvent *pEvent)186 {187 QWidget::showEvent(pEvent);188 m_pName->setFocus();189 } -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIVMNamePathSelector.h
r72225 r72226 59 59 60 60 void retranslateUi() /* override */; 61 virtual void showEvent(QShowEvent *pEvent) /* override */;62 61 63 62 private slots: -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/clonevm/UIWizardCloneVMPageBasic1.cpp
r72215 r72226 157 157 /* Translate page: */ 158 158 retranslateUi(); 159 if (m_pNamePathSelector) 160 m_pNamePathSelector->setFocus(); 159 161 } 160 162 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasic1.cpp
r72202 r72226 385 385 /* Translate page: */ 386 386 retranslateUi(); 387 if (m_pNameAndSystemEditor) 388 m_pNameAndSystemEditor->setFocus(); 387 389 } 388 390
Note:
See TracChangeset
for help on using the changeset viewer.