PyQt/partner_625781186/5.hoverMenu/Documentation/5.hoverMenu.BaseElement.html
2018-07-07 15:15:12 +08:00

268 lines
No EOL
8.3 KiB
HTML

<!DOCTYPE html>
<html><head>
<title>5.hoverMenu.BaseElement</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>5.hoverMenu.BaseElement</h1>
<p>
description: &#25277;&#35937;&#31867;&#27169;&#22359;
</p><p>
Created on 2018&#24180;7&#26376;7&#26085;
</p><p>
email: 625781186@qq.com
</p>
<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Classes</h3>
<table>
<tr>
<td><a href="#BaseButton">BaseButton</a></td>
<td></td>
</tr><tr>
<td><a href="#BaseMenuWidget">BaseMenuWidget</a></td>
<td></td>
</tr><tr>
<td><a href="#BaseTable">BaseTable</a></td>
<td></td>
</tr><tr>
<td><a href="#SingeleWidget">SingeleWidget</a></td>
<td>&#33756;&#21333;&#26465;&#30340;&#27599;&#20010;&#26694;&#12290;</td>
</tr>
</table>
<h3>Functions</h3>
<table>
<tr>
<td><a href="#showERROR">showERROR</a></td>
<td></td>
</tr>
</table>
<hr /><hr />
<a NAME="BaseButton" ID="BaseButton"></a>
<h2>BaseButton</h2>
<h3>Derived from</h3>
QPushButton
<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="#BaseButton.__init__">BaseButton</a></td>
<td></td>
</tr><tr>
<td><a href="#BaseButton._createLabel">_createLabel</a></td>
<td>path&#65306;&#20027;&#33756;&#21333;&#22270;&#26631;&#30340;&#36335;&#24452;&#12290;</td>
</tr><tr>
<td><a href="#BaseButton._todo">_todo</a></td>
<td>&#27599;&#20010;&#25353;&#38062;&#35201;&#37325;&#26032;&#23454;&#29616;&#30340;&#21151;&#33021;&#20989;&#25968;&#12290;</td>
</tr><tr>
<td><a href="#BaseButton.resizeEvent">resizeEvent</a></td>
<td></td>
</tr>
</table>
<h3>Static Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<a NAME="BaseButton.__init__" ID="BaseButton.__init__"></a>
<h4>BaseButton (Constructor)</h4>
<b>BaseButton</b>(<i>parent=None</i>)
<a NAME="BaseButton._createLabel" ID="BaseButton._createLabel"></a>
<h4>BaseButton._createLabel</h4>
<b>_createLabel</b>(<i>path</i>)
<p>
path&#65306;&#20027;&#33756;&#21333;&#22270;&#26631;&#30340;&#36335;&#24452;&#12290;
</p><a NAME="BaseButton._todo" ID="BaseButton._todo"></a>
<h4>BaseButton._todo</h4>
<b>_todo</b>(<i>*args, **kwgs</i>)
<p>
&#27599;&#20010;&#25353;&#38062;&#35201;&#37325;&#26032;&#23454;&#29616;&#30340;&#21151;&#33021;&#20989;&#25968;&#12290;
</p><a NAME="BaseButton.resizeEvent" ID="BaseButton.resizeEvent"></a>
<h4>BaseButton.resizeEvent</h4>
<b>resizeEvent</b>(<i>e</i>)
<div align="right"><a href="#top">Up</a></div>
<hr /><hr />
<a NAME="BaseMenuWidget" ID="BaseMenuWidget"></a>
<h2>BaseMenuWidget</h2>
<h3>Derived from</h3>
QWidget
<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="#BaseMenuWidget.__init__">BaseMenuWidget</a></td>
<td>_hideFlag__Menu: 0&#26102;&#38544;&#34255;&#65292;1&#26102;&#26174;&#31034;&#65307;</td>
</tr><tr>
<td><a href="#BaseMenuWidget._deleteSomething">_deleteSomething</a></td>
<td></td>
</tr><tr>
<td><a href="#BaseMenuWidget._showSomething">_showSomething</a></td>
<td></td>
</tr><tr>
<td><a href="#BaseMenuWidget.enterEvent">enterEvent</a></td>
<td></td>
</tr><tr>
<td><a href="#BaseMenuWidget.leaveEvent">leaveEvent</a></td>
<td></td>
</tr>
</table>
<h3>Static Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<a NAME="BaseMenuWidget.__init__" ID="BaseMenuWidget.__init__"></a>
<h4>BaseMenuWidget (Constructor)</h4>
<b>BaseMenuWidget</b>(<i>parent=None</i>)
<p>
_hideFlag__Menu: 0&#26102;&#38544;&#34255;&#65292;1&#26102;&#26174;&#31034;&#65307;
</p><a NAME="BaseMenuWidget._deleteSomething" ID="BaseMenuWidget._deleteSomething"></a>
<h4>BaseMenuWidget._deleteSomething</h4>
<b>_deleteSomething</b>(<i></i>)
<a NAME="BaseMenuWidget._showSomething" ID="BaseMenuWidget._showSomething"></a>
<h4>BaseMenuWidget._showSomething</h4>
<b>_showSomething</b>(<i>**kwgs</i>)
<a NAME="BaseMenuWidget.enterEvent" ID="BaseMenuWidget.enterEvent"></a>
<h4>BaseMenuWidget.enterEvent</h4>
<b>enterEvent</b>(<i>e</i>)
<a NAME="BaseMenuWidget.leaveEvent" ID="BaseMenuWidget.leaveEvent"></a>
<h4>BaseMenuWidget.leaveEvent</h4>
<b>leaveEvent</b>(<i>e</i>)
<div align="right"><a href="#top">Up</a></div>
<hr /><hr />
<a NAME="BaseTable" ID="BaseTable"></a>
<h2>BaseTable</h2>
<h3>Derived from</h3>
QTableWidget
<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="#BaseTable.__init__">BaseTable</a></td>
<td></td>
</tr>
</table>
<h3>Static Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<a NAME="BaseTable.__init__" ID="BaseTable.__init__"></a>
<h4>BaseTable (Constructor)</h4>
<b>BaseTable</b>(<i>parent=None</i>)
<div align="right"><a href="#top">Up</a></div>
<hr /><hr />
<a NAME="SingeleWidget" ID="SingeleWidget"></a>
<h2>SingeleWidget</h2>
<p>
&#33756;&#21333;&#26465;&#30340;&#27599;&#20010;&#26694;&#12290;
</p>
<h3>Derived from</h3>
QWidget
<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="#SingeleWidget.__init__">SingeleWidget</a></td>
<td>_hideFlag__Button&#65306; 0 &#34920;&#26126;&#27809;&#26377;&#26174;&#31034;&#24377;&#31383;&#65307;1&#34920;&#31034;&#26174;&#31034;&#20102;&#24377;&#31383;&#12290;</td>
</tr><tr>
<td><a href="#SingeleWidget._creatMenu">_creatMenu</a></td>
<td>Main.py&#20013;&#34987;&#35843;&#29992;&#12290;&#25226;LX&#31867;&#23454;&#20363;&#21270;&#12290;</td>
</tr><tr>
<td><a href="#SingeleWidget._jugement">_jugement</a></td>
<td>&#31163;&#24320;&#19978;&#38754;&#31383;&#20307;&#20043;&#21518;80ms, 1&#65306;&#36827;&#20837;&#26049;&#36793;&#30340;&#33756;&#21333;&#26694;&#65307;2&#65306;&#36827;&#20837;&#24377;&#20986;&#30340;&#33756;&#21333;&#12290;</td>
</tr><tr>
<td><a href="#SingeleWidget.enterEvent">enterEvent</a></td>
<td>&#40736;&#26631;&#31227;&#20837;label&#21518; &#65292; _hideFlag__Button=1&#65292;&#34920;&#26126;&#26174;&#31034;&#20102;&#24377;&#31383;&#12290;</td>
</tr><tr>
<td><a href="#SingeleWidget.leaveEvent">leaveEvent</a></td>
<td>&#31163;&#24320;&#26102;&#21028;&#26029;&#26159;&#21542;&#26174;&#31034;&#20102;&#31383;&#20307;&#65292;80ms&#21518;&#21457;&#23556;&#21040;_jugement&#21435;&#26816;&#27979;&#12290;</td>
</tr>
</table>
<h3>Static Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<a NAME="SingeleWidget.__init__" ID="SingeleWidget.__init__"></a>
<h4>SingeleWidget (Constructor)</h4>
<b>SingeleWidget</b>(<i>parent=None</i>)
<p>
_hideFlag__Button&#65306; 0 &#34920;&#26126;&#27809;&#26377;&#26174;&#31034;&#24377;&#31383;&#65307;1&#34920;&#31034;&#26174;&#31034;&#20102;&#24377;&#31383;&#12290;
</p><a NAME="SingeleWidget._creatMenu" ID="SingeleWidget._creatMenu"></a>
<h4>SingeleWidget._creatMenu</h4>
<b>_creatMenu</b>(<i>L_Name, parent</i>)
<p>
Main.py&#20013;&#34987;&#35843;&#29992;&#12290;&#25226;LX&#31867;&#23454;&#20363;&#21270;&#12290;
</p><a NAME="SingeleWidget._jugement" ID="SingeleWidget._jugement"></a>
<h4>SingeleWidget._jugement</h4>
<b>_jugement</b>(<i></i>)
<p>
&#31163;&#24320;&#19978;&#38754;&#31383;&#20307;&#20043;&#21518;80ms, 1&#65306;&#36827;&#20837;&#26049;&#36793;&#30340;&#33756;&#21333;&#26694;&#65307;2&#65306;&#36827;&#20837;&#24377;&#20986;&#30340;&#33756;&#21333;&#12290;
</p><a NAME="SingeleWidget.enterEvent" ID="SingeleWidget.enterEvent"></a>
<h4>SingeleWidget.enterEvent</h4>
<b>enterEvent</b>(<i>e</i>)
<p>
&#40736;&#26631;&#31227;&#20837;label&#21518; &#65292; _hideFlag__Button=1&#65292;&#34920;&#26126;&#26174;&#31034;&#20102;&#24377;&#31383;&#12290;
</p><a NAME="SingeleWidget.leaveEvent" ID="SingeleWidget.leaveEvent"></a>
<h4>SingeleWidget.leaveEvent</h4>
<b>leaveEvent</b>(<i>e</i>)
<p>
&#31163;&#24320;&#26102;&#21028;&#26029;&#26159;&#21542;&#26174;&#31034;&#20102;&#31383;&#20307;&#65292;80ms&#21518;&#21457;&#23556;&#21040;_jugement&#21435;&#26816;&#27979;&#12290;
</p>
<div align="right"><a href="#top">Up</a></div>
<hr /><hr />
<a NAME="showERROR" ID="showERROR"></a>
<h2>showERROR</h2>
<b>showERROR</b>(<i></i>)
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>