Enable animations throughout the user interface.
", layout, row); + // built-in types + m_showBuiltinTypes = addCheckBox("Built-in Types", "Show built-in types in graph when referenced", + "Enable display of referenced built-in types in the graph view.
", layout, row); + // logging m_loggingEnabled = addCheckBox("Logging", "Enable console and file logging", "Show logs in the console and save this information in files.
", layout, row); @@ -155,7 +159,7 @@ void QtProjectWizzardContentPreferences::populate(QGridLayout* layout, int& row) addLabelAndWidget("Indexer Threads", threadsWidget, layout, row, Qt::AlignLeft); addHelpButton( - "Indexer Threads", + "Indexer Threads", "Set the number of threads used to work on indexing your project in parallel.
" "When setting this value to 0 Sourcetrail tries to use the ideal thread count for your computer.
", layout, row @@ -246,7 +250,7 @@ void QtProjectWizzardContentPreferences::populate(QGridLayout* layout, int& row) layout->addWidget(label, row, QtProjectWizzardWindow::FRONT_COL, Qt::AlignTop); addHelpButton( - "JRE System Library", + "JRE System Library", "Only required for indexing Java projects.
" "Add the jar files of your JRE System Library. These jars can be found inside your JRE install directory.
", layout, row); @@ -276,7 +280,7 @@ void QtProjectWizzardContentPreferences::populate(QGridLayout* layout, int& row) addLabelAndWidget("Maven Path", m_mavenPath, layout, row); addHelpButton( - "Maven Path", + "Maven Path", "Only required for indexing projects using Maven.
" "Provide the location of your installed Maven executable. You can also use the auto detection below.
" , layout, row @@ -317,6 +321,7 @@ void QtProjectWizzardContentPreferences::load() } m_useAnimations->setChecked(appSettings->getUseAnimations()); + m_showBuiltinTypes->setChecked(appSettings->getShowBuiltinTypesInGraph()); m_loggingEnabled->setChecked(appSettings->getLoggingEnabled()); m_verboseIndexerLoggingEnabled->setChecked(appSettings->getVerboseIndexerLoggingEnabled()); @@ -364,6 +369,7 @@ void QtProjectWizzardContentPreferences::save() m_oldColorSchemeIndex = -1; appSettings->setUseAnimations(m_useAnimations->isChecked()); + appSettings->setShowBuiltinTypesInGraph(m_showBuiltinTypes->isChecked()); appSettings->setLoggingEnabled(m_loggingEnabled->isChecked()); appSettings->setVerboseIndexerLoggingEnabled(m_verboseIndexerLoggingEnabled->isChecked()); diff --git a/src/lib_gui/qt/window/project_wizzard/QtProjectWizzardContentPreferences.h b/src/lib_gui/qt/window/project_wizzard/QtProjectWizzardContentPreferences.h index 8d3fad68..75acd063 100644 --- a/src/lib_gui/qt/window/project_wizzard/QtProjectWizzardContentPreferences.h +++ b/src/lib_gui/qt/window/project_wizzard/QtProjectWizzardContentPreferences.h @@ -64,6 +64,8 @@ private: int m_newColorSchemeIndex; QCheckBox* m_useAnimations; + QCheckBox* m_showBuiltinTypes; + QCheckBox* m_loggingEnabled; QCheckBox* m_verboseIndexerLoggingEnabled;