Rework the project settings.

This has still a few missing things, but this enough to start getting
some feedback. Missing are non qt projects, a solution for the
runconfiguration, a missing black line between the treeview on top and
the project settings at the bottom. Some flickering with removing/adding
widgets to the QScrollArea and not showing the expanded widget if the
Details button is right at the bottom.
This commit is contained in:
dt
2009-08-06 15:31:32 +02:00
parent 4e7881577d
commit dbe5a6f34b
43 changed files with 933 additions and 439 deletions

View File

@@ -484,7 +484,7 @@ bool SessionManager::canAddDependency(const Project *project, const Project *dep
return recursiveDependencyCheck(newDep, checkDep);
}
bool SessionManager::addDependency(const Project *project, const Project *depProject)
bool SessionManager::addDependency(Project *project, Project *depProject)
{
const QString &proName = project->file()->fileName();
const QString &depName = depProject->file()->fileName();
@@ -498,11 +498,12 @@ bool SessionManager::addDependency(const Project *project, const Project *depPro
proDeps.append(depName);
m_file->m_depMap[proName] = proDeps;
}
emit dependencyChanged(project, depProject);
return true;
}
void SessionManager::removeDependency(const Project *project, const Project *depProject)
void SessionManager::removeDependency(Project *project, Project *depProject)
{
const QString &proName = project->file()->fileName();
const QString &depName = depProject->file()->fileName();
@@ -514,6 +515,7 @@ void SessionManager::removeDependency(const Project *project, const Project *dep
} else {
m_file->m_depMap[proName] = proDeps;
}
emit dependencyChanged(project, depProject);
}
void SessionManager::setStartupProject(Project *startupProject)