Documentation/Source/eric6.Plugins.VcsPlugins.vcsPySvn.SvnCommitDialog.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.Plugins.VcsPlugins.vcsPySvn.SvnCommitDialog</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.Plugins.VcsPlugins.vcsPySvn.SvnCommitDialog</h1>
<p>
Module implementing a dialog to enter the commit message.
</p>
<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Classes</h3>
<table>
<tr>
<td><a href="#SvnCommitDialog">SvnCommitDialog</a></td>
<td>Class implementing a dialog to enter the commit message.</td>
</tr>
</table>
<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>
<hr /><hr />
<a NAME="SvnCommitDialog" ID="SvnCommitDialog"></a>
<h2>SvnCommitDialog</h2>
<p>
    Class implementing a dialog to enter the commit message.
</p><h3>Signals</h3>
<dl>
<dt>accepted()</dt>
<dd>
emitted, if the dialog was accepted
</dd><dt>rejected()</dt>
<dd>
emitted, if the dialog was rejected
</dd>
</dl>
<h3>Derived from</h3>
QWidget, Ui_SvnCommitDialog
<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="#SvnCommitDialog.__init__">SvnCommitDialog</a></td>
<td>Constructor</td>
</tr><tr>
<td><a href="#SvnCommitDialog.changelistsData">changelistsData</a></td>
<td>Public method to retrieve the changelists data.</td>
</tr><tr>
<td><a href="#SvnCommitDialog.hasChangelists">hasChangelists</a></td>
<td>Public method to check, if the user entered some changelists.</td>
</tr><tr>
<td><a href="#SvnCommitDialog.logMessage">logMessage</a></td>
<td>Public method to retrieve the log message.</td>
</tr><tr>
<td><a href="#SvnCommitDialog.on_buttonBox_accepted">on_buttonBox_accepted</a></td>
<td>Private slot called by the buttonBox accepted signal.</td>
</tr><tr>
<td><a href="#SvnCommitDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
<td>Private slot called by a button of the button box clicked.</td>
</tr><tr>
<td><a href="#SvnCommitDialog.on_buttonBox_rejected">on_buttonBox_rejected</a></td>
<td>Private slot called by the buttonBox rejected signal.</td>
</tr><tr>
<td><a href="#SvnCommitDialog.on_recentComboBox_activated">on_recentComboBox_activated</a></td>
<td>Private slot to select a commit message from recent ones.</td>
</tr><tr>
<td><a href="#SvnCommitDialog.showEvent">showEvent</a></td>
<td>Protected method called when the dialog is about to be shown.</td>
</tr>
</table>
<h3>Static Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<a NAME="SvnCommitDialog.__init__" ID="SvnCommitDialog.__init__"></a>
<h4>SvnCommitDialog (Constructor)</h4>
<b>SvnCommitDialog</b>(<i>changelists, parent=None</i>)
<p>
        Constructor
</p><dl>
<dt><i>changelists</i></dt>
<dd>
list of available change lists (list of strings)
</dd><dt><i>parent</i></dt>
<dd>
parent widget (QWidget)
</dd>
</dl><a NAME="SvnCommitDialog.changelistsData" ID="SvnCommitDialog.changelistsData"></a>
<h4>SvnCommitDialog.changelistsData</h4>
<b>changelistsData</b>(<i></i>)
<p>
        Public method to retrieve the changelists data.
</p><dl>
<dt>Returns:</dt>
<dd>
tuple containing the changelists (list of strings) and a flag
            indicating to keep changelists (boolean)
</dd>
</dl><a NAME="SvnCommitDialog.hasChangelists" ID="SvnCommitDialog.hasChangelists"></a>
<h4>SvnCommitDialog.hasChangelists</h4>
<b>hasChangelists</b>(<i></i>)
<p>
        Public method to check, if the user entered some changelists.
</p><dl>
<dt>Returns:</dt>
<dd>
flag indicating availability of changelists (boolean)
</dd>
</dl><a NAME="SvnCommitDialog.logMessage" ID="SvnCommitDialog.logMessage"></a>
<h4>SvnCommitDialog.logMessage</h4>
<b>logMessage</b>(<i></i>)
<p>
        Public method to retrieve the log message.
</p><p>
        This method has the side effect of saving the 20 most recent
        commit messages for reuse.
</p><dl>
<dt>Returns:</dt>
<dd>
the log message (string)
</dd>
</dl><a NAME="SvnCommitDialog.on_buttonBox_accepted" ID="SvnCommitDialog.on_buttonBox_accepted"></a>
<h4>SvnCommitDialog.on_buttonBox_accepted</h4>
<b>on_buttonBox_accepted</b>(<i></i>)
<p>
        Private slot called by the buttonBox accepted signal.
</p><a NAME="SvnCommitDialog.on_buttonBox_clicked" ID="SvnCommitDialog.on_buttonBox_clicked"></a>
<h4>SvnCommitDialog.on_buttonBox_clicked</h4>
<b>on_buttonBox_clicked</b>(<i>button</i>)
<p>
        Private slot called by a button of the button box clicked.
</p><dl>
<dt><i>button</i></dt>
<dd>
button that was clicked (QAbstractButton)
</dd>
</dl><a NAME="SvnCommitDialog.on_buttonBox_rejected" ID="SvnCommitDialog.on_buttonBox_rejected"></a>
<h4>SvnCommitDialog.on_buttonBox_rejected</h4>
<b>on_buttonBox_rejected</b>(<i></i>)
<p>
        Private slot called by the buttonBox rejected signal.
</p><a NAME="SvnCommitDialog.on_recentComboBox_activated" ID="SvnCommitDialog.on_recentComboBox_activated"></a>
<h4>SvnCommitDialog.on_recentComboBox_activated</h4>
<b>on_recentComboBox_activated</b>(<i>txt</i>)
<p>
        Private slot to select a commit message from recent ones.
</p><dl>
<dt><i>txt</i></dt>
<dd>
selected recent commit message (string)
</dd>
</dl><a NAME="SvnCommitDialog.showEvent" ID="SvnCommitDialog.showEvent"></a>
<h4>SvnCommitDialog.showEvent</h4>
<b>showEvent</b>(<i>evt</i>)
<p>
        Protected method called when the dialog is about to be shown.
</p><dl>
<dt><i>evt</i></dt>
<dd>
the event (QShowEvent)
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial