mirror of
https://github.com/AxioDL/amuse.git
synced 2025-12-09 21:47:53 +00:00
Bug fixes, xref search, more context menus
This commit is contained in:
@@ -6,9 +6,11 @@
|
||||
#include <QTableView>
|
||||
#include "amuse/Voice.hpp"
|
||||
|
||||
class SFXObjectDelegate : public QStyledItemDelegate
|
||||
class SFXObjectDelegate : public BaseObjectDelegate
|
||||
{
|
||||
Q_OBJECT
|
||||
protected:
|
||||
ProjectModel::INode* getNode(const QAbstractItemModel* model, const QModelIndex& index) const;
|
||||
public:
|
||||
explicit SFXObjectDelegate(QObject* parent = Q_NULLPTR);
|
||||
QWidget* createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const;
|
||||
@@ -98,6 +100,8 @@ public:
|
||||
void stopped();
|
||||
void resizeEvent(QResizeEvent* event);
|
||||
void mouseDoubleClickEvent(QMouseEvent* event);
|
||||
void mousePressEvent(QMouseEvent* event);
|
||||
void mouseReleaseEvent(QMouseEvent* event) { event->ignore(); }
|
||||
public slots:
|
||||
void clicked();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user