query
sleap.gui.dialogs.query
¶
Generic module to ask user permission to complete an action.
Classes:
| Name | Description |
|---|---|
QueryDialog |
Opens |
QueryDialog
¶
Bases: QDialog
Opens QDialog to ask user permission to complete an action.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
title
|
str
|
Text to be displayed in the header of dialog box. |
required |
message
|
str
|
Test to be displayed in the body of dialog box. |
required |
Methods:
| Name | Description |
|---|---|
__init__ |
Initialize and display |
Source code in sleap/gui/dialogs/query.py
__init__(title, message, *args, **kwargs)
¶
Initialize and display QDialog.