알쓸전컴(알아두면 쓸모있는 전자 컴퓨터)
QPrinter for QTextEdit 예제 본문
QPrinter for QTextEdit
- // If I send it to the clipboard and paste it in excel it looks fine.
- printer.setFullPage(true);
- if (text.textCursor().hasSelection()){
- }
- printDialog.setWindowTitle(tr("Printer"));
- text.print(&printer);
- }
'QT' 카테고리의 다른 글
QThread 안에서 Event 동기화 코드 (0) | 2018.07.14 |
---|---|
QVector QList 등등 자료 구조 메모리 리셋 qDeleteAll() (0) | 2018.07.01 |
Qt json 파싱 with webpage(ajax) 간단 사용법 (0) | 2018.04.09 |
ubuntu qt 필요 라이브러리 path 설정하기 (0) | 2018.03.23 |
signal 동기화가 필요할때 (0) | 2018.03.21 |
Comments