eric6.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
-
template variable name (string)
- parent
-
parent widget of this dialog (QWidget)
TemplateSingleVariableDialog.getVariable
getVariable()
Public method to get the value for the variable.
- Returns:
-
value for the template variable (string)