41 #ifndef __OPENFLUID_UIWARESDEV_WARESRCWIDGETCOLLECTION_HPP__
42 #define __OPENFLUID_UIWARESDEV_WARESRCWIDGETCOLLECTION_HPP__
48 #include <QTextDocument>
66 namespace ui {
namespace waresdev {
69 class FindReplaceDialog;
81 void onCloseWareTabRequested(
int Index);
83 void onCurrentTabChanged(
int Index);
86 const QString& StringForReplace, QTextDocument::FindFlags Options);
88 void checkModifiedStatus();
101 QTabWidget* mp_TabWidget;
110 QMap<QString, WareSrcWidget*> m_WareSrcWidgetByPath;
114 unsigned int m_DefaultBuildJobs;
120 bool isModified()
const;
122 bool isProcessRunning()
const;
135 void currentTabChanged(
const QString& Path);
137 void modifiedStatusChanged(
bool CurrentEditorModified,
bool CurrentWareModified);
150 bool openPath(
const QString& Path);
152 void setCurrent(
const QString& Path);
154 QString getContextualPath(
const QString& Path);
156 void openExplorerAtWarePath();
158 void openExplorer(
const QString& Path =
"");
160 void openTerminalAtWarePath();
162 void openTerminal(
const QString& Path =
"");
164 void openExternalTool(
const QString& Command,
const QString& Path =
"");
170 void setBuildJobs(
unsigned int Jobs);
178 void saveCurrentEditor();
180 void saveAsMayBeAboveWare();
187 QString saveAs(
const QString& TopDirectory =
"");
189 void saveAllCurrent();
191 void closeCurrentEditor();
195 void openSimulator();
199 void openBuilderExtension();
203 void deleteCurrentFile();
211 void newBuilderExtension();
213 void showFindReplaceDialog();
225 void closeEditor(
const QString& FilePath);
227 void updateEditorsSettings();
239 bool closeAllWidgets();
241 QStringList getOpenWarePaths();
243 QString getCurrentWarePath();
247 bool isBuildNoInstallMode();
249 void deleteWare(
const QString& WarePath);