| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 |
- 갈릴레오
- ares note
- Galileo Gen2
- DRS-0101
- Python
- lg smart recovery
- galileo
- 허큘렉스
- 동부로봇
- U-boot
- usb부팅
- 우분투
- pyside6
- Marsboard
- Cortex-M3
- ubuntu
- ICbanq
- QT
- Z435
- Boyue
- ft2232
- smartrobot board
- CMSIS
- emIDE
- 마스보드
- openocd
- fdisk
- 알쓸물치
- STM32F10x
- HerkuleX
- Today
- Total
목록pyside6 (6)
Life Seed
https://doc.qt.io/qtforpython-6/index.html 사이트의 Tutorial에 대한 내용을 정리입니다.Tutorials 를 클릭하여 확인할 수 있습니다. https://doc.qt.io/qtforpython-6/tutorials/index.html 이 번 예제에서는 QtDesigner를 통해 만든 ui 파일을 이용하여 GUI를 표현하는 두가지 방법에 대해 살펴볼 것입니다.첫번째는 pyside6-uic를 이용하여 ui파일을 py로 변환한 후 GUI를 표현하는 방법이며, 또 다른 한가지는 QUiLoader를 이용하여 ui파일을 direct로 읽어서 GUI를 표현하는 방법입니다. QT Designer로 구성한 화면입니다.mainwindow.ui 파일로 저장되며 다음과 같은 xml 코..
https://doc.qt.io/qtforpython-6/index.html 사이트의 Tutorial에 대한 내용을 정리입니다.Tutorials 를 클릭하여 확인할 수 있습니다. https://doc.qt.io/qtforpython-6/tutorials/index.html 이번 예제를 통해서 배울 수 있는 것은 다음과 같습니다.1. QDialog를 구성하는 코드들을 Class화 한다.2. QVBoxLayout을 이용한 Widget의 배치 3. 버튼을 연결하는 함수를 만들어서 실행 여기서 2,3번은 이미 앞선 예제에서 다루었던 부분이며, Class 로 구성하는 부분이 추가되었습니다. 1. 실행 결과 화면해당 과제를 진행하고 나면, 입력창과 버튼이 새로로 나열된 다이얼로그 화면이 실행된다.버튼을 클릭하면 ..
https://doc.qt.io/qtforpython-6/index.html 사이트의 Tutorial에 대한 내용을 정리입니다.Tutorials 를 클릭하여 확인할 수 있습니다. https://doc.qt.io/qtforpython-6/tutorials/index.html 1. Basic Button버튼을 클릭시 "Button clicked, Hello!" 라는 문구를 터미널에 출력한다. import sysfrom PySide6.QtWidgets import QApplication, QPushButtonfrom PySide6.QtCore import Slot# Greetings# The @Slot() is a decorator that identifies a function as a slot. # It ..
https://doc.qt.io/qtforpython-6/index.html 사이트의 Tutorial에 대한 내용을 정리한다. Tutorials 를 클릭하여 확인할 수 있다. 출처 :: Qt for Python Tutorials https://doc.qt.io/qtforpython-6/tutorials/index.html Tutorials - Qt for PythonBasic ui files Using .ui files from Designer or QtCreator with QUiLoader and pyside6-uicdoc.qt.io 오늘의 첫번째 예제는 QtWidgets 중 QLabel에 대한 사용예제이다.너무 심플한 예제라 설명할 것은 따로 없을 듯하다.일단 코드를 살펴보자.import sysf..
출처 : https://doc.qt.io/qtforpython-6/gettingstarted.html#getting-started Getting Started - Qt for PythonWhat is Qt Qt, QML, Widgets… What is the difference?doc.qt.io QT Application 중 QML을 이용한 첫번째 예제입니다. 1. QML 작성Example 폴더를 생성하여 Main.qml 이라는 파일로 QML Language file을 생성합니다.import QtQuickimport QtQuick.Controlsimport QtQuick.LayoutsWindow { width: 300 height: 200 visible: true title: "H..
출처 : https://doc.qt.io/qtforpython-6/gettingstarted.html#getting-started Getting Started - Qt for PythonWhat is Qt Qt, QML, Widgets… What is the difference?doc.qt.io 오늘은 설치된 Pyside API를 이용한 첫번째 어플리케이션입니다. 텍스트 창과 Click me! 라는 버튼으로 구성된 간단한 어플리케이션입니다.Click me! 버튼을 클릭할 때 마다 인사말이 다음과 같이 변경됩니다.["Hallo Welt" -> "Hei maailma" -> "Hola Mundo" -> "Привет мир" -> "Hallo Welt" ...] Source Codeimport sysimp..