39 #ifndef __OPENFLUID_UIWARESDEV_WARESRCWIDGET_HPP__ 40 #define __OPENFLUID_UIWARESDEV_WARESRCWIDGET_HPP__ 55 namespace openfluid {
namespace ui {
namespace waresdev {
59 class TextEditMsgStream;
72 void onCurrentTabChanged(
int Index);
74 void onProcessFinished();
86 void updateWareOptions();
91 Ui::WareSrcWidget* ui;
98 QMap<QString, WareFileEditor*> m_WareFilesByPath;
106 void addNewFileTab(
int Index,
const QString& AbsolutePath,
const QString& TabLabel,
const QString& TabTooltip =
"");
114 void clearEditorsMessages();
119 bool eventFilter(QObject* Obj, QEvent* Event);
128 void currentTabChanged(
const QString& Path);
130 void findReplaceRequested();
132 void openTerminalRequested();
134 void openExplorerRequested();
136 void modifiedStatusChanged(
bool CurrentEditorModified,
bool WareModified);
138 void openAPIDocRequested();
155 void setBuildJobs(
unsigned int Jobs);
163 void saveCurrentEditor();
165 void saveAllFileTabs();
167 int closeCurrentEditor(
bool WithConfirm =
true);
169 int onCloseFileTabRequested(
int Index,
bool WithConfirm =
true);
173 void deleteCurrentFile();
182 QString saveAs(
const QString& TopDirectory =
"");
199 QWidget* Parent =
nullptr);
205 void openDefaultFiles();
217 bool isWareModified();
219 bool isWareProcessRunning()
const;
221 void closeAllFileTabs();
225 QString getCurrentFilePath();
227 int closeFileTab(
const QString& Path);
229 void checkModifiedStatus();
231 void updateEditorsSettings();
Definition: WareSrcContainer.hpp:58
BuildMode
Definition: WareSrcContainer.hpp:69
ConfigMode
Definition: WareSrcContainer.hpp:64
Definition: WareSrcWidget.hpp:63
Definition: WareSrcManager.hpp:65
Definition: WareSrcToolbar.hpp:54
WareType
Definition: TypeDefs.hpp:60
Definition: ApplicationException.hpp:47
Definition: WareFileEditor.hpp:54
Definition: AboutDialog.hpp:50
#define OPENFLUID_API
Definition: dllexport.hpp:86
Definition: TextEditMsgStream.hpp:55
Definition: WareSrcMsgParser.hpp:58