forked from qt-creator/qt-creator
Long overdue changes and refactoring for qemu handling.
Fixes: - react on build/ run configuration changes
- now notices environment changes, like switching Qt versions
- start button is now only shown if we have a valid qemu runtime
- enabled/ disabled state works properly when loading a project
Task-number: QTCREATOR-210, QTCREATORBUG-1252, QTCREATORBUG-1082
Reviewed-by: ck
This commit is contained in:
@@ -54,7 +54,7 @@ class MaemoRunConfigurationWidget : public QWidget
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit MaemoRunConfigurationWidget(MaemoRunConfiguration *runConfiguration,
|
||||
QWidget *parent = 0);
|
||||
QWidget *parent = 0);
|
||||
|
||||
private slots:
|
||||
void configNameEdited(const QString &text);
|
||||
@@ -62,20 +62,14 @@ private slots:
|
||||
void deviceConfigurationChanged(const QString &name);
|
||||
void resetDeviceConfigurations();
|
||||
void showSettingsDialog(const QString &link);
|
||||
|
||||
void updateSimulatorPath();
|
||||
void updateTargetInformation();
|
||||
|
||||
private:
|
||||
void setSimInfoVisible(const MaemoDeviceConfig &devConf);
|
||||
|
||||
QLineEdit *m_configNameLineEdit;
|
||||
QLineEdit *m_argsLineEdit;
|
||||
QLabel *m_executableLabel;
|
||||
QLabel *m_debuggerLabel;
|
||||
QComboBox *m_devConfBox;
|
||||
QLabel *m_simNameLabel;
|
||||
QLabel *m_simValueLabel;
|
||||
MaemoRunConfiguration *m_runConfiguration;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user