<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>doloopwhile</author_name>
  <author_url>https://blog.hatena.ne.jp/doloopwhile/</author_url>
  <blog_title>None is None is None</blog_title>
  <blog_url>https://doloopwhile.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>文字の左右の空白が邪魔だったので、sizeHintを変更。 ただし、当然はみ出た文字は見えなくなる。 from PyQt4.QtCore import * from PyQt4.QtGui import * class SquareButton(QPushButton): def __init__(self, *a, **kw): QPushButton.__init__(self, *a, **kw) self.setSizePolicy(QSizePolicy.Fixed, QSizePolicy.Fixed) def sizeHint(self): sz = QPushButton.si…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdoloopwhile.hatenablog.com%2Fentry%2F20100212%2F1265928835&quot; title=&quot;正方形のPushButton - None is None is None&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>http://cdn-ak.f.st-hatena.com/images/fotolife/d/doloopwhile/20100212/20100212075129.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-02-12 07:53:55</published>
  <title>正方形のPushButton</title>
  <type>rich</type>
  <url>https://doloopwhile.hatenablog.com/entry/20100212/1265928835</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
