Widget and scrollbar for handling selection and playback of data.
If more than one data is selected, the selection of all of them can be handled simultaneously as long as they have the same size as the first selected Data.
|
|
void | onSelFocus (int val) |
| | Sets the focus to val - 1
|
| |
|
void | onSelFirst () |
| |
|
void | onSelLast () |
| |
|
void | onSelAll () |
| |
|
void | onSelNone () |
| |
|
void | onSelSkip (int val) |
| |
|
void | onFirstChanged (int val) |
| |
|
void | onLastChanged (int val) |
| |
|
void | onSelLock (int val) |
| |
|
void | onDisplayWidgetLayoutChanged () |
| |
|
void | onSyncFocus () |
| |
|
void | onPlay () |
| |
|
void | onStop () |
| |
|
void | onLoopToggled () |
| |
|
void | onPlaySelectedToggled () |
| |
|
bool | dataHasNewSelection (ImFusion::Selectable *data) |
| |
|
void | deleteCachedSelection (ImFusion::Selectable *data) |
| |
|
void | showFocusLabel (bool show) |
| | Show/hide focus label showing the current index.
|
| |
Public Slots inherited from ExpandableGroupBox |
|
void | expand () |
| | Expands the group box.
|
| |
|
void | collapse () |
| | Collapses the group box.
|
| |
|
void | setExpanded (bool expanded) |
| | Expands or collapses the group box (default: expanded)
|
| |
|
void | setResizable (bool isResizable) |
| | Makes the group box vertical resizable (default: disabled)
|
| |
|
void | setTitle (const QString &title) |
| | Sets the title of the group box.
|
| |
| void | setIcon (const QIcon &icon) |
| | Sets the icon of the group box.
|
| |
|
void | clearAndDeleteLater () |
| |
|
void | setVisible (bool visible) override |
| |
| void | addAction (QAction *action) |
| | Adds a new action to the right side of the expand/collapse button.
|
| |
|
void | removeAction (QAction *action) |
| | Removes an action that was previously added with addAction.
|
| |
|
std::vector< QAction * > | actions () |
| | Lists all actions.
|
| |
|
void | addPage (QWidget *widget) |
| | Calls setWidget if no containing widget is set, does nothing otherwise (required by the Qt designer plugin)
|
| |
|
|
| SelectionWidget (MainWindowBase *mw) |
| |
|
void | initFromGlobalSettings () |
| | Initializes the local configuration such as the inputMode() from global settings.
|
| |
|
void | update () |
| | Updates widget with data selection and changes GUI accordingly.
|
| |
| void | setInputData (const std::vector< Selectable * > &input) |
| | Explicitly define what datasets the SelectionWidget should operate on.
|
| |
| const std::vector< Selectable * > & | inputData () |
| | Returns the datasets the Selection widget is currently operating on.
|
| |
|
InputMode | inputMode () const |
| | Returns the source which defines which datasets are configured by the SelectionWidget.
|
| |
|
void | setInputMode (InputMode value, bool storeInGlobalSettings=false) |
| | Sets the source which defines which datasets are configured by the SelectionWidget.
|
| |
|
LockMode | lockMode () const |
| | Returns the lock mode of the selection with respect to the focus.
|
| |
|
void | setLockMode (LockMode mode) |
| | Sets the lock mode of the selection with respect to the focus.
|
| |
|
SelectionScrollBar & | scrollBar () |
| | Return the SelectionScrollBar hosted next to this widget.
|
| |
|
void | setPlaySelected (bool selectedOnly) |
| | Set whether only selected frames should be played.
|
| |
| bool | isPlaying () |
| |
|
void | stopPlayback (Data *data) |
| | If data is currently playing through a playback wrapper, attempt to stop it.
|
| |
Public Member Functions inherited from ExpandableGroupBox |
|
| ExpandableGroupBox (QWidget *parent=0) |
| | Creates an empty group box.
|
| |
|
QSize | sizeHint () const override |
| |
| void | setWidget (QWidget *widget) |
| | Sets the contained widget.
|
| |
|
QWidget * | widget () |
| | Returns the contained widget if any or nullptr otherwise.
|
| |
|
QString | title () const |
| |
|
QIcon | icon () const |
| |
|
bool | isExpanded () const |
| |
|
bool | isResizable () const |
| |
|
void | setCollapsible (bool collapsible) |
| | Sets if box is collapsible.
|
| |
|
bool | isCollapsible () |
| | Returns if box is collapsible.
|
| |
|
void | setDraggable (bool value) |
| | Sets the flag whether the box is draggable with the mouse when clicking on the top button.
|
| |
|
bool | isDraggable () const |
| | Returns the flag whether the box is draggable with the mouse when clicking on the top button.
|
| |
|
int | count () const |
| | Returns 1 if widget is set, 0 otherwise (required by the Qt designer plugin)
|
| |
|
int | currentIndex () const |
| | Returns 0 (required by the Qt designer plugin)
|
| |
|
| SignalReceiver ()=default |
| | Default constructor.
|
| |
|
| SignalReceiver (const SignalReceiver &other) |
| | Copy constructor, does not copy any existing signal connections from other.
|
| |
|
SignalReceiver & | operator= (SignalReceiver rhs) |
| | Assignment operator, disconnects all existing connections, does not copy any existing signal connections from rhs.
|
| |
|
virtual | ~SignalReceiver () |
| | Virtual destructor disconnects from all connected signals.
|
| |