PythonでGUIを作るにはいろんなライブラリがあります。 これから少しづつPyQt6について記事を書いていきます。 それぞれ一長一短なのですがPyQt6は、機能が多くGUI以外にも便利ですので取り上げました。 色々なGUI かなり私の主観が入っていますのでご了承 ...
PyQt6 QLabel QLabel is a widget that is used to display text or images. It is essentially a widget for showing a static text or an image on the user interface. PyQt6 QPushButton The push button, or ...
Load or draw a background mockup (like a Figma export or hand-drawn wireframe). Draw, move, and resize overlay boxes designating widgets (Button, Label, Input, etc.). Annotate each box with type, ID, ...
今回はOpenCVで読み込んだ画像を「Qt」で作成したウィンドウ上に表示する。公式サイトは以下だが、ざっと概要を見るにはWikipediaのほうがわかりやすい。 OpenCVで読み込んだ「画像オブジェクト(numpy.ndarray)」から「QImageオブジェクト」を作ればよい。なお ...