12 #include <OpenMS/VISUAL/OpenMS_GUIConfig.h>
21 #include <QtWidgets/QButtonGroup>
22 #include <QtWidgets/QMainWindow>
23 #include <QtWidgets/QMdiArea>
24 #include <QtNetwork/QNetworkReply>
25 #include <QtWidgets/QSplashScreen>
34 class QTreeWidgetItem;
36 class QNetworkAccessManager;
41 class EnhancedWorkSpace;
46 class TOPPASResources;
71 void loadPreferences(
String filename =
"");
73 void savePreferences();
75 void loadFiles(
const std::vector<String>& list, QSplashScreen* splash_screen);
79 void addTOPPASFile(
const String& file_name,
bool in_new_window =
true);
81 void openFilesByDialog();
83 void openExampleDialog();
87 void includePipeline();
89 void saveCurrentPipelineAs();
95 void loadPipelineResourceFile();
97 void savePipelineResourceFile();
99 void openOnlinePipelineRepository();
101 void preferencesDialog();
103 void updateCurrentPath();
105 void updateTabBar(QMdiSubWindow* w);
107 void showAboutDialog();
116 void showStatusMessage(
const std::string& msg,
OpenMS::UInt time);
118 void showCursorStatus(
double x,
double y);
122 void updateToolBar();
126 void abortPipeline();
136 void outputVertexFinished(
const String& file);
138 void updateTOPPOutputLog(
const QString& out);
140 void showPipelineFinishedLogMessage();
144 void sendClipboardContent();
146 void refreshParameters();
148 void openFilesInTOPPView(QStringList all_files);
150 void openToppasFile(
const QString& filename);
157 void closeByTab(
int id);
159 void focusByTab(
int id);
167 void insertNewVertex_(
double x,
double y, QTreeWidgetItem* item =
nullptr);
169 void insertNewVertexInCenter_(QTreeWidgetItem* item);
172 void downloadTOPPASfromHomepage_(
const QUrl& url);
174 void toppasFileDownloaded_(QNetworkReply* r);
176 void TOPPASreadyRead();
179 void descriptionUpdated_();
244 void closeEvent(QCloseEvent* event)
override;
245 void keyPressEvent(QKeyEvent* e)
override;
260 static QString savePipelineAs(
TOPPASWidget* w,
const QString& current_path);
263 static QString loadPipelineResourceFile(
TOPPASWidget* w,
const QString& current_path);
266 static QString savePipelineResourceFile(
TOPPASWidget* w,
const QString& current_path);
269 static QString refreshPipelineParameters(
TOPPASWidget* tw, QString current_path);
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:66
Convenience tab bar implementation.
Definition: EnhancedTabBar.h:36
Definition: EnhancedWorkspace.h:27
A log window (QTextEdit) with convenience functions.
Definition: LogWindow.h:29
A more convenient string class.
Definition: String.h:34
Main window of the TOPPAS tool.
Definition: TOPPASBase.h:56
QTreeWidget * tools_tree_view_
Tree view of all available TOPP tools.
Definition: TOPPASBase.h:211
QTextEdit * desc_
Workflow Description window.
Definition: TOPPASBase.h:186
EnhancedTabBar * tab_bar_
Tab bar. The address of the corresponding window to a tab is stored as an int in tabData()
Definition: TOPPASBase.h:208
static int node_offset_
Offset counter for new inserted nodes (to avoid invisible stacking)
Definition: TOPPASBase.h:234
QNetworkAccessManager * network_manager_
download .toppas files from homepage
Definition: TOPPASBase.h:203
QListWidget * blocks_list_
List of ready analysis pipelines.
Definition: TOPPASBase.h:213
QWebView * webview_
OpenMS homepage workflow browser.
Definition: TOPPASBase.h:201
QNetworkReply * network_reply_
the content of the network request
Definition: TOPPASBase.h:205
EnhancedWorkspace * ws_
Main workspace.
Definition: TOPPASBase.h:198
static qreal z_value_
z-value counter for new inserted nodes (new nodes should be on top)
Definition: TOPPASBase.h:237
String tmp_path_
The path for temporary files.
Definition: TOPPASBase.h:231
QLabel * message_label_
Label for messages in the status bar.
Definition: TOPPASBase.h:219
QToolBar * tool_bar_
Definition: TOPPASBase.h:191
RecentFilesMenu recent_files_menu_
manages recent list of filenames and the menu that goes with it
Definition: TOPPASBase.h:195
String current_path_
Definition: TOPPASBase.h:228
TOPPASScene * clipboard_scene_
The clipboard.
Definition: TOPPASBase.h:249
LogWindow * log_
Log output window.
Definition: TOPPASBase.h:184
A container for all visual items of a TOPPAS workflow.
Definition: TOPPASScene.h:61
Tree view implementation for the list of TOPP tools.
Definition: TOPPASTreeView.h:30
unsigned int UInt
Unsigned integer type.
Definition: Types.h:68
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22