Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
NEXTAltair committed Oct 16, 2024
1 parent 8295551 commit d149b8b
Show file tree
Hide file tree
Showing 43 changed files with 2,959 additions and 324 deletions.
Binary file modified .doctrees/DatasetExportWidget.doctree
Binary file not shown.
Binary file modified .doctrees/DatasetOverviewWidget.doctree
Binary file not shown.
Binary file modified .doctrees/ImageTaggerWidget.doctree
Binary file not shown.
Binary file modified .doctrees/SettingsWidget.doctree
Binary file not shown.
Binary file modified .doctrees/TagFilterWidget.doctree
Binary file not shown.
Binary file modified .doctrees/ThumbnailSelectorWidget.doctree
Binary file not shown.
Binary file modified .doctrees/environment.pickle
Binary file not shown.
Binary file modified .doctrees/main.doctree
Binary file not shown.
Binary file modified .doctrees/module.config.doctree
Binary file not shown.
Binary file modified .doctrees/module.db.doctree
Binary file not shown.
2 changes: 1 addition & 1 deletion DatasetExportWidget.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<dd><p>ベースクラス: <code class="xref py py-class docutils literal notranslate"><span class="pre">QWidget</span></code>, <a class="reference internal" href="gui_file.DatasetExportWidget_ui.html#gui_file.DatasetExportWidget_ui.Ui_DatasetExportWidget" title="gui_file.DatasetExportWidget_ui.Ui_DatasetExportWidget"><code class="xref py py-class docutils literal notranslate"><span class="pre">Ui_DatasetExportWidget</span></code></a></p>
<dl class="py method">
<dt class="sig sig-object py" id="DatasetExportWidget.DatasetExportWidget.export_dataset">
<span class="sig-name descname"><span class="pre">export_dataset</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">export_dir</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">formats</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/DatasetExportWidget.html#DatasetExportWidget.export_dataset"><span class="viewcode-link"><span class="pre">[ソース]</span></span></a><a class="headerlink" href="#DatasetExportWidget.DatasetExportWidget.export_dataset" title="Link to this definition"></a></dt>
<span class="sig-name descname"><span class="pre">export_dataset</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">export_dir</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/DatasetExportWidget.html#DatasetExportWidget.export_dataset"><span class="viewcode-link"><span class="pre">[ソース]</span></span></a><a class="headerlink" href="#DatasetExportWidget.DatasetExportWidget.export_dataset" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py method">
Expand Down
12 changes: 11 additions & 1 deletion DatasetOverviewWidget.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,19 @@

<dl class="py method">
<dt class="sig sig-object py" id="DatasetOverviewWidget.DatasetOverviewWidget.initialize">
<span class="sig-name descname"><span class="pre">initialize</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">cm</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/DatasetOverviewWidget.html#DatasetOverviewWidget.initialize"><span class="viewcode-link"><span class="pre">[ソース]</span></span></a><a class="headerlink" href="#DatasetOverviewWidget.DatasetOverviewWidget.initialize" title="Link to this definition"></a></dt>
<span class="sig-name descname"><span class="pre">initialize</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">cm</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">idm</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/DatasetOverviewWidget.html#DatasetOverviewWidget.initialize"><span class="viewcode-link"><span class="pre">[ソース]</span></span></a><a class="headerlink" href="#DatasetOverviewWidget.DatasetOverviewWidget.initialize" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py method">
<dt class="sig sig-object py" id="DatasetOverviewWidget.DatasetOverviewWidget.load_images">
<span class="sig-name descname"><span class="pre">load_images</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">image_files</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/DatasetOverviewWidget.html#DatasetOverviewWidget.load_images"><span class="viewcode-link"><span class="pre">[ソース]</span></span></a><a class="headerlink" href="#DatasetOverviewWidget.DatasetOverviewWidget.load_images" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py method">
<dt class="sig sig-object py" id="DatasetOverviewWidget.DatasetOverviewWidget.on_filter_applied">
<span class="sig-name descname"><span class="pre">on_filter_applied</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">filter_conditions</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/DatasetOverviewWidget.html#DatasetOverviewWidget.on_filter_applied"><span class="viewcode-link"><span class="pre">[ソース]</span></span></a><a class="headerlink" href="#DatasetOverviewWidget.DatasetOverviewWidget.on_filter_applied" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py method">
<dt class="sig sig-object py" id="DatasetOverviewWidget.DatasetOverviewWidget.set_metadata_labels">
<span class="sig-name descname"><span class="pre">set_metadata_labels</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">metadata</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">image_path</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/DatasetOverviewWidget.html#DatasetOverviewWidget.set_metadata_labels"><span class="viewcode-link"><span class="pre">[ソース]</span></span></a><a class="headerlink" href="#DatasetOverviewWidget.DatasetOverviewWidget.set_metadata_labels" title="Link to this definition"></a></dt>
Expand Down Expand Up @@ -96,6 +101,11 @@
<span class="sig-name descname"><span class="pre">update_preview</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">image_path</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/DatasetOverviewWidget.html#DatasetOverviewWidget.update_preview"><span class="viewcode-link"><span class="pre">[ソース]</span></span></a><a class="headerlink" href="#DatasetOverviewWidget.DatasetOverviewWidget.update_preview" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py method">
<dt class="sig sig-object py" id="DatasetOverviewWidget.DatasetOverviewWidget.update_thumbnail_selector">
<span class="sig-name descname"><span class="pre">update_thumbnail_selector</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">image_paths</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/DatasetOverviewWidget.html#DatasetOverviewWidget.update_thumbnail_selector"><span class="viewcode-link"><span class="pre">[ソース]</span></span></a><a class="headerlink" href="#DatasetOverviewWidget.DatasetOverviewWidget.update_thumbnail_selector" title="Link to this definition"></a></dt>
<dd></dd></dl>

