32 void selected(std::optional<Process::Preset> p)
33 E_SIGNAL(SCORE_PLUGIN_LIBRARY_EXPORT, selected, p)
36 E_SIGNAL(SCORE_PLUGIN_LIBRARY_EXPORT, doubleClicked, p)
39 E_SIGNAL(SCORE_PLUGIN_LIBRARY_EXPORT, loadRequested, p)
41 void cancelRequested() E_SIGNAL(SCORE_PLUGIN_LIBRARY_EXPORT, cancelRequested)
44 void showCurrentPreset();
46 void newCategory(const QStringList& in);
48 std::unique_ptr<QMenu> contextMenu(const QModelIndex& index);
51 void mouseDoubleClickEvent(QMouseEvent* event) override;
52 void paintEvent(QPaintEvent* e) override;
53 void contextMenuEvent(QContextMenuEvent* event) override;
54 void keyPressEvent(QKeyEvent* event) override;
55 void currentChanged(const QModelIndex& current, const QModelIndex& previous) override;
56 void focusInEvent(QFocusEvent* event) override;
59 QString expansionKey() const;
62 void scrollToCurrentLater();
66 ossia::hash_map<QString, QSet<QString>> m_expanded;
68 QString m_currentPath, m_currentName, m_currentCategory;