* Turned QtProjectWizzard into window for Source Group ui * Clicking into FilePicker when empty will open dialog right away * Fixed environment variable use throughout all Source Group path values * Moved Preferences to QtPreferencesWindow bug id = 230 fortune cookie message = Zwischen dir und deinen Freunden besteht echte Freundschaft.
39 lines
876 B
C++
39 lines
876 B
C++
#ifndef QT_PROJECT_WIZZARD_CONTENT_SOURCE_GROUP_DATA_H
|
|
#define QT_PROJECT_WIZZARD_CONTENT_SOURCE_GROUP_DATA_H
|
|
|
|
#include "qt/window/project_wizzard/QtProjectWizzardContent.h"
|
|
|
|
class QLineEdit;
|
|
class SourceGroupSettings;
|
|
|
|
class QtProjectWizzardContentSourceGroupData
|
|
: public QtProjectWizzardContent
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
QtProjectWizzardContentSourceGroupData(
|
|
std::shared_ptr<SourceGroupSettings> settings,
|
|
QtProjectWizzardWindow* window);
|
|
|
|
// QtProjectWizzardContent implementation
|
|
virtual void populate(QGridLayout* layout, int& row) override;
|
|
|
|
virtual void load() override;
|
|
virtual void save() override;
|
|
virtual bool check() override;
|
|
|
|
signals:
|
|
void nameUpdated(QString);
|
|
|
|
private slots:
|
|
void editedName(QString name);
|
|
|
|
private:
|
|
std::shared_ptr<SourceGroupSettings> m_settings;
|
|
|
|
QLineEdit* m_name;
|
|
};
|
|
|
|
#endif // QT_PROJECT_WIZZARD_CONTENT_SOURCE_GROUP_DATA_H
|