![]() |
OpenMS
2.7.0
|
#include <OpenMS/VISUAL/LayerData.h>
Public Member Functions | |
| LayerAnnotatorAMS (QWidget *gui_lock) | |
Public Member Functions inherited from LayerAnnotatorBase | |
| LayerAnnotatorBase (const FileTypes::FileTypeList &supported_types, const String &file_dialog_text, QWidget *gui_lock) | |
| C'tor with params. More... | |
| bool | annotateWithFileDialog (LayerData &layer, LogWindow &log, const String ¤t_path) const |
| bool | annotateWithFilename (LayerData &layer, LogWindow &log, const String &filename) const |
Protected Member Functions | |
| virtual bool | annotateWorker_ (LayerData &layer, const String &filename, LogWindow &log) const |
Additional Inherited Members | |
Static Public Member Functions inherited from LayerAnnotatorBase | |
| static std::unique_ptr< LayerAnnotatorBase > | getAnnotatorWhichSupports (const FileTypes::Type &type) |
| static std::unique_ptr< LayerAnnotatorBase > | getAnnotatorWhichSupports (const String &filename) |
| see getAnnotatorWhichSupports(const FileTypes::Type& type). Filetype is queried from filename More... | |
Protected Attributes inherited from LayerAnnotatorBase | |
| const FileTypes::FileTypeList | supported_types_ |
| const String | file_dialog_text_ |
| QWidget * | gui_lock_ = nullptr |
| optional widget which will be locked when calling annotateWorker_() in child-classes More... | |
Annotate a layer with AccurateMassSearch results (from an AMS-featureXML file). The featuremap is loaded from a file selected by the user via a file-dialog.
|
inline |
References FileTypes::FEATUREXML.
|
protectedvirtual |
loads the featuremap from filename and calls Layer::annotate. Returns false if featureXML file was not created by AMS, and true otherwise (unless an exception is thrown from internal sub-functions)
Implements LayerAnnotatorBase.
1.9.1