Changeset 91296 in vbox
- Timestamp:
- Sep 17, 2021 11:23:17 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/medium/viso/UIVisoCreator.cpp
r91242 r91296 27 27 #include "UIExtraDataManager.h" 28 28 #include "UIIconPool.h" 29 #include "UIMessageCenter.h" 29 30 #include "QIToolBar.h" 30 31 #include "UIVisoHostBrowser.h" … … 324 325 if (m_pButtonBox) 325 326 { 326 m_pButtonBox->setStandardButtons(QDialogButtonBox:: Cancel | QDialogButtonBox::Ok);327 m_pButtonBox->setStandardButtons(QDialogButtonBox::Help | QDialogButtonBox::Cancel | QDialogButtonBox::Ok); 327 328 m_pButtonBox->button(QDialogButtonBox::Cancel)->setShortcut(Qt::Key_Escape); 328 329 m_pMainLayout->addWidget(m_pButtonBox, 4, 3, 1, 5, Qt::AlignRight); 330 331 connect(m_pButtonBox->button(QIDialogButtonBox::Help), &QPushButton::pressed, 332 &(msgCenter()), &UIMessageCenter::sltHandleHelpRequest); 333 m_pButtonBox->button(QDialogButtonBox::Help)->setShortcut(QKeySequence::HelpContents); 334 335 uiCommon().setHelpKeyword(m_pButtonBox->button(QIDialogButtonBox::Help), "viso"); 329 336 } 330 337 }
Note:
See TracChangeset
for help on using the changeset viewer.