티스토리 툴바

http://qt-project.org/doc/qt-4.8/qpainter.html

warn 으로 검색해보면 아래와 같은 구문이 있다.

Warning: When the paintdevice is a widget, QPainter can only be used inside a paintEvent() function or in a function called by paintEvent(); that is unless the Qt::WA_PaintOutsidePaintEvent widget attribute is set. On Mac OS X and Windows, you can only paint in a paintEvent() function regardless of this attribute's setting.

paintEvent 밖에서 위젯에 paint 를 하려면 설정 변경이 필요한것 같다.

정확한 확인은 시간이 나면 테스트후 추가.

ps1.
위 플래그는 윈도우, 맥, 리눅스에서는 지원되지 않는다고 나와 있다.
paint 이벤트 안에서만 QPainter 를 생성 가능하므로 위젯을 상속해서 이벤트 재정의를 통해서만 그리기가 가능한것 같다.

'dev > QT' 카테고리의 다른 글

QPainter::begin: Paint device returned engine == 0, type: 1  (0) 2012/04/24
install Qt in Mac  (0) 2012/04/17
Qt IN USE  (0) 2012/03/30
qt setting  (0) 2012/03/29
qBound  (0) 2012/02/08
QT video tutorial  (0) 2012/01/04
Posted by 이라이너

Trackback Address :: http://kofmania.tistory.com/trackback/202 관련글 쓰기

댓글을 달아 주세요

install Qt in Mac

dev/QT 2012/04/17 15:25 |

맥에서 Qt 를 설치하는데 다음과 같은 오류로 설치가 안된다.

You need C++ compiler to be able to install QT SDK. Please install latest version Xcode first before invoking this installer

아래 사이트에서 해결책을 알려준다.

http://malypoeurplong.wordpress.com/2012/04/15/installing-qt-on-mac-os-x/

요약하자면 xcode 에서 Command Line Tools 를 설치하면 됨.


'dev > QT' 카테고리의 다른 글

QPainter::begin: Paint device returned engine == 0, type: 1  (0) 2012/04/24
install Qt in Mac  (0) 2012/04/17
Qt IN USE  (0) 2012/03/30
qt setting  (0) 2012/03/29
qBound  (0) 2012/02/08
QT video tutorial  (0) 2012/01/04
Posted by 이라이너

Trackback Address :: http://kofmania.tistory.com/trackback/201 관련글 쓰기

댓글을 달아 주세요

http://sourceforge.net/projects/qdcws/

'dev > DICOM' 카테고리의 다른 글

[todo]Qt4 Dicom Widget set  (0) 2012/04/10
DICOM pixel data  (0) 2012/01/30
DICOM Standard  (0) 2012/01/25
DICOM 관련  (0) 2009/02/04
Posted by 이라이너

Trackback Address :: http://kofmania.tistory.com/trackback/200 관련글 쓰기

댓글을 달아 주세요

[todo]CI tool jenkins

dev/tool 2012/04/05 11:43 |

http://jenkins-ci.org/

'dev > tool' 카테고리의 다른 글

[todo]CI tool jenkins  (0) 2012/04/05
Subversion 에서 Mercurial 로  (0) 2011/05/04
A Maturity Model for Source Control (SCMM)  (0) 2011/05/04
Git vs Mercurial  (0) 2011/05/04
분산 버전 제어 시스템 소개  (0) 2011/05/02
VisualSVN Server + Bitnami Redmine Stack  (2) 2011/04/25
Posted by 이라이너

Trackback Address :: http://kofmania.tistory.com/trackback/199 관련글 쓰기

댓글을 달아 주세요

Qt IN USE

dev/QT 2012/03/30 16:20 |

QT 를 이용한 개발 사례 조사 내용


qt 공식사이트에 다양한 개발사례들 링크가 있음.

http://qt.nokia.com/qt-in-use


Autodesk 사의 Maya 가 2011 버전부터 Qt 로 만들어짐.

