dustUI
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.
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:
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
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
Specify which API definition to load.
dustFrameCommand.py
Browse the available commands and send them.
dustFrameConnection.py
Select the type of connector and connect to the device.
dustFrameLbrConnection.py
Connect to the LBR.
dustFrameFields.py
A parent class.
dustFrameResponse.py
Display the fields contained in a response.
dustFrameNotifications.py
Display the fields contained in a notification.
dustFrameSensorData.py
Display sensor data.
dustFrameSensorTx.py
Send sensor data.
dustFrameTable.py
Display a list of lists as a 2D table.
dustFrameTooltip.py
Display arbitrary text.