1 |
/* |
/* |
2 |
Copyright (c) 2014 Christian Schoenebeck |
Copyright (c) 2014,2015 Christian Schoenebeck |
3 |
|
|
4 |
This file is part of "gigedit" and released under the terms of the |
This file is part of "gigedit" and released under the terms of the |
5 |
GNU General Public License version 2. |
GNU General Public License version 2. |
21 |
public: |
public: |
22 |
ReferencesView(Gtk::Window& parent); |
ReferencesView(Gtk::Window& parent); |
23 |
void setSample(gig::Sample* sample); |
void setSample(gig::Sample* sample); |
24 |
|
|
25 |
|
// When the user single clicked on a sample reference on this reference |
26 |
|
// view dialog, then this signal is emitted and the dimension region editor |
27 |
|
// shall select the respective, instrument, region and dimension region for |
28 |
|
// further editing. The editor shall return true if selection was successful |
29 |
|
// or should return false on errors. |
30 |
|
sigc::signal<bool, gig::DimensionRegion*> dimension_region_selected; |
31 |
|
|
32 |
protected: |
protected: |
33 |
gig::Sample* m_sample; |
gig::Sample* m_sample; |
34 |
|
|
72 |
}; |
}; |
73 |
|
|
74 |
Glib::RefPtr<RefsTreeStore> m_refTreeModel; |
Glib::RefPtr<RefsTreeStore> m_refTreeModel; |
75 |
|
|
76 |
|
void onSelectionChanged(); |
77 |
}; |
}; |
78 |
|
|
79 |
#endif // GIGEDIT_REFERENCESVIEW_H |
#endif // GIGEDIT_REFERENCESVIEW_H |