#include <MultiLayer.h>
Note that several parts of the code, as well as the user interface, refer to MultiLayer as "graph" or "plot", practically guaranteeing confusion with the classes Graph and Plot.
The main problem to be figured out for this is how Graph would interface with the rest of the project. A possible solution is outlined in the documentation of ApplicationWindow: If MultiLayer exposes its parent Project to the widgets it manages, they could handle things like creating tables by calling methods of Project instead of sending signals.
Public Types | |
enum | HorAlignement { HCenter, Left, Right } |
enum | VertAlignement { VCenter, Top, Bottom } |
Public Slots | |
void | activateGraph (LayerButton *button) |
Graph * | activeLayer () |
Graph * | addLayer (int x=0, int y=0, int width=0, int height=0) |
void | adjustSize () |
void | arrangeLayers (bool fit, bool userSize) |
QSize | arrangeLayers (bool userSize) |
int | bottomMargin () |
int | colsSpacing () |
void | confirmRemoveLayer () |
void | connectLayer (Graph *g) |
void | findBestLayout (int &rows, int &cols) |
int | getCols () |
int | getRows () |
int | horizontalAlignement () |
bool | isEmpty () |
QSize | layerCanvasSize () |
int | leftMargin () |
void | removeLayer () |
int | rightMargin () |
int | rowsSpacing () |
QString | saveAsTemplate (const QString &geometryInfo) |
QString | saveToString (const QString &geometry, bool=false) |
void | setActiveLayer (Graph *g) |
void | setAlignement (int ha, int va) |
void | setCols (int c) |
void | setFonts (const QFont &titleFnt, const QFont &scaleFnt, const QFont &numbersFnt, const QFont &legendFnt) |
void | setGraphGeometry (int x, int y, int w, int h) |
void | setLayerCanvasSize (int w, int h) |
void | setMargins (int lm, int rm, int tm, int bm) |
void | setRows (int r) |
void | setSpacing (int rgap, int cgap) |
bool | swapLayers (int src, int dest) |
int | topMargin () |
int | verticalAlignement () |
Print and Export | |
QPixmap | canvasPixmap () |
void | copyAllLayers () |
void | exportImage (const QString &fileName, int quality=100, bool transparent=false) |
void | exportPDF (const QString &fname) |
void | exportSVG (const QString &fname) |
void | exportToFile (const QString &fileName) |
void | exportVector (const QString &fileName, int res=0, bool color=true, bool keepAspect=true, QPrinter::PageSize pageSize=QPrinter::Custom) |
void | print () |
void | printActiveLayer () |
void | printAllLayers (QPainter *painter) |
Signals | |
void | createTable (const QString &, int, int, const QString &) |
void | currentFontChanged (const QFont &) |
void | cursorInfo (const QString &) |
void | drawLineEnded (bool) |
void | drawTextOff () |
void | enableTextEditor (Graph *) |
void | modifiedPlot () |
void | pasteMarker () |
void | setPointerCursor () |
void | showAxisDialog (int) |
void | showAxisTitleDialog () |
void | showCurveContextMenu (QwtPlotCurve *) |
void | showCurvesDialog () |
void | showGraphContextMenu () |
void | showImageDialog () |
void | showLineDialog () |
void | showMarkerPopupMenu () |
void | showPlotDialog (int) |
void | showScaleDialog (int) |
void | showTextDialog () |
void | viewTitleDialog () |
Public Member Functions | |
QRect | canvasRect () |
void | copy (MultiLayer *ml) |
Graph * | layer (int num) |
int | layerIndex (Graph *g) |
QList< Graph * > | layersList () |
MultiLayer (ApplicationWindow *parent=0, int layers=1, int rows=1, int cols=1, const QString &label="", const char *name=0, Qt::WFlags f=0) | |
int | numLayers () |
void | printCropmarks (bool on) |
bool | printCropmarksEnabled () |
bool | scaleLayersOnPrint () |
bool | scaleLayersOnResize () |
void | setNumLayers (int n) |
void | setScaleLayersOnPrint (bool on) |
void | setScaleLayersOnResize (bool ok) |
Private Member Functions | |
LayerButton * | addLayerButton () |
Event Handlers | |
bool | eventFilter (QObject *object, QEvent *) |
Filters other object's events (customizes title bar's context menu). | |
bool | focusNextPrevChild (bool next) |
void | keyPressEvent (QKeyEvent *) |
void | releaseLayer () |
void | resizeLayers (QResizeEvent *) |
void | wheelEvent (QWheelEvent *) |
Private Attributes | |
Graph * | active_graph |
int | bottom_margin |
QList< LayerButton * > | buttonsList |
QWidget * | canvas |
int | colsSpace |
int | d_cols |
Used for resizing of layers. | |
QPointer< SelectionMoveResizer > | d_layers_selector |
bool | d_print_cropmarks |
int | d_rows |
bool | d_scale_layers |
Flag telling if layers should be rescaled on the plot window is resized by the user. | |
bool | d_scale_on_print |
int | graph_height |
int | graph_width |
QList< Graph * > | graphsList |
int | hor_align |
int | l_canvas_height |
int | l_canvas_width |
QHBoxLayout * | layerButtonsBox |
int | left_margin |
int | right_margin |
int | rowsSpace |
int | top_margin |
int | vert_align |
MultiLayer::MultiLayer | ( | ApplicationWindow * | parent = 0 , |
|
int | layers = 1 , |
|||
int | rows = 1 , |
|||
int | cols = 1 , |
|||
const QString & | label = "" , |
|||
const char * | name = 0 , |
|||
Qt::WFlags | f = 0 | |||
) |
References addLayer(), bottom_margin, LayerButton::btnSize(), canvas, graph_height, graph_width, layerButtonsBox, left_margin, right_margin, and top_margin.
void MultiLayer::activateGraph | ( | LayerButton * | button | ) | [slot] |
Graph* MultiLayer::activeLayer | ( | ) | [inline, slot] |
References active_graph.
Referenced by FunctionDialog::acceptFunction(), FunctionDialog::acceptParametric(), FunctionDialog::acceptPolar(), ApplicationWindow::addErrorBars(), ApplicationWindow::addFunctionCurve(), ApplicationWindow::addImage(), Filter::addResultCurve(), Correlation::addResultCurve(), Convolution::addResultCurve(), ApplicationWindow::addText(), ApplicationWindow::addTimeStamp(), ApplicationWindow::analysis(), LineProfileTool::calculateLineProfile(), ApplicationWindow::copyActiveLayer(), ApplicationWindow::copyMarker(), ApplicationWindow::copySelection(), Filter::createOutputGraph(), ApplicationWindow::cutSelection(), ApplicationWindow::defineErrorBars(), ApplicationWindow::drawArrow(), ApplicationWindow::drawLine(), Filter::enableGraphicsDisplay(), ApplicationWindow::fitLinear(), ApplicationWindow::fitMultiPeak(), MultiPeakFit::generateFitCurve(), Fit::generateFitCurve(), ApplicationWindow::hideCurve(), ApplicationWindow::hideOtherCurves(), ApplicationWindow::intensityTable(), ApplicationWindow::loadImage(), ApplicationWindow::movePoints(), ApplicationWindow::multilayerPlot(), ApplicationWindow::newFunctionPlot(), ApplicationWindow::newGraph(), ApplicationWindow::newLegend(), FFT::output(), Differentiation::output(), ApplicationWindow::pasteSelection(), ApplicationWindow::pixelLineProfile(), ApplicationWindow::plotHistogram(), ApplicationWindow::plotImage(), ApplicationWindow::plotSpectrogram(), ApplicationWindow::removeCurve(), ApplicationWindow::removePoints(), ApplicationWindow::removeWindowFromLists(), ApplicationWindow::setAutoScale(), ApplicationWindow::setBoldFont(), ApplicationWindow::setCurveFullRange(), ApplicationWindow::setFontFamily(), ApplicationWindow::setFontSize(), ApplicationWindow::setItalicFont(), PlotDialog::setMultiLayer(), ApplicationWindow::showAllCurves(), Fit::showConfidenceLimits(), ApplicationWindow::showCursor(), ApplicationWindow::showCurveContextMenu(), ApplicationWindow::showCurveRangeDialog(), ApplicationWindow::showCurveWorksheet(), ApplicationWindow::showDataSetDialog(), ApplicationWindow::showExpDecayDialog(), ApplicationWindow::showFilterDialog(), ApplicationWindow::showFitDialog(), ApplicationWindow::showFitPolynomDialog(), ApplicationWindow::showFunctionDialog(), ApplicationWindow::showGraphContextMenu(), ApplicationWindow::showImageDialog(), ApplicationWindow::showIntegrationDialog(), ApplicationWindow::showInterpolationDialog(), ApplicationWindow::showLineDialog(), ApplicationWindow::showMarkerPopupMenu(), ApplicationWindow::showPlotDialog(), Fit::showPredictionLimits(), ApplicationWindow::showRangeSelectors(), Fit::showResiduals(), ApplicationWindow::showSmoothDialog(), ApplicationWindow::showTextDialog(), ApplicationWindow::translateCurveHor(), ApplicationWindow::translateCurveVert(), ApplicationWindow::zoomIn(), and ApplicationWindow::zoomOut().
Graph * MultiLayer::addLayer | ( | int | x = 0 , |
|
int | y = 0 , |
|||
int | width = 0 , |
|||
int | height = 0 | |||
) | [slot] |
References active_graph, addLayerButton(), canvas, colsSpace, connectLayer(), d_cols, d_rows, graphsList, left_margin, right_margin, rowsSpace, and top_margin.
Referenced by ApplicationWindow::addLayer(), copy(), ImportOPJ::importGraphs(), MultiLayer(), ApplicationWindow::openGraph(), ApplicationWindow::pasteSelection(), and setNumLayers().
LayerButton * MultiLayer::addLayerButton | ( | ) | [private] |
References activateGraph(), buttonsList, graphsList, layerButtonsBox, and showCurvesDialog().
Referenced by addLayer().
void MultiLayer::adjustSize | ( | ) | [slot] |
References LayerButton::btnSize(), and canvas.
void MultiLayer::arrangeLayers | ( | bool | fit, | |
bool | userSize | |||
) | [slot] |
References arrangeLayers(), bottom_margin, LayerButton::btnSize(), canvas, d_cols, d_layers_selector, d_rows, findBestLayout(), graphsList, left_margin, modifiedPlot(), and right_margin.
QSize MultiLayer::arrangeLayers | ( | bool | userSize | ) | [slot] |
References Graph::autoscaleFonts(), Bottom, bottom_margin, canvas, colsSpace, d_cols, d_rows, graphsList, HCenter, hor_align, l_canvas_height, l_canvas_width, Left, left_margin, Right, right_margin, rowsSpace, Graph::setAutoscaleFonts(), Top, top_margin, VCenter, and vert_align.
Referenced by ApplicationWindow::addLayer(), arrangeLayers(), ApplicationWindow::autoArrangeLayers(), confirmRemoveLayer(), ApplicationWindow::multilayerPlot(), and LayerDialog::update().
int MultiLayer::bottomMargin | ( | ) | [inline, slot] |
QPixmap MultiLayer::canvasPixmap | ( | ) | [slot] |
References canvas, graphsList, and Graph::print().
Referenced by copyAllLayers(), and exportImage().
QRect MultiLayer::canvasRect | ( | ) | [inline] |
References canvas.
Referenced by ApplicationWindow::addLayer(), exportVector(), print(), and printAllLayers().
int MultiLayer::colsSpacing | ( | ) | [inline, slot] |
void MultiLayer::confirmRemoveLayer | ( | ) | [slot] |
References arrangeLayers(), graphsList, and removeLayer().
Referenced by ApplicationWindow::deleteLayer().
void MultiLayer::connectLayer | ( | Graph * | g | ) | [slot] |
References createTable(), currentFontChanged(), cursorInfo(), drawLineEnded(), drawTextOff(), enableTextEditor(), modifiedPlot(), setActiveLayer(), showAxisDialog(), showAxisTitleDialog(), MdiSubWindow::showContextMenu(), showCurveContextMenu(), showGraphContextMenu(), showImageDialog(), showLineDialog(), showMarkerPopupMenu(), showPlotDialog(), showScaleDialog(), showTextDialog(), and viewTitleDialog().
Referenced by addLayer().
void MultiLayer::copy | ( | MultiLayer * | ml | ) |
References addLayer(), Graph::autoscaleFonts(), bottomMargin(), colsSpacing(), Graph::copy(), horizontalAlignement(), layersList(), leftMargin(), rightMargin(), rowsSpacing(), setAlignement(), Graph::setAutoscaleFonts(), setMargins(), setSpacing(), topMargin(), and verticalAlignement().
Referenced by ApplicationWindow::clone().
void MultiLayer::copyAllLayers | ( | ) | [slot] |
References canvasPixmap(), d_layers_selector, and graphsList.
Referenced by ApplicationWindow::copySelection().
void MultiLayer::createTable | ( | const QString & | , | |
int | , | |||
int | , | |||
const QString & | ||||
) | [signal] |
Referenced by connectLayer().
void MultiLayer::currentFontChanged | ( | const QFont & | ) | [signal] |
Referenced by connectLayer().
void MultiLayer::cursorInfo | ( | const QString & | ) | [signal] |
Referenced by connectLayer().
void MultiLayer::drawLineEnded | ( | bool | ) | [signal] |
Referenced by connectLayer().
void MultiLayer::drawTextOff | ( | ) | [signal] |
Referenced by connectLayer().
void MultiLayer::enableTextEditor | ( | Graph * | ) | [signal] |
Referenced by connectLayer().
bool MultiLayer::eventFilter | ( | QObject * | object, | |
QEvent * | e | |||
) | [private] |
Filters other object's events (customizes title bar's context menu).
Reimplemented from MdiSubWindow.
References active_graph, Graph::activeText(), canvas, d_layers_selector, Graph::deselect(), MdiSubWindow::eventFilter(), graphsList, modifiedPlot(), resizeLayers(), Graph::selectedScale(), setActiveLayer(), and Graph::titleSelected().
void MultiLayer::exportImage | ( | const QString & | fileName, | |
int | quality = 100 , |
|||
bool | transparent = false | |||
) | [slot] |
References canvasPixmap().
Referenced by ApplicationWindow::exportAllGraphs(), ApplicationWindow::exportGraph(), and exportToFile().
void MultiLayer::exportPDF | ( | const QString & | fname | ) | [virtual, slot] |
void MultiLayer::exportSVG | ( | const QString & | fname | ) | [slot] |
References canvas, graphsList, and Graph::print().
Referenced by ApplicationWindow::exportAllGraphs(), ApplicationWindow::exportGraph(), and exportToFile().
void MultiLayer::exportToFile | ( | const QString & | fileName | ) | [slot] |
References exportImage(), exportSVG(), and exportVector().
void MultiLayer::exportVector | ( | const QString & | fileName, | |
int | res = 0 , |
|||
bool | color = true , |
|||
bool | keepAspect = true , |
|||
QPrinter::PageSize | pageSize = QPrinter::Custom | |||
) | [slot] |
References canvas, canvasRect(), graphsList, Graph::minPageSize(), and Graph::print().
Referenced by ApplicationWindow::exportAllGraphs(), ApplicationWindow::exportGraph(), exportPDF(), and exportToFile().
void MultiLayer::findBestLayout | ( | int & | rows, | |
int & | cols | |||
) | [slot] |
bool MultiLayer::focusNextPrevChild | ( | bool | next | ) | [private] |
References active_graph, and Graph::focusNextPrevChild().
int MultiLayer::getCols | ( | ) | [inline, slot] |
References d_cols.
Referenced by ApplicationWindow::clone(), LayerDialog::setMultiLayer(), and LayerDialog::update().
int MultiLayer::getRows | ( | ) | [inline, slot] |
References d_rows.
Referenced by ApplicationWindow::clone(), LayerDialog::setMultiLayer(), and LayerDialog::update().
int MultiLayer::horizontalAlignement | ( | ) | [inline, slot] |
bool MultiLayer::isEmpty | ( | ) | [slot] |
References graphsList.
Referenced by ApplicationWindow::addErrorBars(), ApplicationWindow::addFunctionCurve(), ApplicationWindow::addImage(), ApplicationWindow::addTimeStamp(), ApplicationWindow::drawArrow(), ApplicationWindow::drawLine(), ApplicationWindow::drawPoints(), ApplicationWindow::exportAllGraphs(), ApplicationWindow::exportGraph(), ApplicationWindow::fitMultiPeak(), ApplicationWindow::movePoints(), ApplicationWindow::newLegend(), ApplicationWindow::removePoints(), ApplicationWindow::setAutoScale(), ApplicationWindow::showCursor(), ApplicationWindow::showLayerDialog(), ApplicationWindow::showRangeSelectors(), ApplicationWindow::showScreenReader(), ApplicationWindow::translateCurveHor(), ApplicationWindow::translateCurveVert(), ApplicationWindow::zoomIn(), and ApplicationWindow::zoomOut().
void MultiLayer::keyPressEvent | ( | QKeyEvent * | e | ) | [private] |
References active_graph, d_layers_selector, graphsList, setActiveLayer(), and MdiSubWindow::showContextMenu().
Graph * MultiLayer::layer | ( | int | num | ) |
References graphsList.
Referenced by LegendWidget::getCurve(), swapLayers(), and LayerDialog::update().
QSize MultiLayer::layerCanvasSize | ( | ) | [inline, slot] |
References l_canvas_height, and l_canvas_width.
Referenced by LayerDialog::setMultiLayer(), and LayerDialog::update().
int MultiLayer::layerIndex | ( | Graph * | g | ) | [inline] |
QList<Graph *> MultiLayer::layersList | ( | ) | [inline] |
References graphsList.
Referenced by PlotDialog::acceptParams(), PlotDialog::changeMargin(), copy(), ApplicationWindow::drawPoints(), ApplicationWindow::multilayerDependencies(), ApplicationWindow::multilayerPlot(), PlotDialog::pickBackgroundColor(), PlotDialog::pickBorderColor(), PlotDialog::pickCanvasColor(), PlotDialog::setMultiLayer(), ApplicationWindow::showCursor(), ApplicationWindow::showScreenReader(), PlotDialog::updateAntialiasing(), PlotDialog::updateBackgroundTransparency(), PlotDialog::updateBorder(), PlotDialog::updateCanvasTransparency(), AxesDialog::updateGrid(), and ApplicationWindow::zoomIn().
int MultiLayer::leftMargin | ( | ) | [inline, slot] |
void MultiLayer::modifiedPlot | ( | ) | [signal] |
Referenced by arrangeLayers(), connectLayer(), eventFilter(), removeLayer(), resizeLayers(), setFonts(), setGraphGeometry(), setNumLayers(), swapLayers(), and wheelEvent().
int MultiLayer::numLayers | ( | ) | [inline] |
void MultiLayer::pasteMarker | ( | ) | [signal] |
void MultiLayer::print | ( | ) | [virtual, slot] |
Reimplemented from MdiSubWindow.
References MdiSubWindow::applicationWindow(), MdiSubWindow::aspect(), canvas, canvasRect(), and printAllLayers().
void MultiLayer::printActiveLayer | ( | ) | [slot] |
void MultiLayer::printAllLayers | ( | QPainter * | painter | ) | [slot] |
References canvas, canvasRect(), d_print_cropmarks, d_scale_on_print, graphsList, and Graph::print().
Referenced by print().
void MultiLayer::printCropmarks | ( | bool | on | ) | [inline] |
References d_print_cropmarks.
Referenced by PlotDialog::acceptParams(), and ApplicationWindow::initMultilayerPlot().
bool MultiLayer::printCropmarksEnabled | ( | ) | [inline] |
void MultiLayer::releaseLayer | ( | ) | [private] |
void MultiLayer::removeLayer | ( | ) | [slot] |
References active_graph, Graph::activeTool(), buttonsList, graphsList, modifiedPlot(), setPointerCursor(), and Graph::zoomOn().
Referenced by confirmRemoveLayer().
void MultiLayer::resizeLayers | ( | QResizeEvent * | re | ) | [private] |
References MdiSubWindow::applicationWindow(), Graph::autoscaleFonts(), bottom_margin, canvas, d_scale_layers, graphsList, left_margin, modifiedPlot(), right_margin, Graph::scaleFonts(), and top_margin.
Referenced by eventFilter().
int MultiLayer::rightMargin | ( | ) | [inline, slot] |
int MultiLayer::rowsSpacing | ( | ) | [inline, slot] |
QString MultiLayer::saveAsTemplate | ( | const QString & | geometryInfo | ) | [virtual, slot] |
QString MultiLayer::saveToString | ( | const QString & | geometry, | |
bool | saveAsTemplate = false | |||
) | [virtual, slot] |
Reimplemented from MdiSubWindow.
References MdiSubWindow::birthDate(), bottom_margin, MdiSubWindow::captionPolicy(), colsSpace, d_cols, d_rows, graphsList, hor_align, l_canvas_height, l_canvas_width, left_margin, right_margin, rowsSpace, Graph::saveToString(), top_margin, vert_align, and MdiSubWindow::windowLabel().
Referenced by saveAsTemplate().
bool MultiLayer::scaleLayersOnPrint | ( | ) | [inline] |
bool MultiLayer::scaleLayersOnResize | ( | ) | [inline] |
References d_scale_layers.
void MultiLayer::setActiveLayer | ( | Graph * | g | ) | [slot] |
References active_graph, buttonsList, d_layers_selector, Graph::deselect(), and graphsList.
Referenced by connectLayer(), eventFilter(), and keyPressEvent().
void MultiLayer::setAlignement | ( | int | ha, | |
int | va | |||
) | [slot] |
References hor_align, and vert_align.
Referenced by ApplicationWindow::appendProject(), copy(), ApplicationWindow::openProject(), and LayerDialog::update().
void MultiLayer::setCols | ( | int | c | ) | [slot] |
void MultiLayer::setFonts | ( | const QFont & | titleFnt, | |
const QFont & | scaleFnt, | |||
const QFont & | numbersFnt, | |||
const QFont & | legendFnt | |||
) | [slot] |
References graphsList, modifiedPlot(), Graph::setAxisFont(), Graph::setAxisTitle(), LegendWidget::setFont(), and Graph::textsList().
Referenced by PlotDialog::acceptParams().
void MultiLayer::setGraphGeometry | ( | int | x, | |
int | y, | |||
int | w, | |||
int | h | |||
) | [slot] |
void MultiLayer::setLayerCanvasSize | ( | int | w, | |
int | h | |||
) | [slot] |
References l_canvas_height, and l_canvas_width.
Referenced by ApplicationWindow::appendProject(), ApplicationWindow::openProject(), and LayerDialog::update().
void MultiLayer::setMargins | ( | int | lm, | |
int | rm, | |||
int | tm, | |||
int | bm | |||
) | [slot] |
References bottom_margin, left_margin, right_margin, and top_margin.
Referenced by ApplicationWindow::appendProject(), ApplicationWindow::autoArrangeLayers(), copy(), ApplicationWindow::openProject(), and LayerDialog::update().
void MultiLayer::setNumLayers | ( | int | n | ) |
References active_graph, Graph::activeTool(), addLayer(), buttonsList, graphsList, modifiedPlot(), setPointerCursor(), and Graph::zoomOn().
Referenced by LayerDialog::update().
void MultiLayer::setPointerCursor | ( | ) | [signal] |
Referenced by removeLayer(), and setNumLayers().
void MultiLayer::setRows | ( | int | r | ) | [slot] |
void MultiLayer::setScaleLayersOnPrint | ( | bool | on | ) | [inline] |
References d_scale_on_print.
Referenced by PlotDialog::acceptParams(), and ApplicationWindow::initMultilayerPlot().
void MultiLayer::setScaleLayersOnResize | ( | bool | ok | ) | [inline] |
References d_scale_layers.
void MultiLayer::setSpacing | ( | int | rgap, | |
int | cgap | |||
) | [slot] |
References colsSpace, and rowsSpace.
Referenced by ApplicationWindow::appendProject(), ApplicationWindow::autoArrangeLayers(), copy(), ApplicationWindow::openProject(), and LayerDialog::update().
void MultiLayer::showAxisDialog | ( | int | ) | [signal] |
Referenced by connectLayer().
void MultiLayer::showAxisTitleDialog | ( | ) | [signal] |
Referenced by connectLayer().
void MultiLayer::showCurveContextMenu | ( | QwtPlotCurve * | ) | [signal] |
Referenced by connectLayer().
void MultiLayer::showCurvesDialog | ( | ) | [signal] |
Referenced by addLayerButton().
void MultiLayer::showGraphContextMenu | ( | ) | [signal] |
Referenced by connectLayer().
void MultiLayer::showImageDialog | ( | ) | [signal] |
Referenced by connectLayer().
void MultiLayer::showLineDialog | ( | ) | [signal] |
Referenced by connectLayer().
void MultiLayer::showMarkerPopupMenu | ( | ) | [signal] |
Referenced by connectLayer().
void MultiLayer::showPlotDialog | ( | int | ) | [signal] |
Referenced by connectLayer().
void MultiLayer::showScaleDialog | ( | int | ) | [signal] |
Referenced by connectLayer().
void MultiLayer::showTextDialog | ( | ) | [signal] |
Referenced by connectLayer().
bool MultiLayer::swapLayers | ( | int | src, | |
int | dest | |||
) | [slot] |
int MultiLayer::topMargin | ( | ) | [inline, slot] |
int MultiLayer::verticalAlignement | ( | ) | [inline, slot] |
void MultiLayer::viewTitleDialog | ( | ) | [signal] |
Referenced by connectLayer().
void MultiLayer::wheelEvent | ( | QWheelEvent * | e | ) | [private] |
References graphsList, and modifiedPlot().
Graph* MultiLayer::active_graph [private] |
int MultiLayer::bottom_margin [private] |
Referenced by arrangeLayers(), bottomMargin(), MultiLayer(), resizeLayers(), saveToString(), and setMargins().
QList<LayerButton *> MultiLayer::buttonsList [private] |
Referenced by activateGraph(), addLayerButton(), removeLayer(), setActiveLayer(), and setNumLayers().
QWidget* MultiLayer::canvas [private] |
Referenced by addLayer(), adjustSize(), arrangeLayers(), canvasPixmap(), canvasRect(), eventFilter(), exportSVG(), exportVector(), MultiLayer(), print(), printAllLayers(), and resizeLayers().
int MultiLayer::colsSpace [private] |
Referenced by addLayer(), arrangeLayers(), colsSpacing(), saveToString(), and setSpacing().
int MultiLayer::d_cols [private] |
Used for resizing of layers.
Referenced by addLayer(), arrangeLayers(), getCols(), saveToString(), and setCols().
QPointer<SelectionMoveResizer> MultiLayer::d_layers_selector [private] |
Referenced by arrangeLayers(), copyAllLayers(), eventFilter(), keyPressEvent(), and setActiveLayer().
bool MultiLayer::d_print_cropmarks [private] |
Referenced by printActiveLayer(), printAllLayers(), printCropmarks(), and printCropmarksEnabled().
int MultiLayer::d_rows [private] |
Referenced by addLayer(), arrangeLayers(), getRows(), saveToString(), and setRows().
bool MultiLayer::d_scale_layers [private] |
Flag telling if layers should be rescaled on the plot window is resized by the user.
Referenced by resizeLayers(), scaleLayersOnResize(), and setScaleLayersOnResize().
bool MultiLayer::d_scale_on_print [private] |
Referenced by printActiveLayer(), printAllLayers(), scaleLayersOnPrint(), and setScaleLayersOnPrint().
int MultiLayer::graph_height [private] |
Referenced by MultiLayer().
int MultiLayer::graph_width [private] |
Referenced by MultiLayer().
QList<Graph *> MultiLayer::graphsList [private] |
Referenced by activateGraph(), addLayer(), addLayerButton(), arrangeLayers(), canvasPixmap(), confirmRemoveLayer(), copyAllLayers(), eventFilter(), exportSVG(), exportVector(), findBestLayout(), isEmpty(), keyPressEvent(), layer(), layerIndex(), layersList(), numLayers(), printAllLayers(), removeLayer(), resizeLayers(), saveToString(), setActiveLayer(), setFonts(), setNumLayers(), swapLayers(), and wheelEvent().
int MultiLayer::hor_align [private] |
Referenced by arrangeLayers(), horizontalAlignement(), saveToString(), and setAlignement().
int MultiLayer::l_canvas_height [private] |
Referenced by arrangeLayers(), layerCanvasSize(), saveToString(), and setLayerCanvasSize().
int MultiLayer::l_canvas_width [private] |
Referenced by arrangeLayers(), layerCanvasSize(), saveToString(), and setLayerCanvasSize().
QHBoxLayout* MultiLayer::layerButtonsBox [private] |
Referenced by addLayerButton(), and MultiLayer().
int MultiLayer::left_margin [private] |
Referenced by addLayer(), arrangeLayers(), leftMargin(), MultiLayer(), resizeLayers(), saveToString(), and setMargins().
int MultiLayer::right_margin [private] |
Referenced by addLayer(), arrangeLayers(), MultiLayer(), resizeLayers(), rightMargin(), saveToString(), and setMargins().
int MultiLayer::rowsSpace [private] |
Referenced by addLayer(), arrangeLayers(), rowsSpacing(), saveToString(), and setSpacing().
int MultiLayer::top_margin [private] |
Referenced by addLayer(), arrangeLayers(), MultiLayer(), resizeLayers(), saveToString(), setMargins(), and topMargin().
int MultiLayer::vert_align [private] |
Referenced by arrangeLayers(), saveToString(), setAlignement(), and verticalAlignement().