Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

The dustUI library is a collection of GUI (Graphical User Interface) elements which can be assembled to form an application. It is based on Tkinter, Python's de-facto standard GUI package. The modules of the dustUI library are in the libs/dustUI directory.

Tip

Although the modules described below are meant to be included in applications, you can also run them as standalone applications by double-clicking on their source file. This starts a dummy application which shows what the GUI element looks like.

The following modules are included:

Table of Contents
includedust.*
 

dustStyle.py

This module sets the look-and-feel of all dustUI GUI elements. Customizing the looks of your application is as simple as editing this file.

dustWindow.py

Image Added

The Window of each application, which includes:

  • the logo and copyright sign
  • the name of the application at the top
  • the version of the SmartMesh SDK displayed at the bottom

dustFrame.py

This is the parent class for all dustFrames, and is meant to be inherited.

dustFrameApi.py

Image Added

Specify which API definition to load.

dustFrameCommand.py

Image Added

Browse the available commands and send them.

dustFrameConnection.py

Image Added

Select the type of connector and connect to the device.

dustFrameLbrConnection.py

Image Added

Connect to the LBR.

dustFrameFields.py

A parent class.

dustFrameResponse.py

Image Added

Display the fields contained in a response.

dustFrameNotifications.py

Image Added

Display the fields contained in a notification.

dustFrameSensorData.py

Image Added

Display sensor data.

dustFrameSensorTx.py

Image Added

Send sensor data.

dustFrameTable.py

Image Added

Display a list of lists as a 2D table.

dustFrameTooltip.py

Image Added

Display arbitrary text.