10#include <QFileSystemWatcher>
42 void syncApplicationList(QString selectNodeForEditing =
"",
bool open =
false);
43 bool loadRecursiveTemplates(
const char* szPath);
44 bool loadRecursiveApplications(
const char* szPath);
45 bool initializeFile(std::string _class);
46 int getAppTabIndex(QString appName);
47 QString getAppNameFromXml(QString fileName);
54 QString currentAppName;
55 QString currentAppDescription;
56 QString currentAppVersion;
57 QStringList listOfAppFiles;
59 QFileSystemWatcher* watcher;
62 QToolBar *builderToolBar;
65 std::string ext_editor;
79 void onNewApplication();
81 void onRun(
bool onlySelected=
false);
82 void onStop(
bool onlySelected=
false);
83 void onKill(
bool onlySelected=
false);
84 void onConnect(
bool onlySelected=
false);
85 void onDisconnect(
bool onlySelected=
false);
87 void onStopSelected();
88 void onKillSelected();
89 void onConnectSelected();
90 void onDisconnectSelected();
94 void onLogError(QString);
95 void onLogWarning(QString);
96 void onLogMessage(QString);
99 void onWizardError(QString);
101 void onModified(
bool);
102 void onFileChanged(
const QString & path);
104 void onYarpNameList();
void onReopenApplication(QString, QString)
void init(yarp::os::Property config)
Init the application with the current configuration.
void onReopenModule(QString, QString)
void viewApplication(yarp::manager::Application *app, bool editingMode)
Load the Application on the MainWindow.
void closeEvent(QCloseEvent *) override
void onTabChangeItem(int)
Called when a tab has been pressed.
void viewModule(yarp::manager::Module *)
Load the Module on the MainWindow.
MainWindow(QWidget *parent=0)
void selectItem(QString, bool)
void onApplicationSelectionChanged()
void onRemoveResource(QString)
void onRemoveApplication(QString, QString)
void onReopenResource(QString, QString)
void onRemoveModule(QString)
void reportErrors()
Reports tge error on the log window.
void viewResource(yarp::manager::Computer *res)
Load the Resource on the MainWindow.
A class for storing options and configuration information.