The navigation module contains standard widgets that can be used to track navigation and state.
The breadcrumbs widget is a standard widget that displays a history
of things separated by arrows. This class utilizes the
to ensure that names are reduced down nicely in the case there ins’t enough
space to display the entire history.
The navigation widget implements the standard home/next/prev concept that can be found in several Toolkit apps.
Implementation of the BreadcrumbWidget class
Parameters: parent (
QWidget) – The parent QWidget for this control
Navigation widget containing previous, home and next buttons: [H][<][>]. The widget keeps track of the current location within a list and emits signals whenever the user navigates via one of the buttons.
Signal home_clicked: Emitted when someone clicks the home button Signal navigate(bj): Emitted when someone clicks the next or prev buttons. A navigation object is passed with the signal. Parameters: parent (
QWidget) – The parent QWidget
Add a destination to the widget. This clears any future destinations and sets the current destination to be the one passed in.
- label – The label to be used for this destination
- destination – The destination object