tk-framework-qtwidgets
  • Flow Production Tracking Activity Stream Widget
  • Auto-Elide label
  • Flow Production Tracking Search Completers
  • Flow Production Tracking Search Widget
  • Context Selector Widget
  • Delegates
  • Filtering
  • Help Screen Popup
  • Model Related Classes
  • Navigation Widgets
    • Breadcrumbs
      • BreadcrumbWidget
        • BreadcrumbWidget.set()
      • Breadcrumb
        • Breadcrumb.label
    • Home/Next/Prev Navigation
      • NavigationWidget
        • NavigationWidget.add_destination()
  • Flow Production Tracking Note Input Widget
  • Text Overlay Widget
  • Flow Production Tracking Playback Label Widget
  • Screen Capture Widget
  • Flow Production Tracking Field Widgets
  • Flow Production Tracking Menus
  • Flow Production Tracking Widgets
  • Spinner Widget
  • Flow Production Tracking Version Details Widget
  • View Related Classes
Alphabetic Index
tk-framework-qtwidgets v2.12.6.
This documentation is part of the Flow Production Tracking. For more information, please visit The Flow Production Tracking developer portal.. The code associated with this documentation can be found here.

Privacy settings

Do not sell my personal information

Privacy/Cookies

tk-framework-qtwidgets
  • Navigation Widgets

Navigation Widgets

The navigation module contains standard widgets that can be used to track navigation and state.

_images/navigation.png

The breadcrumbs widget is a standard widget that displays a history of things separated by arrows. This class utilizes the ElidedLabel widget 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.

Breadcrumbs

class navigation.BreadcrumbWidget(parent=None)[source]

Bases: QWidget

Implementation of the BreadcrumbWidget class

Parameters:

parent (QWidget) – The parent QWidget for this control

set(breadcrumbs)[source]

Populate the breadcrumb control with a list of breadcrumbs

Parameters:

breadcrumbs (list of Breadcrumb) – A list of breadcrumbs. Each breadcrumb instance should derive from the Breadcrumb class

class navigation.Breadcrumb(label)[source]

Base breadcrumb class that all breadcrumb instances should be derived from

Construction

Parameters:

label – The label for this breadcrumb

property label
Returns:

The label for this breadcrumb

Home/Next/Prev Navigation

class navigation.NavigationWidget(parent=None)[source]

Bases: QWidget

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_destination(label, destination)[source]

Add a destination to the widget. This clears any future destinations and sets the current destination to be the one passed in.

Parameters:
  • label – The label to be used for this destination

  • destination – The destination object

Previous Next

© Copyright 2025, Autodesk.