Changeset 99860 in vbox
- Timestamp:
- May 19, 2023 2:47:15 PM (21 months ago)
- Location:
- trunk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r99859 r99860 794 794 if1of ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH), darwin.arm64) 795 795 VBOX_WITH_QT6 := 1 796 endif 797 # Enable the QHelp based help function in UI. 798 if1of ($(KBUILD_TARGET), darwin linux solaris win) 799 VBOX_WITH_QHELP_VIEWER = 1 796 800 endif 797 801 # VBox Ballooning Control frontend. … … 7753 7757 endif # linux freebsd netbsd openbsd solaris win 7754 7758 7755 ifdef VBOX_WITH_ DOCS_QHELP7759 ifdef VBOX_WITH_QHELP_VIEWER 7756 7760 ifeq ($(KBUILD_TARGET),darwin) 7757 7761 VBOX_QT_MOD += QtHelp QtNetwork QtSql -
trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk
r99859 r99860 263 263 $(if $(VBOX_GUI_WITH_CUSTOMIZATIONS1),VBOX_GUI_WITH_CUSTOMIZATIONS1) \ 264 264 $(if $(VBOX_WITH_RAW_MODE),VBOX_WITH_RAW_MODE) \ 265 $(if $(VBOX_WITH_ DOCS_QHELP),VBOX_WITH_DOCS_QHELP) \265 $(if $(VBOX_WITH_QHELP_VIEWER),VBOX_WITH_QHELP_VIEWER) \ 266 266 $(if $(VBOX_WITH_SCREENSAVER_CONTROL),VBOX_WITH_SCREENSAVER_CONTROL) \ 267 267 $(if $(VBOX_WITH_SDS),VBOX_WITH_SDS,) \ … … 1031 1031 src/wizards/newvd/UIWizardNewVDExpertPage.h 1032 1032 1033 ifdef VBOX_WITH_ DOCS_QHELP1033 ifdef VBOX_WITH_QHELP_VIEWER 1034 1034 UICommon_QT_MOCHDRS += \ 1035 1035 src/helpbrowser/UIHelpViewer.h \ … … 1144 1144 src/widgets/UIToolBox.cpp 1145 1145 1146 ifdef VBOX_WITH_ DOCS_QHELP1146 ifdef VBOX_WITH_QHELP_VIEWER 1147 1147 UICommon_QT_MOCSRCS += \ 1148 1148 src/helpbrowser/UIHelpViewer.cpp \ … … 1624 1624 src/wizards/newvd/UIWizardNewVDExpertPage.cpp 1625 1625 1626 ifdef VBOX_WITH_ DOCS_QHELP1626 ifdef VBOX_WITH_QHELP_VIEWER 1627 1627 UICommon_SOURCES += \ 1628 1628 src/helpbrowser/UIHelpViewer.cpp \ … … 1770 1770 endif 1771 1771 1772 ifdef VBOX_WITH_ DOCS_QHELP1772 ifdef VBOX_WITH_QHELP_VIEWER 1773 1773 UICommon_QT_MODULES += Help 1774 1774 endif -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UICommon.cpp
r99859 r99860 2377 2377 QString UICommon::helpFile() 2378 2378 { 2379 #if defined (VBOX_WITH_ DOCS_QHELP)2379 #if defined (VBOX_WITH_QHELP_VIEWER) 2380 2380 const QString strName = "UserManual"; 2381 2381 const QString strSuffix = "qhc"; -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.cpp
r99859 r99860 2144 2144 { 2145 2145 Q_UNUSED(strLocation); 2146 #if defined (VBOX_WITH_ DOCS_QHELP)2146 #if defined (VBOX_WITH_QHELP_VIEWER) 2147 2147 showHelpBrowser(strLocation); 2148 2148 #else … … 2173 2173 void UIMessageCenter::sltHandleHelpRequest() 2174 2174 { 2175 #if defined(VBOX_WITH_ DOCS_QHELP)2175 #if defined(VBOX_WITH_QHELP_VIEWER) 2176 2176 sltHandleHelpRequestWithKeyword(uiCommon().helpKeyword(sender())); 2177 2177 #endif /* #if (QT_VERSION >= QT_VERSION_CHECK(5, 9, 0))&& (QT_VERSION >= QT_VERSION_CHECK(5, 9, 0)) */ … … 2180 2180 void UIMessageCenter::sltHandleHelpRequestWithKeyword(const QString &strHelpKeyword) 2181 2181 { 2182 #if defined(VBOX_WITH_ DOCS_QHELP)2182 #if defined(VBOX_WITH_QHELP_VIEWER) 2183 2183 /* First open or show the help browser: */ 2184 2184 showHelpBrowser(uiCommon().helpFile()); … … 2378 2378 { 2379 2379 Q_UNUSED(pParent); 2380 #if defined(VBOX_WITH_ DOCS_QHELP)2380 #if defined(VBOX_WITH_QHELP_VIEWER) 2381 2381 if (!QFileInfo(strHelpFilePath).exists()) 2382 2382 { -
trunk/src/VBox/Frontends/VirtualBox/src/helpbrowser/UIHelpBrowserDialog.cpp
r99859 r99860 72 72 void UIHelpBrowserDialog::showHelpForKeyword(const QString &strKeyword) 73 73 { 74 #ifdef VBOX_WITH_ DOCS_QHELP74 #ifdef VBOX_WITH_QHELP_VIEWER 75 75 if (m_pWidget) 76 76 m_pWidget->showHelpForKeyword(strKeyword); … … 82 82 void UIHelpBrowserDialog::retranslateUi() 83 83 { 84 #ifdef VBOX_WITH_ DOCS_QHELP84 #ifdef VBOX_WITH_QHELP_VIEWER 85 85 setWindowTitle(UIHelpBrowserWidget::tr("Oracle VM VirtualBox User Manual")); 86 86 #endif … … 119 119 void UIHelpBrowserDialog::prepareCentralWidget() 120 120 { 121 #ifdef VBOX_WITH_ DOCS_QHELP121 #ifdef VBOX_WITH_QHELP_VIEWER 122 122 m_pWidget = new UIHelpBrowserWidget(EmbedTo_Dialog, m_strHelpFilePath); 123 123 AssertPtrReturnVoid(m_pWidget); -
trunk/src/VBox/Frontends/VirtualBox/src/helpbrowser/UIHelpBrowserWidget.cpp
r99859 r99860 30 30 #include <QComboBox> 31 31 #include <QtGlobal> 32 #ifdef VBOX_WITH_ DOCS_QHELP32 #ifdef VBOX_WITH_QHELP_VIEWER 33 33 # include <QtHelp/QHelpEngine> 34 34 # include <QtHelp/QHelpContentWidget> … … 70 70 #include "CSystemProperties.h" 71 71 72 #ifdef VBOX_WITH_ DOCS_QHELP72 #ifdef VBOX_WITH_QHELP_VIEWER 73 73 74 74 enum HelpBrowserTabs … … 2275 2275 #include "UIHelpBrowserWidget.moc" 2276 2276 2277 #endif /*#ifdef VBOX_WITH_ DOCS_QHELP*/2277 #endif /*#ifdef VBOX_WITH_QHELP_VIEWER*/ -
trunk/src/VBox/Frontends/VirtualBox/src/helpbrowser/UIHelpBrowserWidget.h
r99859 r99860 58 58 class UIZoomMenuAction; 59 59 60 #ifdef VBOX_WITH_ DOCS_QHELP60 #ifdef VBOX_WITH_QHELP_VIEWER 61 61 class SHARED_LIBRARY_STUFF UIHelpBrowserWidget : public QIWithRetranslateUI<QWidget> 62 62 { … … 220 220 }; 221 221 222 #endif /* #ifdef VBOX_WITH_ DOCS_QHELP*/222 #endif /* #ifdef VBOX_WITH_QHELP_VIEWER */ 223 223 #endif /* !FEQT_INCLUDED_SRC_helpbrowser_UIHelpBrowserWidget_h */ -
trunk/src/VBox/Frontends/VirtualBox/src/helpbrowser/UIHelpViewer.cpp
r99859 r99860 29 29 #include <QClipboard> 30 30 #include <QtGlobal> 31 #ifdef VBOX_WITH_ DOCS_QHELP31 #ifdef VBOX_WITH_QHELP_VIEWER 32 32 #include <QtHelp/QHelpEngine> 33 33 #include <QtHelp/QHelpContentWidget> … … 64 64 #include "CSystemProperties.h" 65 65 66 #ifdef VBOX_WITH_ DOCS_QHELP66 #ifdef VBOX_WITH_QHELP_VIEWER 67 67 68 68 … … 1070 1070 #include "UIHelpViewer.moc" 1071 1071 1072 #endif /* #ifdef VBOX_WITH_ DOCS_QHELP*/1072 #endif /* #ifdef VBOX_WITH_QHELP_VIEWER */ -
trunk/src/VBox/Frontends/VirtualBox/src/helpbrowser/UIHelpViewer.h
r99859 r99860 44 44 class UIFindInPageWidget; 45 45 46 #ifdef VBOX_WITH_ DOCS_QHELP46 #ifdef VBOX_WITH_QHELP_VIEWER 47 47 48 48 /** A QTextBrowser extension used as poor man's html viewer. Since we were not happy with the quality of QTextBrowser's image … … 172 172 }; 173 173 174 #endif /* #ifdef VBOX_WITH_ DOCS_QHELP*/174 #endif /* #ifdef VBOX_WITH_QHELP_VIEWER */ 175 175 #endif /* !FEQT_INCLUDED_SRC_helpbrowser_UIHelpViewer_h */
Note:
See TracChangeset
for help on using the changeset viewer.