Changeset 99929 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- May 23, 2023 8:56:52 AM (20 months ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.cpp
r99184 r99929 1689 1689 m_pButtonBox->setStandardButtons(QDialogButtonBox::Help | QDialogButtonBox::Close); 1690 1690 m_pButtonBox->button(QDialogButtonBox::Close)->setShortcut(Qt::Key_Escape); 1691 connect(m_pButtonBox, &QIDialogButtonBox::helpRequested, &msgCenter(), &UIMessageCenter::slt ShowHelpHelpDialog);1691 connect(m_pButtonBox, &QIDialogButtonBox::helpRequested, &msgCenter(), &UIMessageCenter::sltHandleHelpRequest); 1692 1692 connect(m_pButtonBox, &QIDialogButtonBox::rejected, this, &UIExtraDataManagerWindow::close); 1693 1693 /* Add button-box into main layout: */ -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UICommon.cpp
r99880 r99929 2377 2377 QString UICommon::helpFile() 2378 2378 { 2379 #if defined (VBOX_WITH_DOCS_QHELP)2380 2379 const QString strName = "UserManual"; 2381 2380 const QString strSuffix = "qhc"; 2382 #else 2383 #if defined(VBOX_WS_WIN) 2384 const QString strName = "VirtualBox"; 2385 const QString strSuffix = "chm"; 2386 #elif defined(VBOX_WS_MAC) 2387 const QString strName = "UserManual"; 2388 const QString strSuffix = "pdf"; 2389 #elif defined(VBOX_WS_X11) 2390 //# if defined(VBOX_OSE) || !defined(VBOX_WITH_KCHMVIEWER) 2391 const QString strName = "UserManual"; 2392 const QString strSuffix = "pdf"; 2393 #endif 2394 #endif 2381 2395 2382 /* Where are the docs located? */ 2396 2383 char szDocsPath[RTPATH_MAX]; -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.cpp
r99910 r99929 2135 2135 { 2136 2136 /* First open or show the help browser: */ 2137 sltShowUserManual(uiCommon().helpFile());2137 checkManualFileAndShow(); 2138 2138 /* Show the help page for the @p strHelpKeyword: */ 2139 if (m_pHelpBrowserDialog )2139 if (m_pHelpBrowserDialog && !strHelpKeyword.isEmpty()) 2140 2140 m_pHelpBrowserDialog->showHelpForKeyword(strHelpKeyword); 2141 2141 } 2142 2142 2143 void UIMessageCenter:: sltShowHelpHelpDialog()2143 void UIMessageCenter::checkManualFileAndShow() 2144 2144 { 2145 2145 #ifndef VBOX_OSE -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.h
r99904 r99929 465 465 void sltShowOnlineDocumentation(); 466 466 void sltShowHelpAboutDialog(); 467 void sltShowHelpHelpDialog();468 467 void sltResetSuppressedMessages(); 469 468 void sltShowUserManual(const QString &strHelpFilePath); … … 526 525 const QString &strAutoConfirmId, const QString &strHelpKeyword) const; 527 526 527 /// @todo move it away .. 528 void checkManualFileAndShow(); 529 528 530 /** Holds the list of shown warnings. */ 529 531 mutable QStringList m_warnings; -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.cpp
r99561 r99929 1087 1087 * in manager and runtime UI: */ 1088 1088 connect(actionPool()->action(UIActionIndex_Simple_Contents), &UIAction::triggered, 1089 &msgCenter(), &UIMessageCenter::slt ShowHelpHelpDialog);1089 &msgCenter(), &UIMessageCenter::sltHandleHelpRequest); 1090 1090 1091 1091 #ifdef VBOX_WITH_DEBUGGER_GUI
Note:
See TracChangeset
for help on using the changeset viewer.