* added classes for loading a Sonargraph project * added Sonargraph options to project setup wizard * added test for generating indexer commands from Sonargraph modules * fixed sqlite storage crashing in constructor when parent directory of provided path does not exist * removed unused FileRegister from Java indexing * removed unused info from IndexerCommandJava * refactored loading and saving of SourceGroupSettings * extracted sourcepaths settings to own class that can be re-used * merged CDB wizard contentents for source file and indexed paths * unified wizard content for sonargraph project path * removed include filters from default source groups * extracted generation of RefreshInfo from Project to RefreshInfoGenerator * added tests for RefreshInfoGenerator * added language and standard selection to sonargraph project setup * added auto-detection for indexed header paths of sonargraph cmake json modules * Sonargraph::Project can enable/disable support for specific modules * warn if sonargraph project contains no matching modules * indexed headers can be detected from sonargraph project
34 lines
833 B
C++
34 lines
833 B
C++
#ifndef QT_PROJECT_WIZZARD_CONTENT_LANGUAGE_AND_STANDARD
|
|
#define QT_PROJECT_WIZZARD_CONTENT_LANGUAGE_AND_STANDARD
|
|
|
|
#include "qt/window/project_wizzard/QtProjectWizzardContent.h"
|
|
|
|
class QComboBox;
|
|
class QLabel;
|
|
class SourceGroupSettings;
|
|
|
|
class QtProjectWizzardContentLanguageAndStandard
|
|
: public QtProjectWizzardContent
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
QtProjectWizzardContentLanguageAndStandard(
|
|
std::shared_ptr<SourceGroupSettings> sourceGroupSettings,
|
|
QtProjectWizzardWindow* window);
|
|
|
|
// QtProjectWizzardContent implementation
|
|
virtual void populate(QGridLayout* layout, int& row) override;
|
|
|
|
virtual void load() override;
|
|
virtual void save() override;
|
|
|
|
private:
|
|
std::shared_ptr<SourceGroupSettings> m_sourceGroupSettings;
|
|
|
|
QLabel* m_language;
|
|
QComboBox* m_standard;
|
|
};
|
|
|
|
#endif // QT_PROJECT_WIZZARD_CONTENT_LANGUAGE_AND_STANDARD
|