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:
kh1
2010-05-20 15:47:42 +02:00
parent 993891fb8b
commit c6fef3ef63
17 changed files with 812 additions and 599 deletions

View File

@@ -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;
};