OpenMS
2.7.0
|
Pimped QListView for Layers of a Canvas. More...
#include <OpenMS/VISUAL/LayerListView.h>
Signals | |
void | layerDataChanged () |
emitted whenever a change to a layer happened, e.g. its name was changed, it was removed, or a new layer was selected More... | |
Public Member Functions | |
LayerListView (QWidget *parent) | |
Default constructor. More... | |
void | update (PlotWidget *active_widget) |
rebuild list of layers and remember current widget (for context menu etc) More... | |
Private Member Functions | |
void | currentRowChangedAction_ (int i) |
active row was changed by user to new row i More... | |
void | itemChangedAction_ (QListWidgetItem *item) |
void | contextMenuEvent (QContextMenuEvent *event) override |
void | itemDoubleClickedAction_ (QListWidgetItem *) |
show preferences dialog More... | |
Private Attributes | |
PlotWidget * | spectrum_widget_ = nullptr |
holds the actual data. Might be nullptr. More... | |
Pimped QListView for Layers of a Canvas.
LayerListView | ( | QWidget * | parent | ) |
Default constructor.
|
overrideprivate |
|
private |
active row was changed by user to new row i
|
private |
|
private |
show preferences dialog
|
signal |
emitted whenever a change to a layer happened, e.g. its name was changed, it was removed, or a new layer was selected
Referenced by TOPPViewBase::TOPPViewBase().
void update | ( | PlotWidget * | active_widget | ) |
rebuild list of layers and remember current widget (for context menu etc)
Referenced by TOPPViewBase::updateLayerBar().
|
private |
holds the actual data. Might be nullptr.