37 #ifndef SELECTIONMANAGERWINDOW_H
38 #define SELECTIONMANAGERWINDOW_H
45 #include "../ui_selectionmanagerwindow.h"
49 #include "selectionscene.h"
51 #include "chinfomodel.h"
59 #include <QDockWidget>
60 #include <QMutableStringListIterator>
119 void setCurrentlyMappedFiffChannels(
const QStringList &mappedLayoutChNames);
128 void highlightChannels(QModelIndexList channelIndexList);
137 void selectChannels(QStringList channelList);
144 QStringList getSelectedChannels();
153 QListWidgetItem* getItemForChName(QListWidget *listWidget, QString channelName);
159 const QMap<QString,QPointF>& getLayoutMap();
165 void newFiffFileLoaded();
174 void showSelectedChannelsOnly(QStringList selectedChannels);
182 void selectionChanged(
const QList<QGraphicsItem*> &selectedChannelItems);
190 void loadedLayoutMap(
const QMap<QString,QPointF> &layoutMap);
198 void initListWidgets();
205 void initSelectionSceneView();
212 void initComboBoxes();
220 bool loadLayout(QString path);
228 bool loadSelectionGroups(QString path);
235 void cleanUpMEGChannels();
244 void updateSelectionGroupsList(QListWidgetItem* current, QListWidgetItem* previous);
251 void updateSceneItems();
258 void updateUserDefinedChannelsList();
265 void updateDataView();
272 void resizeEvent(QResizeEvent* event);
279 bool eventFilter(QObject *obj, QEvent *event);
285 QMap<QString,QPointF> m_layoutMap;
286 QMap<QString,QStringList> m_selectionGroupsMap;
290 QStringList m_currentlyLoadedFiffChannels;
295 #endif // SELECTIONMANAGERWINDOW_H
LayoutLoader class declaration.
SelectionLoader class declaration.
The SelectionManagerWindow class provides a channel selection window.
The SelectionScene class provides a reimplemented QGraphicsScene for 2D layout plotting.
LayoutLoader class declaration.
FIFF class declaration, which provides static wrapper functions to stay consistent with mne matlab to...