Improved creation of source: selection of file generates a new source,

displayed in preview, and inserted when validated.
This commit is contained in:
brunoherbelin
2020-05-23 19:13:05 +02:00
parent 2cc45edfbd
commit 614fa1247d
9 changed files with 146 additions and 76 deletions

View File

@@ -38,8 +38,11 @@ public:
// cloning mechanism
virtual CloneSource *clone();
// make visible or hidden
void setVisible(bool on);
// an overlay can be displayed on top of the source
virtual void setOverlayVisible(bool on);
void setOverlayVisible(bool on);
// get handle on the node used to manipulate the source in a view
inline Group *group(View::Mode m) const { return groups_.at(m); }