コンテンツにスキップ

PyQt

出典: フリー百科事典『ウィキペディア(Wikipedia)』
PyQt
Qt Designer
開発元 Riverbank Computing
最新版

6.6.1 / 2023年12月4日 (6か月前) (2023-12-04)[1]

プログラミング
言語
C++/Python[2]
対応OS クロスプラットフォーム
ライセンス GNU GPL and commercial
公式サイト riverbankcomputing.com
テンプレートを表示

PyQtGUIQtPythonPythonGUIPyQtPySidePyGTKwxPythonTkinterGUIQtPyQtPyQtPython

PyQtRiverbank ComputingGPLLGPL[3]PyQtWindowsLinuxmacOS[4]

PyQt4406000[5]

GUI

SQL (ODBC, MySQL, PostgreSQL, Oracle Database) 

QScintillaScintilla



XML

SVG

WindowsActiveX([6])

使SIP

Qt20098PySidePySidePyQtLGPLPyQt[7]PySideRiverbank Computing[8]
PyQt

PyQt[]


PyQt4Python

QtCore

QtGUIUnicode

QtGui

GUIModel View Controller2D

QtNetwork

UDPTCPFTPHTTPDNS

QtOpenGL

OpenGL

QtSql

SQLGUI使SQLite

QtSvg

SVG

QtXml

QtXMLSAXDOM

QtMultimedia

phonon使

QtDesigner

PyQtQt Designer

Qt

Qt使Qt使使

uic

Qt DesignerXMLXMLXMLPython[4]

Hello World[]

KDE Plasma 4
#! /usr/bin/env python
# -*- coding: utf-8 -*-
#
# Here we provide the necessary imports.
# The basic GUI widgets are located in QtGui module. 
import sys
from PyQt4.QtGui import *

# Every PyQt4 application must create an application object.
# The application object is located in the QtGui module.
a = QApplication(sys.argv)

# The QWidget widget is the base class of all user interface objects in PyQt4.
# We provide the default constructor for QWidget. The default constructor has no parent.
# A widget with no parent is called a window. 
w = QWidget()

w.resize(320, 240)  # The resize() method resizes the widget.
w.setWindowTitle("Hello, World!")  # Here we set the title for our window.
w.show()  # The show() method displays the widget on the screen.

sys.exit(a.exec_())  # Finally, we enter the mainloop of the application.

PyQtを用いたソフトウェア[編集]

関連項目[編集]

出典[編集]



(一)^ https://www.riverbankcomputing.com/news

(二)^ PyQt4 Download.  Riverbankcomputing (2010). 2010419

(三)^ Riverbank | Software | PyQt | License.  Riverbankcomputing.co.uk. 200993

(四)^ abRiverbank | Software | PyQt | What is PyQt?.  Riverbankcomputing.co.uk. 2010415

(五)^ PyQt v4 - Python Bindings for Qt v4.  Riverbankcomputing. 2010417

(六)^ PythonInfo Wiki

(七)^ PySide has been released  PySide  Python for Qt.  Pyside.org (2009818). 200993

(八)^ FAQ  PySide  Python for Qt.  Pyside.org. 200993

推薦文献[編集]

  • Summerfield, Mark (October 28, 2007), Rapid GUI Programming with Python and Qt (Covers PyQt4) (1st ed.), Prentice Hall, pp. 648, ISBN 978-0-13-235418-9, http://www.qtrac.eu/pyqtbook.html 
  • Rempt, Boudewijn (2002), GUI Programming with Python: QT Edition (Covers PyQt3), OpenDocs, http://www.commandprompt.com/community/pyqt/ 

外部リンク[編集]