Helper functions

Contents

Helper functions#

DAVE has some helper functions for both the GUI and API.

GUI#

To

Use

Show a dialog during longer actions and give the user the option to cancel

BlockingDialog,
Example in source-file
with BlockingDialog(self.gui) as b

Run external programs in the background

BackgroundRunnerGui,
Example in source-file

Display a non-intrusive message

InfoMessage,
Message popup next to cursor or other defined location

Qt polygon with mouse click event

ClickablePolygonItem

Grid Editor

GridEdit

Minimal text input dialog

TextInput

Edit some or all properties of a node

PropertyEditorPopup