전체
-
Dynamic Properties 를 이용한 스타일 적용이 안되는 경우에 대한 해결 방법dev/QT 2018. 11. 26. 10:02
Qt 스타일시트 기능중 Customizing Using Dynamic Properties 가 있음. http://doc.qt.io/qt-5/stylesheet-examples.html#customizing-using-dynamic-properties 생성자 등에서 처음 설정한 동적 프로퍼티 설정이 아닌 특정 이벤트의 결과로 동적으로 프로퍼티를 적용하면 원하는대로 스타일 적용이 되지 않음. 해결 방법. https://wiki.qt.io/Dynamic_Properties_and_Stylesheets
-
안드로이드에서 bluetooth le 데이터 손실 관련dev/android 2018. 11. 9. 10:48
http://www.toothpasteandbubblegum.com/blog/queued-data-bluetooth-le-android 블루투스 le 통신시 데이터를 큐에 넣고 write 시 락을 걸고 쓰기 후, onWrite 에서 락을 해제하는 방식으로 연속된 쓰기에 대한 보장을 위한 방식. 저자는 잘 동작한다고 했지만 내가 사용하는 장치에서는 연속된 쓰기시 여전히 데이터 손실이 발생하여.기존의 방식대로 100ms 의 딜레이를 두어 전송하는 방식을 사용함.
-
개발 속도를 향상시킬수 있는 자바스크립트용 VSCode 확장들dev/tool 2018. 4. 27. 10:08
Quokka.jsBracket Pair Colorizer and Indent RainbowSnippetsTodo HighlighterImport CostREST ClientAuto Close Tag and Auto Rename TagGitLensGit Project ManagerIndenticatorVSCode IconsDracula (Theme) 출처https://codeburst.io/top-javascript-vscode-extensions-for-faster-development-c687c39596f5
-
-
polymer data binding - Observable changesdev/etc 2016. 12. 15. 14:22
polymer 를 사용하여 data binding 을 하면 쉽게 data 를 UI 로 변경할 수 있다. 이후 binding 된 데이터를 변경하거나 새로운 데이터를 바인딩하여 UI 변경을 하려 할때 제대로 동작을 하지 않아 property 를 이용한 꼼수등을 쓰곤했다. polymer 에서는 observable changes 란 것이 있어 polymer 가 인식 할 수 있는 방식으로 data 변경을 해주는 방법이 있다. # {{index}} First name: {{item.first}} Last name: {{item.last}}위와 같이 바인딩된 상태에서 새로운 data 를 할당하거나 기존 데이터를 변경할 때, // unobservable subproperty changethis.address.stree..