This class provides basic functionality to manipulate intervals of Qt_widget class. Qt_widget knows about the current visible area that is specified through an interval. The default one is (-1, 1, -1, 1). This class is mostly used by the Qt_widget_standard_toolbar to provide the backward and the forward navigation through the different intervals.
#include <CGAL/IO/Qt_widget_history.h>
| |
parent is the parent widget that has to be a
Qt_widget and name is the name of the history. This will
create a history object that can deal with the Qt_widget
visualisation intervals. Each time the visible area will change, it's
interval will be stored in the history list.
|
|
| This saves the widget visible area in the history list. |
|
| |
This goes back in the list of saved intervals. | ||
|
| This goes forward in the list of saved intervals. |
|
| This will clear the entire history list. |