티스토리 뷰
paperSizeCombo->addItem(tr("A0 (841 x 1189 mm)"), QPrinter::A0);
paperSizeCombo->addItem(tr("A1 (594 x 841 mm)"), QPrinter::A1);
paperSizeCombo->addItem(tr("A2 (420 x 594 mm)"), QPrinter::A2);
paperSizeCombo->addItem(tr("A3 (297 x 420 mm)"), QPrinter::A3);
paperSizeCombo->addItem(tr("A4 (210 x 297 mm, 8.26 x 11.7 inches)"), QPrinter::A4);
paperSizeCombo->addItem(tr("A5 (148 x 210 mm)"), QPrinter::A5);
paperSizeCombo->addItem(tr("A6 (105 x 148 mm)"), QPrinter::A6);
paperSizeCombo->addItem(tr("A7 (74 x 105 mm)"), QPrinter::A7);
paperSizeCombo->addItem(tr("A8 (52 x 74 mm)"), QPrinter::A8);
paperSizeCombo->addItem(tr("A9 (37 x 52 mm)"), QPrinter::A9);
paperSizeCombo->addItem(tr("B0 (1000 x 1414 mm)"), QPrinter::B0);
paperSizeCombo->addItem(tr("B1 (707 x 1000 mm)"), QPrinter::B1);
paperSizeCombo->addItem(tr("B2 (500 x 707 mm)"), QPrinter::B2);
paperSizeCombo->addItem(tr("B3 (353 x 500 mm)"), QPrinter::B3);
paperSizeCombo->addItem(tr("B4 (250 x 353 mm)"), QPrinter::B4);
paperSizeCombo->addItem(tr("B5 (176 x 250 mm, 6.93 x 9.84 inches)"), QPrinter::B5);
paperSizeCombo->addItem(tr("B6 (125 x 176 mm)"), QPrinter::B6);
paperSizeCombo->addItem(tr("B7 (88 x 125 mm)"), QPrinter::B7);
paperSizeCombo->addItem(tr("B8 (62 x 88 mm)"), QPrinter::B8);
paperSizeCombo->addItem(tr("B9 (44 x 62 mm)"), QPrinter::B9);
paperSizeCombo->addItem(tr("B10 (31 x 44 mm)"), QPrinter::B10);
paperSizeCombo->addItem(tr("C5E (163 x 229 mm)"), QPrinter::C5E);
paperSizeCombo->addItem(tr("DLE (110 x 220 mm)"), QPrinter::DLE);
paperSizeCombo->addItem(tr("Executive (7.5 x 10 inches, 191 x 254 mm)"), QPrinter::Executive);
paperSizeCombo->addItem(tr("Folio (210 x 330 mm)"), QPrinter::Folio);
paperSizeCombo->addItem(tr("Ledger (432 x 279 mm)"), QPrinter::Ledger);
paperSizeCombo->addItem(tr("Legal (8.5 x 14 inches, 216 x 356 mm)"), QPrinter::Legal);
paperSizeCombo->addItem(tr("Letter (8.5 x 11 inches, 216 x 279 mm)"), QPrinter::Letter);
paperSizeCombo->addItem(tr("Tabloid (279 x 432 mm)"), QPrinter::Tabloid);
paperSizeCombo->addItem(tr("US Common #10 Envelope (105 x 241 mm)"), QPrinter::Comm10E);
paperSizeCombo->setCurrentIndex(paperSizeCombo->findData(QPrinter::A4));
paperOrientationCombo->addItem(tr("Portrait"), QPrinter::Portrait);
paperOrientationCombo->addItem(tr("Landscape"), QPrinter::Landscape);
출처 : http://doc.trolltech.com/4.2/painting-fontsampler-previewdialog-cpp.html
'Development Environment' 카테고리의 다른 글
XMLCereal-0.0.5 컴파일 (0) | 2011.09.08 |
---|---|
Vim에서 SCons 파일 Python 문법으로 Syntax highlighting (0) | 2011.08.24 |
Dev-C++이나 MSVC++ Express에서 resource 파일을 포함시키는 것 잊지 말기 (0) | 2009.09.18 |
MSVC에서 메모리 누수(memory leak) 관리하기 (0) | 2009.07.31 |
Windows에서 Subversion 사용하기 (계속 작성 중) (0) | 2009.07.10 |
- Total
- Today
- Yesterday
- how to solve it
- TensorBoard
- CanDrA
- Python
- matrix multiplication
- QPrinter.A4
- armadillo c++
- dll
- Visual C++
- destructor
- tensorflow
- volume dial
- C++
- QT
- Item 9
- cython
- 볼륨 조절
- 설치
- GSX 1200 pro
- 이상한 문자
- Accelerated C++
- 볼륨 낮춤
- QPrinter.Letter
- PyQt
- MSVC++
- TCGA
- GSX 1000 pro
- structure
- pandas
- ctypes
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |