본문 바로가기

Programming

(224)
[QT, QML] Pyside2 준비 qmlbook의 내용을 참고해서 진행했습니다. https://qmlbook.github.io/ch18-python/python.html 18. Qt for Python — Qt5 Cadaques Book vmaster 18. Qt for Python Section author: e8johan Note Last Build: June 26, 2019 at 07:15 CET The source code for this chapter can be found in the assets folder. This chapter describes the PySide2 module from the Qt for Python project. You will learn how to instal qmlbook.github.io 노..
[QT, QML] MVC 패턴으로 구현 # QT Version : 5.12 # QT Creatpr Version : 4.11 # Project name : mvc_design My_Github_Link jungmonster/qt_study_project Qt projects for my study. Contribute to jungmonster/qt_study_project development by creating an account on GitHub. github.com QML Context QQmlContext Class | Qt QML 5.14.2 QQmlContext Class The QQmlContext class defines a context within a QML engine. More... Header: #include qm..
[QT, QML] Signal, Slot 동기(synchronous), 비동기(Asynchronous) ynchronous), 비동기(Asynchronous) 작업 # QT Version : 5.12 # QT Creatpr Version : 4.11 # Project name : SignaSlot_Synchronos My_Github_Link jungmonster/qt_study_project Qt projects for my study. Contribute to jungmonster/qt_study_project development by creating an account on GitHub. github.com Qt에서는 signal, slot을 통해서 간단히 동기(Synchronous), 비동기(Asynchronous)를 확인할 수 있다. 동기(Synchronous) 간단히 PrintLog, TimerLog 클래스를 만들어 준다. PrintLog #includ..
[QT, QML] Signals Slots 사용하기 # QT Version : 5.12 # QT Creatpr Version : 4.11 # Project name : SignalSlot My_Github_Link jungmonster/qt_study_project Qt projects for my study. Contribute to jungmonster/qt_study_project development by creating an account on GitHub. github.com Qt에는 Signal Slot 이란 개념이 있다. Qt Signal Slot Document Signal-Slot은 아래 내용 정도로 정리할 수 있을 것 같다. meta-object system를 사용하는 Qt의 핵심 메커니즘 다른 toolkit의 call-back과 비슷..
[QT, QML] QML Component anchor # QT Version : 5.12 # QT Creatpr Version : 4.11 # Project name : anchor My_Github_Link jungmonster/qt_study_project Qt projects for my study. Contribute to jungmonster/qt_study_project development by creating an account on GitHub. github.com qml 에서 Component 위치를 잡을 때 x, y 값으로 할 도 있지만 component의 기준으로 위치를 잡을 수 있다. QT Document 위와 같이 값을 표현할 수 있는데 추가적으로 anchor.fill도 사용할 수 있다 anchor.fill을 사용하면 부모 컴포넌트..
[QT, QML] Translation 사용 # QT Version : 5.12 # QT Creatpr Version : 4.11 # Project name : project01 My_Github_Link jungmonster/qt_study_project Qt projects for my study. Contribute to jungmonster/qt_study_project development by creating an account on GitHub. github.com 1. 빈 프로젝트 생성 간단하게 빈 프로젝트를 만들고 중간에 글자를 넣어 준다. import QtQuick 2.12 import QtQuick.Window 2.12 Window { visible: true width: 640 height: 480 title: qsTr("He..
WSL2에 도커 설치 테스트 아래 블로그를 참고 해서 설치를 진행했다. https://hiseon.me/linux/ubuntu/install-docker/ 우분투에서 docker 설치 방법 - HiSEON 우분투에서 docker 설치 방법 우분투 16.04 또는 우분투 18.04 버전에서 도커 docker-ce 버전을 설치하는 방법을 설명드립니다. 그리고 여러버전의 CUDA Toolkit을 사용할 수 있도록 nvidia-docker를 추가적으로 설치하는 방법에 대해 설명드립니다. hiseon.me 설치 완료 후 docker 실행 sudo service docker start docker 종료 sudo service docker stop 버전 확인 docker --version hello-world 실행 docker run hello..
[QT, QML] QML Component load 순서 # QT Version : 5.12 # QT Creatpr Version : 4.11 # Project name : project01My_Github_Link qml은 여러 Component를 이용해서 구성한다. 특정 Component가 로드 완료되면 completed() 시그널을 발상하는데 이를 이용해서 로드가 완료된 것을 확인할 수 있다. 이때 어려 Component가 포함 관계일 때 completed() 호출 순서를 확인해 보았다. 간단한 Window 구성... import QtQuick 2.12 import QtQuick.Window 2.12 Window { visible: true width: 640 height: 480 title: qsTr("Hello World") Component.onCo..