22 #ifndef CTKCLIPLUGINEXPLORERMAINWINDOW_H 23 #define CTKCLIPLUGINEXPLORERMAINWINDOW_H 30 #include <QMainWindow> 32 #include <QFutureWatcher> 41 class ctkCmdLineModuleExplorerMainWindow;
56 void addModule(
const QUrl &location);
60 void closeEvent(QCloseEvent* event);
64 void on_actionRun_triggered();
65 void on_actionPause_toggled(
bool toggled);
66 void on_actionCancel_triggered();
67 void on_actionOptions_triggered();
68 void on_actionLoad_triggered();
69 void on_actionQuit_triggered();
71 void on_actionReset_triggered();
72 void on_actionClear_Cache_triggered();
73 void on_actionReload_Modules_triggered();
75 void checkModulePaused();
76 void currentModuleResumed();
77 void currentModuleCanceled();
78 void currentModuleFinished();
81 void checkXMLPressed();
85 QScopedPointer<Ui::ctkCmdLineModuleExplorerMainWindow> ui;
86 QScopedPointer<ctkCmdLineModuleExplorerTabList> tabList;
94 QTimer pollPauseTimer;
95 QFutureWatcher<ctkCmdLineModuleResult> currentFutureWatcher;
105 #endif // CTKCLIPLUGINEXPLORERMAINWINDOW_H Describes a reported result of a command line module.
Abstract base class for all front-end command line module implementations.A module front-end represen...
Provides directory scanning and file watching via QFileSystemWatcher to automatically load new module...
Factory class to create new front-ends.Front-end implementors are advised to create and export a sub-...
Provides a ctkCmdLineModuleBackend implementation to pretend to run a command line process...
Main manager class to handle loading and unloading of modules.
Example application tab list.
Defines a reference or handle to a module, including location, XML, description and access to the ass...
Example application main window.