diff options
-rw-r--r-- | src/defs_urls.h | 2 | ||||
-rw-r--r-- | src/preferences/dialog/dlgpreflibrary.cpp | 14 | ||||
-rw-r--r-- | src/preferences/dialog/dlgpreflibrarydlg.ui | 10 |
3 files changed, 26 insertions, 0 deletions
diff --git a/src/defs_urls.h b/src/defs_urls.h index 6f1a1b155a..f61dcd0ac7 100644 --- a/src/defs_urls.h +++ b/src/defs_urls.h @@ -65,5 +65,7 @@ MIXXX_MANUAL_URL "/chapters/vinyl_control.html#configuring-vinyl-control" #define MIXXX_MANUAL_VINYL_TROUBLESHOOTING_URL \ MIXXX_MANUAL_URL "/chapters/vinyl_control.html#troubleshooting" +#define MIXXX_MANUAL_SETTINGS_DIRECTORY_URL \ + MIXXX_MANUAL_URL "/chapters/appendix.html#settings-directory" #define MIXXX_MANUAL_FILENAME "Mixxx-Manual.pdf" #define MIXXX_KBD_SHORTCUTS_FILENAME "Mixxx-Keyboard-Shortcuts.pdf" diff --git a/src/preferences/dialog/dlgpreflibrary.cpp b/src/preferences/dialog/dlgpreflibrary.cpp index cf7b43dac8..58d3076703 100644 --- a/src/preferences/dialog/dlgpreflibrary.cpp +++ b/src/preferences/dialog/dlgpreflibrary.cpp @@ -11,6 +11,7 @@ #include <QStringList> #include <QUrl> +#include "defs_urls.h" #include "library/dlgtrackmetadataexport.h" #include "library/library.h" #include "library/library_prefs.h" @@ -110,6 +111,19 @@ DlgPrefLibrary::DlgPrefLibrary( #endif builtInFormats->setText(builtInFormatsStr); + // Create text color manual links + createLinkColor(); + // Add link to the manual where configuration files are explained in detail + label_settingsManualLink->setText(coloredLinkString( + m_pLinkColor, + tr("See the manual for details"), + MIXXX_MANUAL_SETTINGS_DIRECTORY_URL)); + connect(label_settingsManualLink, + &QLabel::linkActivated, + [](const QString& url) { + QDesktopServices::openUrl(url); + }); + connect(checkBox_SyncTrackMetadataExport, &QCheckBox::toggled, this, diff --git a/src/preferences/dialog/dlgpreflibrarydlg.ui b/src/preferences/dialog/dlgpreflibrarydlg.ui index 76ba872c91..d0da4273eb 100644 --- a/src/preferences/dialog/dlgpreflibrarydlg.ui +++ b/src/preferences/dialog/dlgpreflibrarydlg.ui @@ -397,6 +397,16 @@ </widget> </item> <item> + <widget class="QLabel" name="label_settingsManualLink"> + <property name="text"> + <string></string> + </property> + <property name="wordWrap"> + <bool>true</bool> + </property> + </widget> + </item> + <item> <widget class="QLabel" name="label_settingsWarning"> <property name="text"> <string>Edit those files only if you know what you are doing and only while Mixxx is not running.</string> |