-
QML <-> CPP 함수 호출Qt 2022. 8. 10. 10:38
signal slot CPP -> QML CPP QML invokeMethod QML -> CPP 함수선언에 Q_INVOKEABLE 붙임 ?? 호출시 goekd C++ 클래스(Test)생성 헤더파일에 signal 함수 선언 signal: void testSignal(bool status); qmlReterType으로 해당 C++ 클래스를 QML import 리스트에 등록 qmlRegisterType("TestHeader", 1, 0, "TestClass"); QML파일에서 해당 클래스를 import하여 등록 import TestHeader 1.0 QML파일에 해당 클래스 생성 TestClass{ } QML 파일의 해당 클래스에 slot 함수 생성(이름은 CPP파일의 slot함수명에 on과 대문자를 붙임)..
-
[Git] 특정 폴더 or 특정 파일 무시하여 업로드Git 2021. 11. 2. 15:46
1. 프로젝트 최상위 폴더(.git폴더가 존재하는 선상)에서 .gitignore 파일 생성 vi .gitignore 2. .gitignore 파일 작성 # 특정 폴더 무시 Release # 특정 파일 무시 tags GTATH GRTAGS GTAGS cscope.out # 특정 확장자 무시 *.mk *.elf *.bin ※ #은 주석을 처리할 때 사용한다. 3. 적용 git add . git commit -m "ignore folder and file git push -u origin master ※ 이미 git의 관리가 되어있는 폴더나 파일은 캐쉬를 지워주고 적용해야한다. 폴더인 경우 git rm --cached Release -r 파일인 경우 git rm --cached tags git rm --cac..
-
영상 오류영상처리 2021. 8. 30. 12:09
aliasing(위신호, 계단 현상) https://ko.wikipedia.org/wiki/%EC%9C%84%EC%8B%A0%ED%98%B8 위신호 - 위키백과, 우리 모두의 백과사전 문자열 A의 위신호의 예 (Times New Roman): 왼쪽이 위신호 영상, 오른쪽이 위신호 제거 영상. 위신호 현상(僞信號, 영어: aliasing 에일리어싱[*])은 신호 처리에서 표본화를 하는 가운데 각기 다른 신호 ko.wikipedia.org 해결책 https://ko.wikipedia.org/wiki/%EC%9C%84%EC%8B%A0%ED%98%B8_%EC%A0%9C%EA%B1%B0 위신호 제거 - 위키백과, 우리 모두의 백과사전 안티앨리어싱 적용 전(왼쪽)과 후(오른쪽) 안티앨리어싱의 적용 예 위신호 제거(..
-
Windows ctags/cscopeVim 2021. 5. 16. 19:03
1. vim 설치 https://www.vim.org/download.php download : vim online Downloading Vim Vim is available for many different systems and there are several versions. This page will help you decide what to download. Most popular: Details and options for: Mirrors Alternative sites to download Vim files from. Sources Build Vim your www.vim.org or 2. git 설치 https://git-scm.com/downloads Git - Downloads Downl..
-
Windows GNU GlobalVim 2021. 4. 22. 19:29
Download www.gnu.org/software/global/ GNU Global source code tagging system Copyright (c) 2000-2018 Tama Communications CorporationPermission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 www.gnu.org glo665wb\share\gtags\gtags-cscope.vim 수정 " To use the default key/mouse mapping: " let GtagsCscope_Auto_Map = 1 " To i..