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>
35 class QTreeWidgetItem;
37 class QNetworkAccessManager;
42 class EnhancedWorkSpace;
47 class TOPPASResources;
72 void loadPreferences(
String filename =
"");
74 void savePreferences();
76 void loadFiles(
const std::vector<String>& list, QSplashScreen* splash_screen);
80 void addTOPPASFile(
const String& file_name,
bool in_new_window =
true);
82 void openFilesByDialog();
84 void openExampleDialog();
88 void includePipeline();
90 void saveCurrentPipelineAs();
96 void loadPipelineResourceFile();
98 void savePipelineResourceFile();
100 void openOnlinePipelineRepository();
102 void preferencesDialog();
104 void updateCurrentPath();
106 void updateTabBar(QMdiSubWindow* w);
108 void showAboutDialog();
117 void showStatusMessage(
const std::string& msg,
OpenMS::UInt time);
119 void showCursorStatus(
double x,
double y);
123 void updateToolBar();
127 void abortPipeline();
137 void outputVertexFinished(
const String& file);
139 void updateTOPPOutputLog(
const QString& out);
141 void showPipelineFinishedLogMessage();
145 void sendClipboardContent();
147 void refreshParameters();
149 void openFilesInTOPPView(QStringList all_files);
151 void openToppasFile(
const QString& filename);
158 void closeByTab(
int id);
160 void focusByTab(
int id);
168 void insertNewVertex_(
double x,
double y, QTreeWidgetItem* item =
nullptr);
170 void insertNewVertexInCenter_(QTreeWidgetItem* item);
173 void downloadTOPPASfromHomepage_(
const QUrl& url);
175 void toppasFileDownloaded_(QNetworkReply* r);
177 void TOPPASreadyRead();
180 void descriptionUpdated_();
232 void filterToolTree_();
252 void closeEvent(QCloseEvent* event)
override;
253 void keyPressEvent(QKeyEvent* e)
override;
268 static QString savePipelineAs(
TOPPASWidget* w,
const QString& current_path);
271 static QString loadPipelineResourceFile(
TOPPASWidget* w,
const QString& current_path);
274 static QString savePipelineResourceFile(
TOPPASWidget* w,
const QString& current_path);
277 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:57
QLineEdit * tools_filter_
Filter for the Tree view.
Definition: TOPPASBase.h:214
QTextEdit * desc_
Workflow Description window.
Definition: TOPPASBase.h:187
QPushButton * tools_collapse_all_
Collapse button for the Tree view.
Definition: TOPPASBase.h:218
EnhancedTabBar * tab_bar_
Tab bar. The address of the corresponding window to a tab is stored as an int in tabData()
Definition: TOPPASBase.h:209
static int node_offset_
Offset counter for new inserted nodes (to avoid invisible stacking)
Definition: TOPPASBase.h:242
QNetworkAccessManager * network_manager_
download .toppas files from homepage
Definition: TOPPASBase.h:204
QListWidget * blocks_list_
List of ready analysis pipelines.
Definition: TOPPASBase.h:220
QWebView * webview_
OpenMS homepage workflow browser.
Definition: TOPPASBase.h:202
TOPPASTreeView * tools_tree_view_
Tree view of all available TOPP tools.
Definition: TOPPASBase.h:212
QNetworkReply * network_reply_
the content of the network request
Definition: TOPPASBase.h:206
EnhancedWorkspace * ws_
Main workspace.
Definition: TOPPASBase.h:199
static qreal z_value_
z-value counter for new inserted nodes (new nodes should be on top)
Definition: TOPPASBase.h:245
String tmp_path_
The path for temporary files.
Definition: TOPPASBase.h:239
QLabel * message_label_
Label for messages in the status bar.
Definition: TOPPASBase.h:226
QToolBar * tool_bar_
Definition: TOPPASBase.h:192
RecentFilesMenu recent_files_menu_
manages recent list of filenames and the menu that goes with it
Definition: TOPPASBase.h:196
String current_path_
Definition: TOPPASBase.h:236
TOPPASScene * clipboard_scene_
The clipboard.
Definition: TOPPASBase.h:257
QPushButton * tools_expand_all_
Expand button for the Tree view.
Definition: TOPPASBase.h:216
LogWindow * log_
Log output window.
Definition: TOPPASBase.h:185
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:64
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19