Original taken from $QTDIR/examples/canvas/canvas.cpp version 3.0
Copyright (C) 2001-2006 The Board of Trustees of The Leland Stanford Junior University. All Rights Reserved.
Definition in file FigureEditor.cxx.
#include "FigureEditor.h"
#include "QtGroupView.h"
#include "CanvasWindow.h"
#include "PickTable.h"
#include "plotters/PlotterBase.h"
#include <qapplication.h>
#include <qclipboard.h>
#include <qcursor.h>
#include <qimage.h>
#include <qdragobject.h>
#include <qwmatrix.h>
#include <qpaintdevicemetrics.h>
#include <qpainter.h>
#include <qprinter.h>
#include <qsettings.h>
#include <qstatusbar.h>
#include <algorithm>
#include <functional>
#include <cmath>
#include <cctype>
#include <cassert>
Go to the source code of this file.
Variables | |
static QPrinter::ColorMode | indexToColorMode [] |
An array to allow conversion of integer to enumeration. | |
static QPrinter::Orientation | indexToOrientation [] |
An array to allow conversion of integer to enumeration. | |
static QPrinter::PageSize | indexToPageSize [] |
An array to allow conversion of integer to enumeration. |
QPrinter::ColorMode indexToColorMode[] [static] |
Initial value:
{ QPrinter::GrayScale, QPrinter::Color }
Definition at line 103 of file FigureEditor.cxx.
Referenced by FigureEditor::initPrinter().
QPrinter::Orientation indexToOrientation[] [static] |
Initial value:
{ QPrinter::Portrait, QPrinter::Landscape }
Definition at line 95 of file FigureEditor.cxx.
Referenced by FigureEditor::initPrinter().
QPrinter::PageSize indexToPageSize[] [static] |
Initial value:
{ QPrinter::A4, QPrinter::B5, QPrinter::Letter, QPrinter::Legal, QPrinter::Executive, QPrinter::A0, QPrinter::A1, QPrinter::A2, QPrinter::A3, QPrinter::A5, QPrinter::A6, QPrinter::A7, QPrinter::A8, QPrinter::A9, QPrinter::B0, QPrinter::B1, QPrinter::B10, QPrinter::B2, QPrinter::B3, QPrinter::B4, QPrinter::B6, QPrinter::B7, QPrinter::B8, QPrinter::B9, QPrinter::C5E, QPrinter::Comm10E, QPrinter::DLE, QPrinter::Folio, QPrinter::Ledger, QPrinter::Tabloid, QPrinter::Custom, QPrinter::NPageSize }
Definition at line 78 of file FigureEditor.cxx.
Referenced by FigureEditor::initPrinter().