Files
Sourcetrail/src/lib_gui/qt/window/project_wizzard/QtProjectWizzardContentCrossCompilationOptions.h
T
mlangkabel c65a5d04b1 logic: cleaned up code for SourceGroupSettings and Wizzard
* Flattened sourcegroupsettings class hierarchy by moving cross compilation options to own base class
* QtProjectWizzardContentFlags constructor required correct settings object to reduce the need for type casting
* QtProjectWizzardContentPath constructors required correct settings objects
* moved SourcePaths from SourceGroupSettingsJava to SourceGroupSettingsJavaEmpty because they are not required for Gradle and Maven projects
* removed classpath from maven and gradle source group settings
* reuse code of SourceGroup for "show source files" in wizard
2018-06-12 21:16:51 +02:00

42 lines
1.1 KiB
C++

#ifndef QT_PROJECT_WIZZARD_CONTENT_CROSS_COMPILATION_OPTIONS
#define QT_PROJECT_WIZZARD_CONTENT_CROSS_COMPILATION_OPTIONS
#include "qt/window/project_wizzard/QtProjectWizzardContent.h"
class QCheckBox;
class QComboBox;
class QLabel;
class SourceGroupSettingsWithCxxCrossCompilationOptions;
class QtProjectWizzardContentCrossCompilationOptions
: public QtProjectWizzardContent
{
Q_OBJECT
public:
QtProjectWizzardContentCrossCompilationOptions(
std::shared_ptr<SourceGroupSettingsWithCxxCrossCompilationOptions> sourceGroupSettings,
QtProjectWizzardWindow* window);
// QtProjectWizzardContent implementation
virtual void populate(QGridLayout* layout, int& row) override;
virtual void load() override;
virtual void save() override;
virtual bool check() override;
private:
void onUseTargetOptionsChanged();
void updateTargetOptionsEnabled();
std::shared_ptr<SourceGroupSettingsWithCxxCrossCompilationOptions> m_sourceGroupSettings;
QCheckBox* m_useTargetOptions;
QComboBox* m_arch;
QComboBox* m_vendor;
QComboBox* m_sys;
QComboBox* m_abi;
};
#endif // QT_PROJECT_WIZZARD_CONTENT_CROSS_COMPILATION_OPTIONS