</dd></dl>

</section>
Expand Down
7 changes: 1 addition & 6 deletions ImageTaggerWidget.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,6 @@
<span class="sig-name descname"><span class="pre">on_dbSearchWidget_filterApplied</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">filter_conditions</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/ImageTaggerWidget.html#ImageTaggerWidget.on_dbSearchWidget_filterApplied"><span class="viewcode-link"><span class="pre">[ソース]</span></span></a><a class="headerlink" href="#ImageTaggerWidget.ImageTaggerWidget.on_dbSearchWidget_filterApplied" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py method">
<dt class="sig sig-object py" id="ImageTaggerWidget.ImageTaggerWidget.on_lowRescheckBox_clicked">
<span class="sig-name descname"><span class="pre">on_lowRescheckBox_clicked</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/ImageTaggerWidget.html#ImageTaggerWidget.on_lowRescheckBox_clicked"><span class="viewcode-link"><span class="pre">[ソース]</span></span></a><a class="headerlink" href="#ImageTaggerWidget.ImageTaggerWidget.on_lowRescheckBox_clicked" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py method">
<dt class="sig sig-object py" id="ImageTaggerWidget.ImageTaggerWidget.on_pushButtonGenerate_clicked">
<span class="sig-name descname"><span class="pre">on_pushButtonGenerate_clicked</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/ImageTaggerWidget.html#ImageTaggerWidget.on_pushButtonGenerate_clicked"><span class="viewcode-link"><span class="pre">[ソース]</span></span></a><a class="headerlink" href="#ImageTaggerWidget.ImageTaggerWidget.on_pushButtonGenerate_clicked" title="Link to this definition"></a></dt>
Expand Down Expand Up @@ -130,7 +125,7 @@

<dl class="py attribute">
<dt class="sig sig-object py" id="ImageTaggerWidget.ImageTaggerWidget.staticMetaObject">
<span class="sig-name descname"><span class="pre">staticMetaObject</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">PySide6.QtCore.QMetaObject(&quot;ImageTaggerWidget&quot;</span> <span class="pre">inherits</span> <span class="pre">&quot;QWidget&quot;:</span> <span class="pre">Methods:</span>&#160;&#160; <span class="pre">#33</span> <span class="pre">type=Slot,</span> <span class="pre">signature=on_comboBoxAPI_currentIndexChanged(int),</span> <span class="pre">parameters=int</span>&#160;&#160; <span class="pre">#34</span> <span class="pre">type=Slot,</span> <span class="pre">signature=on_comboBoxModel_currentTextChanged()</span>&#160;&#160; <span class="pre">#35</span> <span class="pre">type=Slot,</span> <span class="pre">signature=on_comboBoxTagFormat_currentTextChanged()</span>&#160;&#160; <span class="pre">#36</span> <span class="pre">type=Slot,</span> <span class="pre">signature=on_lowRescheckBox_clicked()</span>&#160;&#160; <span class="pre">#37</span> <span class="pre">type=Slot,</span> <span class="pre">signature=on_dbSearchWidget_filterApplied(QVariantMap),</span> <span class="pre">parameters=QVariantMap</span>&#160;&#160; <span class="pre">#38</span> <span class="pre">type=Slot,</span> <span class="pre">signature=single_image_selection(PyObject),</span> <span class="pre">parameters=PyObject</span>&#160;&#160; <span class="pre">#39</span> <span class="pre">type=Slot,</span> <span class="pre">signature=multiple_image_selection(QVariantList),</span> <span class="pre">parameters=QVariantList</span>&#160;&#160; <span class="pre">#40</span> <span class="pre">type=Slot,</span> <span class="pre">signature=on_textEditMainPrompt_textChanged()</span>&#160;&#160; <span class="pre">#41</span> <span class="pre">type=Slot,</span> <span class="pre">signature=on_textEditAddPrompt_textChanged()</span>&#160;&#160; <span class="pre">#42</span> <span class="pre">type=Slot,</span> <span class="pre">signature=on_pushButtonGenerate_clicked()</span>&#160;&#160; <span class="pre">#43</span> <span class="pre">type=Slot,</span> <span class="pre">signature=on_pushButtonSave_clicked()</span> <span class="pre">)</span></em><a class="headerlink" href="#ImageTaggerWidget.ImageTaggerWidget.staticMetaObject" title="Link to this definition"></a></dt>
<span class="sig-name descname"><span class="pre">staticMetaObject</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">PySide6.QtCore.QMetaObject(&quot;ImageTaggerWidget&quot;</span> <span class="pre">inherits</span> <span class="pre">&quot;QWidget&quot;:</span> <span class="pre">Methods:</span>&#160;&#160; <span class="pre">#33</span> <span class="pre">type=Slot,</span> <span class="pre">signature=on_comboBoxAPI_currentIndexChanged(int),</span> <span class="pre">parameters=int</span>&#160;&#160; <span class="pre">#34</span> <span class="pre">type=Slot,</span> <span class="pre">signature=on_comboBoxModel_currentTextChanged()</span>&#160;&#160; <span class="pre">#35</span> <span class="pre">type=Slot,</span> <span class="pre">signature=on_comboBoxTagFormat_currentTextChanged()</span>&#160;&#160; <span class="pre">#36</span> <span class="pre">type=Slot,</span> <span class="pre">signature=on_dbSearchWidget_filterApplied(QVariantMap),</span> <span class="pre">parameters=QVariantMap</span>&#160;&#160; <span class="pre">#37</span> <span class="pre">type=Slot,</span> <span class="pre">signature=single_image_selection(PyObject),</span> <span class="pre">parameters=PyObject</span>&#160;&#160; <span class="pre">#38</span> <span class="pre">type=Slot,</span> <span class="pre">signature=multiple_image_selection(QVariantList),</span> <span class="pre">parameters=QVariantList</span>&#160;&#160; <span class="pre">#39</span> <span class="pre">type=Slot,</span> <span class="pre">signature=on_textEditMainPrompt_textChanged()</span>&#160;&#160; <span class="pre">#40</span> <span class="pre">type=Slot,</span> <span class="pre">signature=on_textEditAddPrompt_textChanged()</span>&#160;&#160; <span class="pre">#41</span> <span class="pre">type=Slot,</span> <span class="pre">signature=on_pushButtonGenerate_clicked()</span>&#160;&#160; <span class="pre">#42</span> <span class="pre">type=Slot,</span> <span class="pre">signature=on_pushButtonSave_clicked()</span> <span class="pre">)</span></em><a class="headerlink" href="#ImageTaggerWidget.ImageTaggerWidget.staticMetaObject" title="Link to this definition"></a></dt>
<dd></dd></dl>

</dd></dl>
Expand Down
2 changes: 1 addition & 1 deletion SettingsWidget.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@

<dl class="py attribute">
<dt class="sig sig-object py" id="SettingsWidget.SettingsWidget.staticMetaObject">
<span class="sig-name descname"><span class="pre">staticMetaObject</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">PySide6.QtCore.QMetaObject(&quot;SettingsWidget&quot;</span> <span class="pre">inherits</span> <span class="pre">&quot;QWidget&quot;:</span> <span class="pre">Methods:</span>&#160;&#160; <span class="pre">#33</span> <span class="pre">type=Slot,</span> <span class="pre">signature=on_buttonSave_clicked()</span>&#160;&#160; <span class="pre">#34</span> <span class="pre">type=Slot,</span> <span class="pre">signature=on_buttonSaveAs_clicked()</span> <span class="pre">)</span></em><a class="headerlink" href="#SettingsWidget.SettingsWidget.staticMetaObject" title="Link to this definition"></a></dt>
<span class="sig-name descname"><span class="pre">staticMetaObject</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">PySide6.QtCore.QMetaObject(&quot;SettingsWidget&quot;</span> <span class="pre">inherits</span> <span class="pre">&quot;QWidget&quot;:</span> <span class="pre">Methods:</span>&#160;&#160; <span class="pre">#33</span> <span class="pre">type=Slot,</span> <span class="pre">signature=on_buttonSave_clicked()</span>&#160;&#160; <span class="pre">#34</span> <span class="pre">type=Slot,</span> <span class="pre">signature=on_buttonSaveAs_clicked()</span>&#160;&#160; <span class="pre">#35</span> <span class="pre">type=Slot,</span> <span class="pre">signature=on_lineEditOpenAiKey_editingFinished()</span>&#160;&#160; <span class="pre">#36</span> <span class="pre">type=Slot,</span> <span class="pre">signature=on_lineEditGoogleVisionKey_editingFinished()</span>&#160;&#160; <span class="pre">#37</span> <span class="pre">type=Slot,</span> <span class="pre">signature=on_lineEditAnthropicKey_editingFinished()</span>&#160;&#160; <span class="pre">#38</span> <span class="pre">type=Slot,</span> <span class="pre">signature=on_lineEditHfUsername_editingFinished()</span>&#160;&#160; <span class="pre">#39</span> <span class="pre">type=Slot,</span> <span class="pre">signature=on_lineEditHfRepoName_editingFinished()</span>&#160;&#160; <span class="pre">#40</span> <span class="pre">type=Slot,</span> <span class="pre">signature=on_lineEditHfToken_editingFinished()</span>&#160;&#160; <span class="pre">#41</span> <span class="pre">type=Slot,</span> <span class="pre">signature=connect_custom_widgets()</span>&#160;&#160; <span class="pre">#42</span> <span class="pre">type=Slot,</span> <span class="pre">signature=on_dirPickerOutput_changed()</span>&#160;&#160; <span class="pre">#43</span> <span class="pre">type=Slot,</span> <span class="pre">signature=on_dirPickerResponse_changed()</span>&#160;&#160; <span class="pre">#44</span> <span class="pre">type=Slot,</span> <span class="pre">signature=on_dirPickerEditedOutput_changed()</span>&#160;&#160; <span class="pre">#45</span> <span class="pre">type=Slot,</span> <span class="pre">signature=on_filePickerLogFile_changed()</span> <span class="pre">)</span></em><a class="headerlink" href="#SettingsWidget.SettingsWidget.staticMetaObject" title="Link to this definition"></a></dt>
<dd></dd></dl>

</dd></dl>
Expand Down
4 changes: 3 additions & 1 deletion TagFilterWidget.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,9 @@
filter_text: str,
resolution: int,
use_and: bool,
count_range: tuple</p>
count_range: tuple,
include_untagged: bool,
include_nsfw</p>
</dd>
</dl>
<p>}</p>
Expand Down
2 changes: 1 addition & 1 deletion ThumbnailSelectorWidget.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
<dl class="py method">
<dt class="sig sig-object py" id="ThumbnailSelectorWidget.ThumbnailSelectorWidget.resizeEvent">
<span class="sig-name descname"><span class="pre">resizeEvent</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">event</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/ThumbnailSelectorWidget.html#ThumbnailSelectorWidget.resizeEvent"><span class="viewcode-link"><span class="pre">[ソース]</span></span></a><a class="headerlink" href="#ThumbnailSelectorWidget.ThumbnailSelectorWidget.resizeEvent" title="Link to this definition"></a></dt>
<dd><p>ウィジェットがリサイズされたときにサムネイルのレイアウトを更新します
<dd><p>ウィジェットがリサイズされたときにタイマーをリセットします
:type event:
:param event: リサイズイベント
:type event: QResizeEvent</p>
Expand Down
Loading

0 comments on commit d149b8b

Please sign in to comment.