12#include <OpenMS/VISUAL/OpenMS_GUIConfig.h>
21#include <QtWidgets/QButtonGroup>
22#include <QtWidgets/QMainWindow>
23#include <QtWidgets/QMdiArea>
24#include <QtWidgets/QSplashScreen>
39 class EnhancedWorkSpace;
44 class TOPPASResources;
69 void loadPreferences(std::string filename =
"");
71 void savePreferences();
73 void loadFiles(
const std::vector<std::string>& list, QSplashScreen* splash_screen);
77 void addTOPPASFile(
const std::string& file_name,
bool in_new_window =
true);
79 void openFilesByDialog();
81 void openExampleDialog();
85 void includePipeline();
87 void saveCurrentPipelineAs();
93 void loadPipelineResourceFile();
95 void savePipelineResourceFile();
97 void preferencesDialog();
99 void updateCurrentPath();
101 void updateTabBar(QMdiSubWindow* w);
103 void showAboutDialog();
112 void showStatusMessage(
const std::string& msg,
OpenMS::UInt time);
114 void showCursorStatus(
double x,
double y);
118 void updateToolBar();
122 void abortPipeline();
132 void outputVertexFinished(
const std::string& file);
134 void updateTOPPOutputLog(
const QString& out);
136 void showPipelineFinishedLogMessage();
140 void sendClipboardContent();
142 void refreshParameters();
144 void openFilesInTOPPView(QStringList all_files);
146 void openToppasFile(
const QString& filename);
153 void closeByTab(
int id);
155 void focusByTab(
int id);
161 void showAsWindow_(
TOPPASWidget* sw,
const std::string& caption);
163 void insertNewVertex_(
double x,
double y, QTreeWidgetItem* item =
nullptr);
165 void insertNewVertexInCenter_(QTreeWidgetItem* item);
168 void descriptionUpdated_();
213 void filterToolTree_();
233 void closeEvent(QCloseEvent* event)
override;
234 void keyPressEvent(QKeyEvent* e)
override;
249 static QString savePipelineAs(
TOPPASWidget* w,
const QString& current_path);
252 static QString loadPipelineResourceFile(
TOPPASWidget* w,
const QString& current_path);
255 static QString savePipelineResourceFile(
TOPPASWidget* w,
const QString& current_path);
258 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:35
Definition EnhancedWorkspace.h:27
A log window (QTextEdit) with convenience functions.
Definition LogWindow.h:28
Main window of the TOPPAS tool.
Definition TOPPASBase.h:54
QLineEdit * tools_filter_
Filter for the Tree view.
Definition TOPPASBase.h:195
std::string current_path_
Definition TOPPASBase.h:217
QTextEdit * desc_
Workflow Description window.
Definition TOPPASBase.h:175
QPushButton * tools_collapse_all_
Collapse button for the Tree view.
Definition TOPPASBase.h:199
EnhancedTabBar * tab_bar_
Tab bar. The address of the corresponding window to a tab is stored as an int in tabData()
Definition TOPPASBase.h:190
static int node_offset_
Offset counter for new inserted nodes (to avoid invisible stacking)
Definition TOPPASBase.h:223
QListWidget * blocks_list_
List of ready analysis pipelines.
Definition TOPPASBase.h:201
TOPPASTreeView * tools_tree_view_
Tree view of all available TOPP tools.
Definition TOPPASBase.h:193
std::string tmp_path_
The path for temporary files.
Definition TOPPASBase.h:220
EnhancedWorkspace * ws_
Main workspace.
Definition TOPPASBase.h:187
static qreal z_value_
z-value counter for new inserted nodes (new nodes should be on top)
Definition TOPPASBase.h:226
QLabel * message_label_
Label for messages in the status bar.
Definition TOPPASBase.h:207
QToolBar * tool_bar_
Definition TOPPASBase.h:180
RecentFilesMenu recent_files_menu_
manages recent list of filenames and the menu that goes with it
Definition TOPPASBase.h:184
TOPPASScene * clipboard_scene_
The clipboard.
Definition TOPPASBase.h:238
QPushButton * tools_expand_all_
Expand button for the Tree view.
Definition TOPPASBase.h:197
LogWindow * log_
Log output window.
Definition TOPPASBase.h:173
Definition TOPPASScene.h:62
Tree view implementation for the list of TOPP tools.
Definition TOPPASTreeView.h:29
unsigned int UInt
Unsigned integer type.
Definition Types.h:64
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19