Documentation/Source/eric6.Templates.TemplateSingleVariableDialog.html

Tue, 24 Oct 2017 19:09:09 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 24 Oct 2017 19:09:09 +0200
changeset 5928
a3809f75ca07
parent 3673
e26d7d0c1088
permissions
-rw-r--r--

Changed the logic of the two web browsers in order to put new downloads at the top of the list of downloads and add the download date and time to the shown info.

<!DOCTYPE html>
<html><head>
<title>eric6.Templates.TemplateSingleVariableDialog</title>
<meta charset="UTF-8">
<style>
body {
    background: #EDECE6;
    margin: 0em 1em 10em 1em;
    color: black;
}

h1 { color: white; background: #85774A; }
h2 { color: white; background: #85774A; }
h3 { color: white; background: #9D936E; }
h4 { color: white; background: #9D936E; }
    
a { color: #BA6D36; }

</style>
</head>
<body><a NAME="top" ID="top"></a>
<h1>eric6.Templates.TemplateSingleVariableDialog</h1>
<p>
Module implementing a dialog for entering a single template variable.
</p>
<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Classes</h3>
<table>
<tr>
<td><a href="#TemplateSingleVariableDialog">TemplateSingleVariableDialog</a></td>
<td>Class implementing a dialog for entering a single template variable.</td>
</tr>
</table>
<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>
<hr /><hr />
<a NAME="TemplateSingleVariableDialog" ID="TemplateSingleVariableDialog"></a>
<h2>TemplateSingleVariableDialog</h2>
<p>
    Class implementing a dialog for entering a single template variable.
</p>
<h3>Derived from</h3>
QDialog, Ui_TemplateSingleVariableDialog
<h3>Class Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Class Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Methods</h3>
<table>
<tr>
<td><a href="#TemplateSingleVariableDialog.__init__">TemplateSingleVariableDialog</a></td>
<td>Constructor</td>
</tr><tr>
<td><a href="#TemplateSingleVariableDialog.getVariable">getVariable</a></td>
<td>Public method to get the value for the variable.</td>
</tr>
</table>
<h3>Static Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<a NAME="TemplateSingleVariableDialog.__init__" ID="TemplateSingleVariableDialog.__init__"></a>
<h4>TemplateSingleVariableDialog (Constructor)</h4>
<b>TemplateSingleVariableDialog</b>(<i>variable, parent=None</i>)
<p>
        Constructor
</p><dl>
<dt><i>variable</i></dt>
<dd>
template variable name (string)
</dd><dt><i>parent</i></dt>
<dd>
parent widget of this dialog (QWidget)
</dd>
</dl><a NAME="TemplateSingleVariableDialog.getVariable" ID="TemplateSingleVariableDialog.getVariable"></a>
<h4>TemplateSingleVariableDialog.getVariable</h4>
<b>getVariable</b>(<i></i>)
<p>
        Public method to get the value for the variable.
</p><dl>
<dt>Returns:</dt>
<dd>
value for the template variable (string)
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial