<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dungeonneko</author_name>
  <author_url>https://blog.hatena.ne.jp/dungeonneko/</author_url>
  <blog_title>Hello World / plɹoM ollǝH</blog_title>
  <blog_url>https://dungeonneko.hatenablog.com/</blog_url>
  <categories>
    <anon>PySide</anon>
  </categories>
  <description>Dockの生成削除込みでQSettings保存 適当に調べた QSettingsを使用してWidgetの位置やサイズを保存できる 復元する前にWidgetを生成してobjectNameを設定しておく必要がある DockWidgetを追加・削除できるプログラムではその状況も保存する必要がある QMainWindow::restoreDockWidget関数はコレジャナイ感 あっ、もしかしてDockWidgetの復元は自分でやらないといけない？ 必要な処理 初期化時に設定ファイルがあったら前回の内容を復元 前回生成されていたDockWidgetの復元 restoreGeometry restore…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdungeonneko.hatenablog.com%2Fentry%2F2017%2F04%2F21%2F003237&quot; title=&quot;PySide: Save and Restore QDockWidgets - Hello World / plɹoM ollǝH&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-04-21 00:32:37</published>
  <title>PySide: Save and Restore QDockWidgets</title>
  <type>rich</type>
  <url>https://dungeonneko.hatenablog.com/entry/2017/04/21/003237</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
