29 #include "ui_pluginerrorview.h"
32 #include <QtCore/QString>
44 using namespace ExtensionSystem;
75 switch (spec->
state()) {
78 tooltip = tr(
"Description file found, but error on read");
82 tooltip = tr(
"Description successfully read");
85 text = tr(
"Resolved");
86 tooltip = tr(
"Dependencies are successfully resolved");
90 tooltip = tr(
"Library is loaded");
93 text = tr(
"Initialized");
94 tooltip = tr(
"Plugin's initialization method succeeded");
98 tooltip = tr(
"Plugin successfully loaded and running");
101 text = tr(
"Stopped");
102 tooltip = tr(
"Plugin was shut down");
105 text = tr(
"Deleted");
106 tooltip = tr(
"Plugin ended its life cycle and was deleted");
109 m_ui->state->setText(text);
110 m_ui->state->setToolTip(tooltip);
void update(PluginSpec *spec)
QString errorString() const
Contains the information of the plugins xml description file and information about the plugin's curre...
PluginErrorView(QWidget *parent=nullptr)
Widget that displays the state and error message of a PluginSpec.