OpenCV/PyQt5

PyQt5

Raccoon2125 2021. 1. 29. 10:32

1. PyQt5 기본 코드블럭 해석 ( QApplication(sys.argv), app.exec_() ) umnoni.com/3

 

동계산기 #2 | PyQt 실행코드 의미알기

1. 경로 정리 우선 강의 시작 전 경로부터 정리하겠습니다. 바탕화면에 PyQt5_study 폴더를 하나 생성 해 저번 강의 때 다운로드 받은 Form 폴더를 이동 시킵니다. 그리고 Form 폴더를 복사해서, FC(Floati

umnoni.com

2. .ui → .py 변환 m.blog.naver.com/PostView.nhn?blogId=smilewhj&logNo=221065882859&proxyReferer=https:%2F%2Fwww.google.com%2F

 

「Python : PyQt5」 Qt Designer : .ui → .py 변환

[ Python : PyQt5 ] Qt Designer : .ui 파일을 .py 로 변환PyQt 에서는 Qt Designer 라는 직관적...

blog.naver.com

ui 파일 변환 없이 바로 읽어들이기

from PyQt5.uic import loadUi

클래스 __init__ 내부에 작성 : loadUi('파일이름.ui',self)

 

※ designer 및 tools 설치 ( designer.exe 파일이 없거나 하위 모듈이 없을 경우 )

< cmd >

sudo apt-get install python3-pyqt5

sudo apt-get install qttools5-dev-tools

 

3. PyQt의 맥락 + Contents wikidocs.net/5222

 

위키독스

온라인 책을 제작 공유하는 플랫폼 서비스

wikidocs.net

wikidocs.net/book/2165

 

위키독스

온라인 책을 제작 공유하는 플랫폼 서비스

wikidocs.net

4. Widget, Signal, Slot opentutorials.org/module/544

 

예제로 배우는 PyQt

파이콘 한국 2018에 스피커로 참여합니다. https://www.pycon.kr/2018/program/48 PyQt로 만드는 웹기반 데스크탑 어플리케이션 예제로 배우는 PyQt는 사용자의 궁금증을 빠르게 해소할 수 없을까 하는 생각에

opentutorials.org

5. PyQt5 signal & slot doc.bccnsoft.com/docs/PyQt5/signals_slots.html

 

Support for Signals and Slots — PyQt 5.7 Reference Guide

Support for Signals and Slots One of the key features of Qt is its use of signals and slots to communicate between objects. Their use encourages the development of reusable components. A signal is emitted when something of potential interest happens. A slo

doc.bccnsoft.com

hnydiy.tistory.com/151

 

2. [Python] pyqtSignal

signal 순서 1. 선언 2. emit 3. connect import sys from PyQt5.QtWidgets import * from PyQt5.QtCore import * class signal_test(QObject): signal1 = pyqtSignal() def run(self): self.signal1.emit() class..

hnydiy.tistory.com

6. PyQt5 docs 공식 홈페이지 doc.qt.io/

 

Qt Documentation | Home

The future is written with Qt Welcome to the documentation pages for Qt, the cross-platform software development framework. External resources Qt Wiki Community-maintained Qt articles Qt Wiki Qt Forum Discussion board for Qt-related topics Qt Forum Bug Rep

doc.qt.io

※ paintsystem-devices, Qimage, QPaintDevice, Qtimer Class, QEventLoop, Qt.WidgetAttribute, QPainter, QMainWindow::setCentralWidget

https://doc.qt.io/archives/qt-4.8/paintsystem-devices.html

 

Paint Devices and Backends | Qt 4.8

Paint Devices and Backends Creating a Paint Device The QPaintDevice class is the base class of objects that can be painted, i.e. QPainter can draw on any QPaintDevice subclass. QPaintDevice's drawing capabilities are currently implemented by the QWidget, Q

doc.qt.io

https://doc.qt.io/qtforpython/PySide2/QtGui/QImage.htmldoc.qt.io/qt-6/qimage.html

 

QImage Class | Qt GUI 6.0.0

QImage Class The QImage class provides a hardware-independent image representation that allows direct access to the pixel data, and can be used as a paint device. More... Header: #include CMake: find_package(Qt6 COMPONENTS Gui REQUIRED) target_link_librari

doc.qt.io

https://doc.qt.io/qtforpython/PySide2/QtGui/QPaintDevice.htmldoc-snapshots.qt.io/qtforpython-dev/PySide2/QtGui/QPaintDevice.html

 

QPaintDevice — Qt for Python

QPaintDevice Inherited by: QtCharts.QChartView, QBitmap, QImage, QOpenGLWindow, QPagedPaintDevice, QPaintDeviceWindow, QPdfWriter, QPicture, QPixmap, QRasterWindow, QHelpContentWidget, QHelpIndexWidget, QHelpSearchQueryWidget, QHelpSearchResultWidget, QGLF

doc-snapshots.qt.io

https://doc.qt.io/qt-5/qtimer.html#singleShot-prop

 

QTimer Class | Qt Core 5.15.2

QTimer Class The QTimer class provides repetitive and single-shot timers. More... Header: #include qmake: QT += core Inherits: QObject Properties Public Functions Public Slots Signals Static Public Members void singleShot(int msec, const QObject *receiver,

doc.qt.io

https://doc.qt.io/qt-5/qeventloop-members.html

 

List of All Members for QEventLoop | Qt Core 5.15.2

enum ProcessEventsFlag flags ProcessEventsFlags QEventLoop(QObject *) deleteLater() destroyed(QObject *) objectNameChanged(const QString &) quit() ~QEventLoop() blockSignals(bool ) : bool childEvent(QChildEvent *) children() const : const QObjectList & con

doc.qt.io

https://doc.qt.io/archives/qtjambi-4.5.2_01/com/trolltech/qt/core/Qt.WidgetAttribute.html

 

Qt.WidgetAttribute

clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

doc.qt.io

https://doc.qt.io/qt-5/qpainter.html

 

QPainter Class | Qt GUI 5.15.2

 

doc.qt.io

https://doc.qt.io/qt-5/qmainwindow.html#setCentralWidget

 

QMainWindow Class | Qt Widgets 5.15.2

QMainWindow Class The QMainWindow class provides a main application window. More... Header: #include qmake: QT += widgets Inherits: QWidget Public Types enum DockOption { AnimatedDocks, AllowNestedDocks, AllowTabbedDocks, ForceTabbedDocks, VerticalTabs, Gr

doc.qt.io

7. QPainter www.gisdeveloper.co.kr/?p=8360

 

[PyQt5] QPainter를 이용한 다양한 그래픽 – GIS Developer

위젯은 자신을 다시 그릴때 paintEvent 함수를 호출합니다. 즉, 위젯에 무언가를 그리기에 가장 적당한 시점은 paintEvent입니다. 또한 여기에 그래픽 요소를 그리기 위해서 QPainter라는 API를 사용할 수

www.gisdeveloper.co.kr

8. QtDesigner → GUI 프로그래밍 blog.naver.com/PostView.nhn?blogId=lithium81&logNo=80123385021&parentCategoryNo=&categoryNo=32&viewDate=&isShowPopularPosts=false&from=postView

 

Qt Designer와 Python을 이용하여 PyQt4 GUI 프로그래밍 하기 #02

"Qt Designer와 Python을 이용해서 PyQt4 GUI 프로그래밍 하기 #01 (링크)"를 통해서 초간단하게 ...

blog.naver.com

9. PyQt example + pyqtslot + etc (가상화폐 example) wikidocs.net/21876

 

위키독스

온라인 책을 제작 공유하는 플랫폼 서비스

wikidocs.net