eric7.Templates.TemplateSingleVariableDialog
Module implementing a dialog for entering a single template variable.
Global Attributes
Classes
Functions
TemplateSingleVariableDialog
Class implementing a dialog for entering a single template variable.
Derived from
QDialog, Ui_TemplateSingleVariableDialog
Class Attributes
Class Methods
Methods
Static Methods
TemplateSingleVariableDialog (Constructor)
TemplateSingleVariableDialog(variable, parent=None)
Constructor
- variable (str)
-
template variable name
- parent (QWidget)
-
parent widget of this dialog
TemplateSingleVariableDialog.getVariable
getVariable()
Public method to get the value for the variable.
- Return:
-
value for the template variable
- Return Type:
-
str