38 #include <OpenMS/VISUAL/OpenMS_GUIConfig.h> 47 #include <QtWidgets/QButtonGroup> 48 #include <QtWidgets/QMainWindow> 49 #include <QtWidgets/QMdiArea> 50 #include <QtNetwork/QNetworkReply> 51 #include <QtWidgets/QSplashScreen> 60 class QTreeWidgetItem;
62 class QNetworkAccessManager;
67 class EnhancedWorkSpace;
72 class TOPPASResources;
97 void loadPreferences(
String filename =
"");
99 void savePreferences();
101 void loadFiles(
const std::vector<String>& list, QSplashScreen* splash_screen);
105 void addTOPPASFile(
const String& file_name,
bool in_new_window =
true);
107 void openFilesByDialog();
109 void openExampleDialog();
113 void includePipeline();
115 void saveCurrentPipelineAs();
119 void exportAsImage();
121 void loadPipelineResourceFile();
123 void savePipelineResourceFile();
125 void openOnlinePipelineRepository();
127 void preferencesDialog();
129 void updateCurrentPath();
131 void updateTabBar(QMdiSubWindow* w);
133 void showAboutDialog();
142 void showStatusMessage(
const std::string& msg,
OpenMS::UInt time);
144 void showCursorStatus(
double x,
double y);
148 void updateToolBar();
152 void abortPipeline();
162 void outputVertexFinished(
const String& file);
164 void updateTOPPOutputLog(
const QString& out);
166 void showPipelineFinishedLogMessage();
170 void sendClipboardContent();
172 void refreshParameters();
174 void openFilesInTOPPView(QStringList all_files);
176 void openToppasFile(
const QString& filename);
182 void closeByTab(
int id);
185 void focusByTab(
int id);
193 void insertNewVertex_(
double x,
double y, QTreeWidgetItem* item =
nullptr);
195 void insertNewVertexInCenter_(QTreeWidgetItem* item);
198 void downloadTOPPASfromHomepage_(
const QUrl& url);
200 void toppasFileDownloaded_(QNetworkReply* r);
202 void TOPPASreadyRead();
205 void descriptionUpdated_();
244 QLabel* message_label_;
270 void closeEvent(QCloseEvent* event)
override;
271 void keyPressEvent(QKeyEvent* e)
override;
286 static QString savePipelineAs(
TOPPASWidget* w,
const QString& current_path);
289 static QString loadPipelineResourceFile(
TOPPASWidget* w,
const QString& current_path);
292 static QString savePipelineResourceFile(
TOPPASWidget* w,
const QString& current_path);
295 static QString refreshPipelineParameters(
TOPPASWidget* tw, QString current_path);
A log window (QTextEdit) with convenience functions.
Definition: LogWindow.h:53
A container for all visual items of a TOPPAS workflow.
Definition: TOPPASScene.h:85
A more convenient string class.
Definition: String.h:58
Tree view implementation for the list of TOPP tools.
Definition: TOPPASTreeView.h:54
unsigned int UInt
Unsigned integer type.
Definition: Types.h:94
QNetworkAccessManager * network_manager_
download .toppas files from homepage
Definition: TOPPASBase.h:229
EnhancedTabBar * tab_bar_
Tab bar. The address of the corresponding window to a tab is stored as an int in tabData() ...
Definition: TOPPASBase.h:234
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
static qreal z_value_
z-value counter for new inserted nodes (new nodes should be on top)
Definition: TOPPASBase.h:263
LogWindow * log_
Log output window.
Definition: TOPPASBase.h:210
QNetworkReply * network_reply_
the content of the network request
Definition: TOPPASBase.h:231
String tmp_path_
The path for temporary files.
Definition: TOPPASBase.h:257
QToolBar * tool_bar_
Definition: TOPPASBase.h:217
Main window of the TOPPAS tool.
Definition: TOPPASBase.h:79
TOPPASScene * clipboard_scene_
The clipboard.
Definition: TOPPASBase.h:275
QListWidget * blocks_list_
List of ready analysis pipelines.
Definition: TOPPASBase.h:239
EnhancedWorkspace * ws_
Main workspace.
Definition: TOPPASBase.h:224
QTextEdit * desc_
Workflow Description window.
Definition: TOPPASBase.h:212
Definition: EnhancedWorkspace.h:51
String current_path_
Definition: TOPPASBase.h:254
QWebView * webview_
OpenMS homepage workflow browser.
Definition: TOPPASBase.h:227
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:92
RecentFilesMenu recent_files_menu_
manages recent list of filenames and the menu that goes with it
Definition: TOPPASBase.h:221
QTreeWidget * tools_tree_view_
Tree view of all available TOPP tools.
Definition: TOPPASBase.h:237
static int node_offset_
Offset counter for new inserted nodes (to avoid invisible stacking)
Definition: TOPPASBase.h:260
Convenience tab bar implementation.
Definition: EnhancedTabBar.h:60