{"image_url":"http://cdn-ak.f.st-hatena.com/images/fotolife/d/doloopwhile/20100212/20100212075129.png","provider_name":"Hatena Blog","width":"100%","blog_url":"https://doloopwhile.hatenablog.com/","title":"\u6b63\u65b9\u5f62\u306ePushButton","url":"https://doloopwhile.hatenablog.com/entry/20100212/1265928835","version":"1.0","type":"rich","categories":[],"provider_url":"https://hatena.blog","description":"\u6587\u5b57\u306e\u5de6\u53f3\u306e\u7a7a\u767d\u304c\u90aa\u9b54\u3060\u3063\u305f\u306e\u3067\u3001sizeHint\u3092\u5909\u66f4\u3002 \u305f\u3060\u3057\u3001\u5f53\u7136\u306f\u307f\u51fa\u305f\u6587\u5b57\u306f\u898b\u3048\u306a\u304f\u306a\u308b\u3002 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\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdoloopwhile.hatenablog.com%2Fentry%2F20100212%2F1265928835\" title=\"\u6b63\u65b9\u5f62\u306ePushButton - None is None is None\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2010-02-12 07:53:55","height":"190","author_url":"https://blog.hatena.ne.jp/doloopwhile/","blog_title":"None is None is None","author_name":"doloopwhile"}