Skip to content

Commit

Permalink
bump version to 0.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
hanjinliu committed Jan 15, 2023
1 parent 90566e1 commit 84a6ce8
Show file tree
Hide file tree
Showing 13 changed files with 17 additions and 14 deletions.
Binary file modified docs/.doctrees/apidoc/tabulous.doctree
Binary file not shown.
Binary file modified docs/.doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/.doctrees/main/customize.doctree
Binary file not shown.
Binary file modified docs/.doctrees/main/register_action.doctree
Binary file not shown.
3 changes: 3 additions & 0 deletions docs/_modules/tabulous/_magicgui.html
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ <h1>Source code for tabulous._magicgui</h1><div class="highlight"><pre>
<span class="n">tooltip</span><span class="p">:</span> <span class="nb">str</span> <span class="o">|</span> <span class="kc">None</span> <span class="o">=</span> <span class="kc">None</span><span class="p">,</span>
<span class="n">visible</span><span class="p">:</span> <span class="nb">bool</span> <span class="o">|</span> <span class="kc">None</span> <span class="o">=</span> <span class="kc">None</span><span class="p">,</span>
<span class="n">enabled</span><span class="p">:</span> <span class="nb">bool</span> <span class="o">=</span> <span class="kc">True</span><span class="p">,</span>
<span class="n">show</span><span class="p">:</span> <span class="nb">bool</span> <span class="o">=</span> <span class="kc">False</span><span class="p">,</span>
<span class="p">):</span>
<span class="nb">super</span><span class="p">()</span><span class="o">.</span><span class="fm">__init__</span><span class="p">(</span>
<span class="n">widget_type</span><span class="o">=</span><span class="n">QBaseWidget</span><span class="p">,</span>
Expand All @@ -178,6 +179,8 @@ <h1>Source code for tabulous._magicgui</h1><div class="highlight"><pre>
<span class="n">mgui_native</span><span class="o">.</span><span class="n">setLayout</span><span class="p">(</span><span class="n">QtW</span><span class="o">.</span><span class="n">QVBoxLayout</span><span class="p">())</span>
<span class="n">mgui_native</span><span class="o">.</span><span class="n">layout</span><span class="p">()</span><span class="o">.</span><span class="n">addWidget</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">_qwidget</span><span class="p">)</span>
<span class="n">mgui_native</span><span class="o">.</span><span class="n">setContentsMargins</span><span class="p">(</span><span class="mi">0</span><span class="p">,</span> <span class="mi">0</span><span class="p">,</span> <span class="mi">0</span><span class="p">,</span> <span class="mi">0</span><span class="p">)</span>
<span class="k">if</span> <span class="n">show</span><span class="p">:</span>
<span class="bp">self</span><span class="o">.</span><span class="n">show</span><span class="p">(</span><span class="n">run</span><span class="o">=</span><span class="kc">False</span><span class="p">)</span>

<span class="nd">@property</span>
<span class="k">def</span> <span class="nf">native</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
Expand Down
6 changes: 3 additions & 3 deletions docs/_sources/main/customize.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ Each initializer object has similar attributes as the :class:`TableViewer` and
- :meth:`viewer.tables.register` ... register action to the tab bar.
- :meth:`table.index.register` ... register action to the vertical header.
- :meth:`table.columns.register` ... register action to the horizontal header.
- :meth:`table.cells.register` ... register action to the table cells.
- :meth:`viewer.commands.register` ... register command to the console.
- :meth:`table.cell.register` ... register action to the table cells.
- :meth:`viewer.command_palette.register` ... register command to the command palette.
- :meth:`viewer.keymap.register` ... register keybinding to the viewer.
- :meth:`table.keymap.register` ... register keybinding to each table.
- :meth:`table.keymap.register` ... register keybinding to a table.

2. Namespace update
- :meth:`viewer.cell_namespace.update` ... update the namespace in cells.
Expand Down
2 changes: 1 addition & 1 deletion docs/_sources/main/register_action.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ Custom Keybindings
Both viewers and tables have :attr:`keymap` attribute for keymap registration.

1. :meth:`viewer.keymap.register` ... register keybindings to the viewer.
2. :meth:`table.keymap.register` ... register keybindings to each table.
2. :meth:`table.keymap.register` ... register keybindings to a table.

.. code-block:: python
Expand Down
2 changes: 1 addition & 1 deletion docs/apidoc/tabulous.html
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this
<span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-tabulous" title="Permalink to this headline"></a></h2>
<dl class="py class">
<dt class="sig sig-object py" id="tabulous.MagicTableViewer">
<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">tabulous.</span></span><span class="sig-name descname"><span class="pre">MagicTableViewer</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="o"><span class="pre">*</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">tab_position</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">TabPosition</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">str</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">TabPosition.top</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">''</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">label</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">tooltip</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">None</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">visible</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">bool</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">None</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">enabled</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">bool</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">True</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/tabulous/_magicgui.html#MagicTableViewer"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#tabulous.MagicTableViewer" title="Permalink to this definition"></a></dt>
<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">tabulous.</span></span><span class="sig-name descname"><span class="pre">MagicTableViewer</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="o"><span class="pre">*</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">tab_position</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">TabPosition</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">str</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">TabPosition.top</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">''</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">label</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">tooltip</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">None</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">visible</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">bool</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">None</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">enabled</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">bool</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">True</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">show</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">bool</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">False</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/tabulous/_magicgui.html#MagicTableViewer"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#tabulous.MagicTableViewer" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">magicgui.widgets.bases._widget.Widget</span></code>, <a class="reference internal" href="tabulous.widgets.html#tabulous.widgets.TableViewerWidget" title="tabulous.widgets._mainwindow.TableViewerWidget"><code class="xref py py-class docutils literal notranslate"><span class="pre">tabulous.widgets._mainwindow.TableViewerWidget</span></code></a></p>
<p>A magicgui widget of table viewer.</p>
<p>This class is a subclass of <code class="docutils literal notranslate"><span class="pre">magicgui.widget.Widget</span></code> so that it can be used
Expand Down
6 changes: 3 additions & 3 deletions docs/main/customize.html
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,10 @@ <h2>Edit post_init.py<a class="headerlink" href="#edit-post-init-py" title="Perm
<li><p><code class="xref py py-meth docutils literal notranslate"><span class="pre">viewer.tables.register()</span></code> … register action to the tab bar.</p></li>
<li><p><code class="xref py py-meth docutils literal notranslate"><span class="pre">table.index.register()</span></code> … register action to the vertical header.</p></li>
<li><p><code class="xref py py-meth docutils literal notranslate"><span class="pre">table.columns.register()</span></code> … register action to the horizontal header.</p></li>
<li><p><code class="xref py py-meth docutils literal notranslate"><span class="pre">table.cells.register()</span></code> … register action to the table cells.</p></li>
<li><p><code class="xref py py-meth docutils literal notranslate"><span class="pre">viewer.commands.register()</span></code> … register command to the console.</p></li>
<li><p><code class="xref py py-meth docutils literal notranslate"><span class="pre">table.cell.register()</span></code> … register action to the table cells.</p></li>
<li><p><code class="xref py py-meth docutils literal notranslate"><span class="pre">viewer.command_palette.register()</span></code> … register command to the command palette.</p></li>
<li><p><code class="xref py py-meth docutils literal notranslate"><span class="pre">viewer.keymap.register()</span></code> … register keybinding to the viewer.</p></li>
<li><p><code class="xref py py-meth docutils literal notranslate"><span class="pre">table.keymap.register()</span></code> … register keybinding to each table.</p></li>
<li><p><code class="xref py py-meth docutils literal notranslate"><span class="pre">table.keymap.register()</span></code> … register keybinding to a table.</p></li>
</ul>
</dd>
</dl>
Expand Down
2 changes: 1 addition & 1 deletion docs/main/register_action.html
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ <h2><a class="toc-backref" href="#id6">Custom Keybindings</a><a class="headerlin
<p>Both viewers and tables have <code class="xref py py-attr docutils literal notranslate"><span class="pre">keymap</span></code> attribute for keymap registration.</p>
<ol class="arabic simple">
<li><p><code class="xref py py-meth docutils literal notranslate"><span class="pre">viewer.keymap.register()</span></code> … register keybindings to the viewer.</p></li>
<li><p><code class="xref py py-meth docutils literal notranslate"><span class="pre">table.keymap.register()</span></code> … register keybindings to each table.</p></li>
<li><p><code class="xref py py-meth docutils literal notranslate"><span class="pre">table.keymap.register()</span></code> … register keybindings to a table.</p></li>
</ol>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="kn">from</span> <span class="nn">tabulous</span> <span class="kn">import</span> <span class="n">TableViewer</span>

Expand Down
2 changes: 1 addition & 1 deletion docs/searchindex.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions rst/main/customize.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ Each initializer object has similar attributes as the :class:`TableViewer` and
- :meth:`viewer.tables.register` ... register action to the tab bar.
- :meth:`table.index.register` ... register action to the vertical header.
- :meth:`table.columns.register` ... register action to the horizontal header.
- :meth:`table.cells.register` ... register action to the table cells.
- :meth:`viewer.commands.register` ... register command to the console.
- :meth:`table.cell.register` ... register action to the table cells.
- :meth:`viewer.command_palette.register` ... register command to the command palette.
- :meth:`viewer.keymap.register` ... register keybinding to the viewer.
- :meth:`table.keymap.register` ... register keybinding to each table.
- :meth:`table.keymap.register` ... register keybinding to a table.

2. Namespace update
- :meth:`viewer.cell_namespace.update` ... update the namespace in cells.
Expand Down
2 changes: 1 addition & 1 deletion rst/main/register_action.rst
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ Custom Keybindings
Both viewers and tables have :attr:`keymap` attribute for keymap registration.

1. :meth:`viewer.keymap.register` ... register keybindings to the viewer.
2. :meth:`table.keymap.register` ... register keybindings to each table.
2. :meth:`table.keymap.register` ... register keybindings to a table.

.. code-block:: python
Expand Down

0 comments on commit 84a6ce8

Please sign in to comment.