http://area.autodesk.com/blogs/stevenr/maya_2011_highlight_qt_user_interface

http://qt.nokia.com/about/news/autodeskae-mayaae-2011-qt-helps-make-the-best-even-better


기타

구글 어스, 스카이프

'dev > QT' 카테고리의 다른 글

QPainter::begin: Paint device returned engine == 0, type: 1  (0) 2012/04/24
install Qt in Mac  (0) 2012/04/17
Qt IN USE  (0) 2012/03/30
qt setting  (0) 2012/03/29
qBound  (0) 2012/02/08
QT video tutorial  (0) 2012/01/04
Posted by 이라이너
TAG QT

Trackback Address :: http://kofmania.tistory.com/trackback/198 관련글 쓰기

댓글을 달아 주세요

qt setting

dev/QT 2012/03/29 15:02 |


QT_setting_kofmania.xml


'dev > QT' 카테고리의 다른 글

QPainter::begin: Paint device returned engine == 0, type: 1  (0) 2012/04/24
install Qt in Mac  (0) 2012/04/17
Qt IN USE  (0) 2012/03/30
qt setting  (0) 2012/03/29
qBound  (0) 2012/02/08
QT video tutorial  (0) 2012/01/04
Posted by 이라이너

Trackback Address :: http://kofmania.tistory.com/trackback/197 관련글 쓰기

댓글을 달아 주세요

http://blog.codeimproved.net/2009/03/the-large-scale-c-software-design-rules-in-practice/

Posted by 이라이너

Trackback Address :: http://kofmania.tistory.com/trackback/196 관련글 쓰기

댓글을 달아 주세요

qBound

dev/QT 2012/02/08 11:50 |

http://developer.qt.nokia.com/doc/qt-4.8/qtglobal.html#qBound

if(secs < 0) secs = 0; else if(secs > MaxSeconds) secs = MaxSeconds;

위 코드를

secs = qBound(0, secs, MaxSeconds);

로 대체가능하다.

'dev > QT' 카테고리의 다른 글

QPainter::begin: Paint device returned engine == 0, type: 1  (0) 2012/04/24
install Qt in Mac  (0) 2012/04/17
Qt IN USE  (0) 2012/03/30
qt setting  (0) 2012/03/29
qBound  (0) 2012/02/08
QT video tutorial  (0) 2012/01/04
Posted by 이라이너

Trackback Address :: http://kofmania.tistory.com/trackback/195 관련글 쓰기

댓글을 달아 주세요

DICOM pixel data

dev/DICOM 2012/01/30 15:40 |

Bits Allocated (0028,0100)

Bits Stored (0028,0101)

High Bit (0028,0102)

Pixel Data Element (7FE0,0010)

Image Number (0020,0013)

Samples per Pixel (0028,0002)

Rows (0028,0010)

Columns (0028,0011)

Center (0028,1050)

Width (0028,1051)

'dev > DICOM' 카테고리의 다른 글

[todo]Qt4 Dicom Widget set  (0) 2012/04/10
DICOM pixel data  (0) 2012/01/30
DICOM Standard  (0) 2012/01/25
DICOM 관련  (0) 2009/02/04
Posted by 이라이너
TAG dicom

Trackback Address :: http://kofmania.tistory.com/trackback/194 관련글 쓰기

댓글을 달아 주세요

DICOM Standard

dev/DICOM 2012/01/25 10:22 |

http://medical.nema.org/standard.html

'dev > DICOM' 카테고리의 다른 글

[todo]Qt4 Dicom Widget set  (0) 2012/04/10
DICOM pixel data  (0) 2012/01/30
DICOM Standard  (0) 2012/01/25
DICOM 관련  (0) 2009/02/04
Posted by 이라이너
TAG dicom

Trackback Address :: http://kofmania.tistory.com/trackback/193 관련글 쓰기

댓글을 달아 주세요