pyminer/pkgs/tool_box/WrapPanel.html
2021-03-19 19:44:54 +08:00

310 lines
12 KiB
HTML
Executable File

<!DOCTYPE html>
<html lang="zh_CN">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>pyminer2.extensions.packages.tool_box.WrapPanel &#8212; pyminer 文档</title>
<link href="../../_static/css/theme.css" rel="stylesheet" />
<link href="../../_static/css/index.101715efdecc9b59cb6e1ddfa685c31f.css" rel="stylesheet" />
<link rel="stylesheet"
href="../../_static/vendor/fontawesome/5.13.0/css/all.min.css">
<link rel="preload" as="font" type="font/woff2" crossorigin
href="../../_static/vendor/fontawesome/5.13.0/webfonts/fa-solid-900.woff2">
<link rel="preload" as="font" type="font/woff2" crossorigin
href="../../_static/vendor/fontawesome/5.13.0/webfonts/fa-brands-400.woff2">
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../_static/css/pyminer.css" type="text/css" />
<link rel="preload" as="script" href="../../_static/js/index.d8bbf5861d671d414e1a.js">
<script id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
<script src="../../_static/jquery.js"></script>
<script src="../../_static/underscore.js"></script>
<script src="../../_static/doctools.js"></script>
<script src="../../_static/translations.js"></script>
<script async="async" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/latest.js?config=TeX-AMS-MML_HTMLorMML"></script>
<link rel="index" title="索引" href="../../genindex.html" />
<link rel="search" title="搜索" href="../../search.html" />
<link rel="next" title="pyminer2.extensions.packages.tool_box.main" href="main.html" />
<link rel="prev" title="pyminer2.extensions.packages.tool_box" href="index.html" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="docsearch:language" content="en" />
</head>
<body data-spy="scroll" data-target="#bd-toc-nav" data-offset="80">
<nav class="navbar navbar-light navbar-expand-lg bg-light fixed-top bd-navbar" id="navbar-main"><div class="container-xl">
<a class="navbar-brand" href="../../contents.html">
<p class="title">pyminer</p>
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar-menu" aria-controls="navbar-menu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbar-menu" class="col-lg-9 collapse navbar-collapse">
<ul id="navbar-main-elements" class="navbar-nav mr-auto">
<li class="toctree-l1 nav-item">
<a class="reference internal nav-link" href="../../pyminer/index.html">
主程序部分
</a>
</li>
<li class="toctree-l1 nav-item">
<a class="reference internal nav-link" href="../../pmg/index.html">
界面部分
</a>
</li>
<li class="toctree-l1 nav-item">
<a class="reference internal nav-link" href="../../alg/index.html">
算法部分
</a>
</li>
<li class="toctree-l1 current active nav-item">
<a class="reference internal nav-link" href="../index.html">
插件部分
</a>
</li>
<li class="toctree-l1 nav-item">
<a class="reference internal nav-link" href="../../dev/index.html">
开发工具部分
</a>
</li>
<li class="toctree-l1 nav-item">
<a class="reference internal nav-link" href="../../contribute/index.html">
参与贡献
</a>
</li>
</ul>
<ul id="navbar-icon-links" class="navbar-nav" aria-label="Icon Links">
</ul>
</div>
</div>
</nav>
<div class="container-xl">
<div class="row">
<!-- Only show if we have sidebars configured, else just a small margin -->
<div class="col-12 col-md-3 bd-sidebar"><form class="bd-search d-flex align-items-center" action="../../search.html" method="get">
<i class="icon fas fa-search"></i>
<input type="search" class="form-control" name="q" id="search-input" placeholder="Search the docs ..." aria-label="Search the docs ..." autocomplete="off" >
</form>
<nav class="bd-links" id="bd-docs-nav" aria-label="Main navigation">
<div class="bd-toc-item active">
<ul class="current nav bd-sidenav">
<li class="toctree-l2">
<a class="reference internal" href="../document_server/index.html">
帮助文档服务器
</a>
</li>
<li class="toctree-l2">
<a class="reference internal" href="../drawings_toolbar/index.html">
pyminer2.extensions.packages.drawings_toolbar
</a>
</li>
<li class="toctree-l2">
<a class="reference internal" href="../embedded_browser/index.html">
内嵌浏览器
</a>
</li>
<li class="toctree-l2">
<a class="reference internal" href="../extension_demo/index.html">
pyminer2.extensions.packages.extension_demo
</a>
</li>
<li class="toctree-l2">
<a class="reference internal" href="../file_tree/index.html">
pyminer2.extensions.packages.file_tree
</a>
</li>
<li class="toctree-l2">
<a class="reference internal" href="../graph_agg/index.html">
pyminer2.extensions.packages.graph_agg
</a>
</li>
<li class="toctree-l2">
<a class="reference internal" href="../ipython_console/index.html">
IPython控制台
</a>
</li>
<li class="toctree-l2">
<a class="reference internal" href="../jupyter_notebook_support/index.html">
pyminer2.extensions.packages.jupyter_notebook_support
</a>
</li>
<li class="toctree-l2">
<a class="reference internal" href="../pm_helpLinkEngine/index.html">
pyminer2.extensions.packages.pm_helpLinkEngine
</a>
</li>
<li class="toctree-l2">
<a class="reference internal" href="../pm_marketplace/index.html">
pyminer2.extensions.packages.pm_marketplace
</a>
</li>
<li class="toctree-l2">
<a class="reference internal" href="../pm_modelling/index.html">
pyminer2.extensions.packages.pm_modelling
</a>
</li>
<li class="toctree-l2">
<a class="reference internal" href="../pm_statistics/index.html">
pyminer2.extensions.packages.pm_statistics
</a>
</li>
<li class="toctree-l2">
<a class="reference internal" href="../pmagg/index.html">
PMAgg绘图工具箱
</a>
</li>
<li class="toctree-l2">
<a class="reference internal" href="../qt_vditor/index.html">
pyminer2.extensions.packages.qt_vditor
</a>
</li>
<li class="toctree-l2">
<a class="reference internal" href="../setting_manager/index.html">
pyminer2.extensions.packages.setting_manager
</a>
</li>
<li class="toctree-l2">
<a class="reference internal" href="../socket_server/index.html">
Socket数据服务器
</a>
</li>
<li class="toctree-l2 current active">
<a class="reference internal" href="index.html">
pyminer2.extensions.packages.tool_box
</a>
<ul class="current">
<li class="toctree-l3 current active">
<a class="current reference internal" href="#">
pyminer2.extensions.packages.tool_box.WrapPanel
</a>
</li>
<li class="toctree-l3">
<a class="reference internal" href="main.html">
pyminer2.extensions.packages.tool_box.main
</a>
</li>
<li class="toctree-l3">
<a class="reference internal" href="tool_box.html">
pyminer2.extensions.packages.tool_box.tool_box
</a>
</li>
</ul>
</li>
<li class="toctree-l2">
<a class="reference internal" href="../workspace_inspector/index.html">
pyminer2.extensions.packages.workspace_inspector
</a>
</li>
</ul>
</div>
</nav>
</div>
<div class="d-none d-xl-block col-xl-2 bd-toc">
<nav id="bd-toc-nav">
</nav>
</div>
<main class="col-12 col-md-9 col-xl-7 py-md-5 pl-md-5 pr-md-4 bd-content" role="main">
<div>
<div class="section" id="module-pyminer2.extensions.packages.tool_box.WrapPanel">
<span id="pyminer2-extensions-packages-tool-box-wrappanel"></span><h1>pyminer2.extensions.packages.tool_box.WrapPanel<a class="headerlink" href="#module-pyminer2.extensions.packages.tool_box.WrapPanel" title="永久链接至标题"></a></h1>
<dl class="py class">
<dt id="pyminer2.extensions.packages.tool_box.WrapPanel.WrapPanel">
<em class="property">class </em><code class="sig-name descname">WrapPanel</code><a class="reference internal" href="../../_modules/pyminer2/extensions/packages/tool_box/WrapPanel.html#WrapPanel"><span class="viewcode-link">[源代码]</span></a><a class="headerlink" href="#pyminer2.extensions.packages.tool_box.WrapPanel.WrapPanel" title="永久链接至目标"></a></dt>
<dd><dl class="py method">
<dt id="pyminer2.extensions.packages.tool_box.WrapPanel.WrapPanel.resizeEvent">
<code class="sig-name descname">resizeEvent</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">a0</span><span class="p">:</span> <span class="n">PyQt5.QtGui.QResizeEvent</span></em><span class="sig-paren">)</span> &#x2192; None<a class="reference internal" href="../../_modules/pyminer2/extensions/packages/tool_box/WrapPanel.html#WrapPanel.resizeEvent"><span class="viewcode-link">[源代码]</span></a><a class="headerlink" href="#pyminer2.extensions.packages.tool_box.WrapPanel.WrapPanel.resizeEvent" title="永久链接至目标"></a></dt>
<dd><p>根据调整后的窗体大小,重绘控件位置
:param a0: 窗口重绘事件</p>
<dl class="field-list simple">
<dt class="field-odd">返回</dt>
<dd class="field-odd"><p></p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt id="pyminer2.extensions.packages.tool_box.WrapPanel.WrapPanel.add_button">
<code class="sig-name descname">add_button</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">btn_name</span><span class="p">:</span> <span class="n">str</span></em>, <em class="sig-param"><span class="n">btn_icon</span><span class="p">:</span> <span class="n">str</span></em>, <em class="sig-param"><span class="n">btn_w</span><span class="p">:</span> <span class="n">int</span></em>, <em class="sig-param"><span class="n">btn_h</span><span class="p">:</span> <span class="n">int</span></em>, <em class="sig-param"><span class="n">btn_action</span><span class="p">:</span> <span class="n">Callable</span></em><span class="sig-paren">)</span> &#x2192; None<a class="reference internal" href="../../_modules/pyminer2/extensions/packages/tool_box/WrapPanel.html#WrapPanel.add_button"><span class="viewcode-link">[源代码]</span></a><a class="headerlink" href="#pyminer2.extensions.packages.tool_box.WrapPanel.WrapPanel.add_button" title="永久链接至目标"></a></dt>
<dd></dd></dl>
</dd></dl>
</div>
</div>
<div class='prev-next-bottom'>
<a class='left-prev' id="prev-link" href="index.html" title="previous page">pyminer2.extensions.packages.tool_box</a>
<a class='right-next' id="next-link" href="main.html" title="next page">pyminer2.extensions.packages.tool_box.main</a>
</div>
</main>
</div>
</div>
<script src="../../_static/js/index.d8bbf5861d671d414e1a.js"></script>
<footer class="footer mt-5 mt-md-0">
<div class="container">
<p>
&copy; Copyright 2020, py2cn.<br/>
<a href="http://sphinx-doc.org/">Sphinx</a> 3.4.0+ 创建。<br/>
</p>
</div>
</footer>
</body>
</html>