ProjectExplorerPlugin Class

(ProjectExplorer::ProjectExplorerPlugin)

The ProjectExplorerPlugin class contains static accessor and utility functions to obtain the current project, open projects, and so on. More...

Header: #include <ProjectExplorerPlugin>
Inherits: ExtensionSystem::IPlugin

Public Types

Public Functions

Static Public Members

bool canRunStartupProject(Core::Id runMode, QString *whyNot = nullptr)
ProjectExplorerPlugin *instance()
bool isProjectFile(const Utils::FileName &filePath)
OpenProjectResult openProject(const QString &fileName)
void openProjectWelcomePage(const QString &fileName)
OpenProjectResult openProjects(const QStringList &fileNames)
const Internal::ProjectExplorerSettings &projectExplorerSettings()
QStringList projectFilePatterns()
QList<QPair<QString, QString> > recentProjects()
void renameFile(Node *node, const QString &newFilePath)
void runProject(Project *pro, Core::Id, const bool forceSkipDeploy = false)
void runRunConfiguration(RunConfiguration *rc, Core::Id runMode, const bool forceSkipDeploy = false)
void runStartupProject(Core::Id runMode, bool forceSkipDeploy = false)
bool saveModifiedFiles()
void setProjectExplorerSettings(const Internal::ProjectExplorerSettings &pes)
void showContextMenu(QWidget *view, const QPoint &globalPos, Node *node)
void showOpenProjectError(const OpenProjectResult &result)
void showRunErrorMessage(const QString &errorMessage)
void startRunControl(RunControl *runControl)
void unloadProject(Project *project)
  • 10 static public members inherited from QObject

Additional Inherited Members

Detailed Description

The ProjectExplorerPlugin class contains static accessor and utility functions to obtain the current project, open projects, and so on.

Member Function Documentation

ProjectExplorerPlugin::ProjectExplorerPlugin()

Default constructs an instance of ProjectExplorerPlugin.

[static] bool ProjectExplorerPlugin::canRunStartupProject(Core::Id runMode, QString *whyNot = nullptr)

[static] ProjectExplorerPlugin *ProjectExplorerPlugin::instance()

[static] bool ProjectExplorerPlugin::isProjectFile(const Utils::FileName &filePath)

[static] OpenProjectResult ProjectExplorerPlugin::openProject(const QString &fileName)

[static] void ProjectExplorerPlugin::openProjectWelcomePage(const QString &fileName)

[static] OpenProjectResult ProjectExplorerPlugin::openProjects(const QStringList &fileNames)

[static] const Internal::ProjectExplorerSettings &ProjectExplorerPlugin::projectExplorerSettings()

See also setProjectExplorerSettings().

[static] QStringList ProjectExplorerPlugin::projectFilePatterns()

[static] QList<QPair<QString, QString> > ProjectExplorerPlugin::recentProjects()

[static] void ProjectExplorerPlugin::renameFile(Node *node, const QString &newFilePath)

[static] void ProjectExplorerPlugin::runProject(Project *pro, Core::Id, const bool forceSkipDeploy = false)

[static] void ProjectExplorerPlugin::runRunConfiguration(RunConfiguration *rc, Core::Id runMode, const bool forceSkipDeploy = false)

[static] void ProjectExplorerPlugin::runStartupProject(Core::Id runMode, bool forceSkipDeploy = false)

[static] bool ProjectExplorerPlugin::saveModifiedFiles()

[static] void ProjectExplorerPlugin::setProjectExplorerSettings(const Internal::ProjectExplorerSettings &pes)

See also projectExplorerSettings().

[static] void ProjectExplorerPlugin::showContextMenu(QWidget *view, const QPoint &globalPos, Node *node)

[static] void ProjectExplorerPlugin::showOpenProjectError(const OpenProjectResult &result)

[static] void ProjectExplorerPlugin::showRunErrorMessage(const QString &errorMessage)

[static] void ProjectExplorerPlugin::startRunControl(RunControl *runControl)

[static] void ProjectExplorerPlugin::unloadProject(Project *project)