96 lines
No EOL
2.5 KiB
Markdown
96 lines
No EOL
2.5 KiB
Markdown
<!DOCTYPE html>
|
|
<html><head>
|
|
<title>5.hoverMenu.Main</title>
|
|
<meta charset="UTF-8">
|
|
<style>
|
|
|
|
</style>
|
|
</head>
|
|
<body><a NAME="top" ID="top"></a>
|
|
<h1>5.hoverMenu.Main</h1>
|
|
<p>
|
|
主函数.
|
|
</p><p>
|
|
description: pyqt5悬浮下拉菜单
|
|
</p><p>
|
|
Created on 2018年7月7日
|
|
</p><p>
|
|
Author: 人间白头
|
|
</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="#MainWindow">MainWindow</a></td>
|
|
<td>主窗口.</td>
|
|
</tr>
|
|
</table>
|
|
<h3>Functions</h3>
|
|
<table>
|
|
<tr><td>None</td></tr>
|
|
</table>
|
|
<hr /><hr />
|
|
<a NAME="MainWindow" ID="MainWindow"></a>
|
|
<h2>MainWindow</h2>
|
|
<p>
|
|
主窗口.
|
|
</p>
|
|
<h3>Derived from</h3>
|
|
Ui_MainWindow, QMainWindow
|
|
<h3>Class Attributes</h3>
|
|
<table>
|
|
<tr><td>app</td></tr><tr><td>ui</td></tr>
|
|
</table>
|
|
<h3>Class Methods</h3>
|
|
<table>
|
|
<tr><td>None</td></tr>
|
|
</table>
|
|
<h3>Methods</h3>
|
|
<table>
|
|
<tr>
|
|
<td><a href="#MainWindow.__init__">MainWindow</a></td>
|
|
<td></td>
|
|
</tr><tr>
|
|
<td><a href="#MainWindow.__initUI">__initUI</a></td>
|
|
<td>一些无法在基础元素累中初始化的参数。</td>
|
|
</tr><tr>
|
|
<td><a href="#MainWindow.readCSS">readCSS</a></td>
|
|
<td>用于设置样式,SingeleWidget类中也需要用到。</td>
|
|
</tr><tr>
|
|
<td><a href="#MainWindow.start_animation">start_animation</a></td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
<h3>Static Methods</h3>
|
|
<table>
|
|
<tr><td>None</td></tr>
|
|
</table>
|
|
<a NAME="MainWindow.__init__" ID="MainWindow.__init__"></a>
|
|
<h4>MainWindow (Constructor)</h4>
|
|
<b>MainWindow</b>(<i>parent=None</i>)
|
|
<p>
|
|
|
|
</p><p>
|
|
|
|
</p><a NAME="MainWindow.__initUI" ID="MainWindow.__initUI"></a>
|
|
<h4>MainWindow.__initUI</h4>
|
|
<b>__initUI</b>(<i></i>)
|
|
<p>
|
|
一些无法在基础元素累中初始化的参数。
|
|
</p><a NAME="MainWindow.readCSS" ID="MainWindow.readCSS"></a>
|
|
<h4>MainWindow.readCSS</h4>
|
|
<b>readCSS</b>(<i>obj</i>)
|
|
<p>
|
|
用于设置样式,SingeleWidget类中也需要用到。
|
|
</p><a NAME="MainWindow.start_animation" ID="MainWindow.start_animation"></a>
|
|
<h4>MainWindow.start_animation</h4>
|
|
<b>start_animation</b>(<i>checked</i>)
|
|
|
|
<div align="right"><a href="#top">Up</a></div>
|
|
<hr />
|
|
</body></html> |