95 lines
2.1 KiB
HTML
95 lines
2.1 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html><head>
|
||
|
<title>5.hoverMenu.Main</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.Main</h1>
|
||
|
<p>
|
||
|
主函数.
|
||
|
</p><p>
|
||
|
description: pyqt5悬浮下拉菜单
|
||
|
</p><p>
|
||
|
Created on 2018年7月7日
|
||
|
</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>Class documentation goes here.</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>
|
||
|
Class documentation goes here.
|
||
|
</p>
|
||
|
<h3>Derived from</h3>
|
||
|
QMainWindow, Ui_MainWindow
|
||
|
<h3>Class Attributes</h3>
|
||
|
<table>
|
||
|
<tr><td>app</td></tr><tr><td>qssStyle</td></tr><tr><td>styleFile</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>Constructor</td>
|
||
|
</tr><tr>
|
||
|
<td><a href="#MainWindow.enterEvent">enterEvent</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>
|
||
|
Constructor
|
||
|
</p><dl>
|
||
|
<dt><i>parent</i> (QWidget)</dt>
|
||
|
<dd>
|
||
|
reference to the parent widget
|
||
|
</dd>
|
||
|
</dl><a NAME="MainWindow.enterEvent" ID="MainWindow.enterEvent"></a>
|
||
|
<h4>MainWindow.enterEvent</h4>
|
||
|
<b>enterEvent</b>(<i>e</i>)
|
||
|
<p>
|
||
|
自定义标题栏需要重置光标。
|
||
|
</p>
|
||
|
<div align="right"><a href="#top">Up</a></div>
|
||
|
<hr />
|
||
|
</body></html>
|