#include <EnrichmentDialog.h>
Enumerator |
---|
Frame |
|
Text |
|
Image |
|
Tex |
|
MDIWindow |
|
Ellipse |
|
References apply(), cancelButton, clearButton, clearForm(), customButtons(), editPage, Ellipse, Frame, Image, imagePage, initEditorPage(), initFramePage(), initGeometryPage(), initImagePage(), initPatternPage(), initTextPage(), MDIWindow, patternPage, tabWidget, Tex, Text, textPage, and updateButton.
EnrichmentDialog::~EnrichmentDialog |
( |
| ) |
|
void EnrichmentDialog::accept |
( |
| ) |
|
|
inline |
References adjustHeight(), adjustWidth(), apply(), chooseImageFile(), clearForm(), createImage(), createTempTexFile(), customButtons(), customFont(), displayCompileError(), displayCoordinates(), fetchImage(), finishedCompiling(), frameApplyTo(), initEditorPage(), initFramePage(), initGeometryPage(), initImagePage(), initPatternPage(), initTextPage(), patternApplyTo(), saveImagesInternally(), setBestSize(), setCoordinates(), setFrameDefaultValues(), setFrameTo(), setPatternTo(), setRectangleDefaultValues(), setText(), setTextDefaultValues(), setTextFormatTo(), textFormatApplyTo(), updateButtons(), updateCompilerInterface(), updateForm(), and updateTransparency().
Referenced by PlotDialog::acceptParams().
void EnrichmentDialog::adjustHeight |
( |
double |
width | ) |
|
|
privateslot |
void EnrichmentDialog::adjustWidth |
( |
double |
height | ) |
|
|
privateslot |
void EnrichmentDialog::apply |
( |
| ) |
|
|
privateslot |
References attachToBox, chooseImageFile(), d_app, ApplicationWindow::d_keep_aspect_ration, d_widget, editPage, fetchImage(), frameApplyTo(), framePage, geometryPage, imagePage, imagePathBox, keepAspectBox, patternApplyTo(), patternPage, FrameWidget::setAttachPolicy(), setCoordinates(), ApplicationWindow::setFormatBarFont(), LegendWidget::setText(), tabWidget, textEditBox, textFont, textFormatApplyTo(), textPage, and unitBox.
Referenced by accept(), and EnrichmentDialog().
void EnrichmentDialog::chooseImageFile |
( |
const QString & |
fn = QString::null | ) |
|
|
privateslot |
References d_app, d_widget, ImageWidget::fileName(), ApplicationWindow::getFileName(), ApplicationWindow::imageFilter(), imagePathBox, ApplicationWindow::imagesDirPath, ImageWidget::load(), and ApplicationWindow::modifiedProject().
Referenced by accept(), apply(), initImagePage(), and saveImagesInternally().
void EnrichmentDialog::clearForm |
( |
| ) |
|
|
privateslot |
void EnrichmentDialog::createImage |
( |
| ) |
|
|
privateslot |
References clearButton, d_plot, d_widget, dvipngProcess, equationEditor, Graph::multiLayer(), MdiSubWindow::notifyChanges(), outputLabel, TexWidget::setFormula(), TexWidget::setPixmap(), and updateButton.
Referenced by accept(), and finishedCompiling().
QString EnrichmentDialog::createTempTexFile |
( |
| ) |
|
|
private |
void EnrichmentDialog::customButtons |
( |
QWidget * |
w | ) |
|
|
privateslot |
void EnrichmentDialog::customFont |
( |
| ) |
|
|
privateslot |
void EnrichmentDialog::displayCompileError |
( |
QProcess::ProcessError |
error | ) |
|
|
privateslot |
void EnrichmentDialog::displayCoordinates |
( |
int |
unit | ) |
|
|
privateslot |
References aspect_ratio, d_widget, heightBox, FrameWidget::heightIn(), FrameWidget::Pixel, FrameWidget::Point, DoubleSpinBox::setFormat(), DoubleSpinBox::setSingleStep(), DoubleSpinBox::setValue(), DoubleSpinBox::value(), widthBox, FrameWidget::widthIn(), xBox, FrameWidget::xIn(), yBox, and FrameWidget::yIn().
Referenced by accept(), initGeometryPage(), setBestSize(), and setWidget().
void EnrichmentDialog::fetchImage |
( |
| ) |
|
|
privateslot |
References clearButton, compileProcess, createTempTexFile(), d_app, ApplicationWindow::d_latex_compiler_path, d_widget, displayCompileError(), equationEditor, finishedCompiling(), TexWidget::formula(), http, TexWidget::pixmap(), texCompilerBox, and updateButton.
Referenced by accept(), and apply().
void EnrichmentDialog::finishedCompiling |
( |
int |
exitCode, |
|
|
QProcess::ExitStatus |
exitStatus |
|
) |
| |
|
privateslot |
void EnrichmentDialog::frameApplyTo |
( |
| ) |
|
|
privateslot |
References d_app, d_plot, d_widget, Graph::enrichmentsList(), frameApplyToBox, MultiLayer::layersList(), ApplicationWindow::modifiedProject(), Graph::multiLayer(), setFrameTo(), and ApplicationWindow::windowsList().
Referenced by accept(), apply(), and initFramePage().
void EnrichmentDialog::initEditorPage |
( |
| ) |
|
|
private |
References compileProcess, d_app, ApplicationWindow::d_latex_compiler, dvipngProcess, editPage, TextFormatButtons::Equation, equationEditor, http, outputLabel, tabWidget, texCompilerBox, texFormatButtons, updateCompilerInterface(), and updateForm().
Referenced by accept(), and EnrichmentDialog().
void EnrichmentDialog::initFramePage |
( |
| ) |
|
|
private |
References boxFrameLineStyle, boxFrameWidth, d_app, d_widget_type, Ellipse, frameApplyTo(), frameApplyToBox, frameBox, frameColorBtn, frameDefaultBtn, framePage, DoubleSpinBox::setDecimals(), setFrameDefaultValues(), DoubleSpinBox::setRange(), DoubleSpinBox::setSingleStep(), and tabWidget.
Referenced by accept(), and EnrichmentDialog().
void EnrichmentDialog::initGeometryPage |
( |
| ) |
|
|
private |
References adjustHeight(), adjustWidth(), attachToBox, bestSizeButton, d_app, ApplicationWindow::d_keep_aspect_ration, d_widget_type, displayCoordinates(), geometryPage, heightBox, keepAspectBox, MDIWindow, setBestSize(), DoubleSpinBox::setDecimals(), tabWidget, Text, unitBox, widthBox, xBox, and yBox.
Referenced by accept(), and EnrichmentDialog().
void EnrichmentDialog::initImagePage |
( |
| ) |
|
|
private |
void EnrichmentDialog::initPatternPage |
( |
| ) |
|
|
private |
References backgroundColorBtn, boxTransparency, fillTransparencySlider, patternApplyTo(), patternApplyToBox, patternBox, patternColorBtn, patternPage, rectangleDefaultBtn, setRectangleDefaultValues(), tabWidget, and useFrameColorBox.
Referenced by accept(), and EnrichmentDialog().
void EnrichmentDialog::initTextPage |
( |
| ) |
|
|
private |
References autoUpdateTextBox, boxBackgroundTransparency, boxTextAngle, customFont(), formatButtons, TextFormatButtons::Legend, setTextDefaultValues(), tabWidget, texOutputBox, textApplyToBox, textApplyToBtn, textBackgroundBtn, textColorBtn, textDefaultBtn, textEditBox, textFontBtn, textFormatApplyTo(), textPage, transparencySlider, updateButtons(), and updateTransparency().
Referenced by accept(), and EnrichmentDialog().
void EnrichmentDialog::patternApplyTo |
( |
| ) |
|
|
privateslot |
References d_app, d_plot, d_widget, Graph::enrichmentsList(), MultiLayer::layersList(), ApplicationWindow::modifiedProject(), Graph::multiLayer(), patternApplyToBox, setPatternTo(), and ApplicationWindow::windowsList().
Referenced by accept(), apply(), and initPatternPage().
void EnrichmentDialog::saveImagesInternally |
( |
bool |
save | ) |
|
|
privateslot |
void EnrichmentDialog::setBestSize |
( |
| ) |
|
|
privateslot |
void EnrichmentDialog::setCoordinates |
( |
int |
unit | ) |
|
|
private |
References d_app, ApplicationWindow::d_frame_geometry_unit, d_plot, d_widget, heightBox, Graph::multiLayer(), MdiSubWindow::notifyChanges(), FrameWidget::Scale, FrameWidget::setCoordinates(), FrameWidget::setRect(), DoubleSpinBox::value(), widthBox, xBox, and yBox.
Referenced by accept(), and apply().
void EnrichmentDialog::setFrameDefaultValues |
( |
| ) |
|
|
privateslot |
References boxFrameLineStyle, boxFrameWidth, ColorButton::color(), d_app, ApplicationWindow::d_frame_widget_pen, frameBox, frameColorBtn, ApplicationWindow::legendFrameStyle, ApplicationWindow::saveSettings(), PenStyleBox::style(), and DoubleSpinBox::value().
Referenced by accept(), and initFramePage().
References backgroundColorBtn, boxTransparency, ColorButton::color(), frameColorBtn, PatternBox::getSelectedPattern(), patternBox, patternColorBtn, FrameWidget::setBackgroundColor(), FrameWidget::setBrush(), and useFrameColorBox.
Referenced by accept(), and patternApplyTo().
void EnrichmentDialog::setRectangleDefaultValues |
( |
| ) |
|
|
privateslot |
References backgroundColorBtn, boxTransparency, ColorButton::color(), d_app, ApplicationWindow::d_rect_default_background, ApplicationWindow::d_rect_default_brush, frameColorBtn, PatternBox::getSelectedPattern(), patternBox, patternColorBtn, ApplicationWindow::saveSettings(), and useFrameColorBox.
Referenced by accept(), and initPatternPage().
void EnrichmentDialog::setText |
( |
QTextEdit * |
editor, |
|
|
const QString & |
t |
|
) |
| |
|
private |
void EnrichmentDialog::setTextDefaultValues |
( |
| ) |
|
|
privateslot |
References boxBackgroundTransparency, boxTextAngle, ColorButton::color(), d_app, ApplicationWindow::d_legend_default_angle, ApplicationWindow::legendBackground, ApplicationWindow::legendTextColor, ApplicationWindow::plotLegendFont, ApplicationWindow::saveSettings(), textBackgroundBtn, textColorBtn, and textFont.
Referenced by accept(), and initTextPage().
References autoUpdateTextBox, boxBackgroundTransparency, boxTextAngle, ColorButton::color(), LegendWidget::setAngle(), LegendWidget::setAutoUpdate(), FrameWidget::setBackgroundColor(), LegendWidget::setFont(), LegendWidget::setTeXOutput(), LegendWidget::setTextColor(), texOutputBox, textBackgroundBtn, textColorBtn, and textFont.
Referenced by accept(), and textFormatApplyTo().
void EnrichmentDialog::setWidget |
( |
QWidget * |
w | ) |
|
References LegendWidget::angle(), FrameWidget::attachPolicy(), attachToBox, autoUpdateTextBox, FrameWidget::backgroundColor(), backgroundColorBtn, bestSizeButton, boxBackgroundTransparency, boxFrameLineStyle, boxFrameWidth, boxSaveImagesInternally, boxTextAngle, boxTransparency, FrameWidget::brush(), d_app, ApplicationWindow::d_frame_geometry_unit, d_plot, d_widget, d_widget_type, Graph::deselectMarker(), displayCoordinates(), Ellipse, equationEditor, ImageWidget::fileName(), fillTransparencySlider, LegendWidget::font(), TexWidget::formula(), Frame, frameBox, FrameWidget::frameColor(), frameColorBtn, FrameWidget::framePen(), FrameWidget::frameStyle(), LegendWidget::hasTeXOutput(), Image, imagePathBox, LegendWidget::isAutoUpdateEnabled(), outputLabel, patternBox, patternColorBtn, FrameWidget::Pixel, TexWidget::pixmap(), ImageWidget::saveInternally(), ColorButton::setColor(), PatternBox::setPattern(), PenStyleBox::setStyle(), setText(), DoubleSpinBox::setValue(), Tex, texOutputBox, LegendWidget::text(), Text, textBackgroundBtn, LegendWidget::textColor(), textColorBtn, textEditBox, textFont, transparencySlider, unitBox, and updateButtons().
Referenced by ApplicationWindow::resizeActiveWindow(), ApplicationWindow::resizeWindow(), ApplicationWindow::showEnrichementDialog(), and PlotDialog::updateTabWindow().
void EnrichmentDialog::textFormatApplyTo |
( |
| ) |
|
|
privateslot |
References d_app, d_plot, d_widget, Graph::enrichmentsList(), MultiLayer::layersList(), ApplicationWindow::modifiedProject(), Graph::multiLayer(), setTextFormatTo(), textApplyToBox, and ApplicationWindow::windowsList().
Referenced by accept(), apply(), initTextPage(), and updateTransparency().
void EnrichmentDialog::updateButtons |
( |
| ) |
|
|
privateslot |
void EnrichmentDialog::updateCompilerInterface |
( |
int |
compiler | ) |
|
|
privateslot |
void EnrichmentDialog::updateForm |
( |
bool |
error | ) |
|
|
privateslot |
References clearButton, d_plot, d_widget, equationEditor, http, Graph::multiLayer(), MdiSubWindow::notifyChanges(), outputLabel, TexWidget::setFormula(), TexWidget::setPixmap(), and updateButton.
Referenced by accept(), and initEditorPage().
void EnrichmentDialog::updateTransparency |
( |
int |
alpha | ) |
|
|
privateslot |
double EnrichmentDialog::aspect_ratio |
|
private |
QComboBox* EnrichmentDialog::attachToBox |
|
private |
QCheckBox* EnrichmentDialog::autoUpdateTextBox |
|
private |
QPushButton* EnrichmentDialog::bestSizeButton |
|
private |
QSpinBox* EnrichmentDialog::boxBackgroundTransparency |
|
private |
QCheckBox* EnrichmentDialog::boxSaveImagesInternally |
|
private |
QSpinBox * EnrichmentDialog::boxTextAngle |
|
private |
QSpinBox* EnrichmentDialog::boxTransparency |
|
private |
QPushButton* EnrichmentDialog::cancelButton |
|
private |
QPushButton* EnrichmentDialog::clearButton |
|
private |
QProcess* EnrichmentDialog::compileProcess |
|
private |
Referenced by apply(), chooseImageFile(), fetchImage(), finishedCompiling(), frameApplyTo(), initEditorPage(), initFramePage(), initGeometryPage(), patternApplyTo(), saveImagesInternally(), setCoordinates(), setFrameDefaultValues(), setRectangleDefaultValues(), setTextDefaultValues(), setWidget(), textFormatApplyTo(), and updateCompilerInterface().
Graph* EnrichmentDialog::d_plot |
|
private |
QWidget* EnrichmentDialog::d_widget |
|
private |
Referenced by apply(), chooseImageFile(), createImage(), displayCoordinates(), fetchImage(), frameApplyTo(), patternApplyTo(), saveImagesInternally(), setBestSize(), setCoordinates(), setWidget(), textFormatApplyTo(), updateForm(), and ~EnrichmentDialog().
QProcess * EnrichmentDialog::dvipngProcess |
|
private |
QWidget* EnrichmentDialog::editPage |
|
private |
QTextEdit* EnrichmentDialog::equationEditor |
|
private |
QSlider * EnrichmentDialog::fillTransparencySlider |
|
private |
QComboBox* EnrichmentDialog::frameApplyToBox |
|
private |
QComboBox* EnrichmentDialog::frameBox |
|
private |
QPushButton * EnrichmentDialog::frameDefaultBtn |
|
private |
QWidget * EnrichmentDialog::framePage |
|
private |
QWidget * EnrichmentDialog::geometryPage |
|
private |
QHttp* EnrichmentDialog::http |
|
private |
QWidget * EnrichmentDialog::imagePage |
|
private |
QLineEdit* EnrichmentDialog::imagePathBox |
|
private |
QCheckBox* EnrichmentDialog::keepAspectBox |
|
private |
QLabel* EnrichmentDialog::outputLabel |
|
private |
QComboBox * EnrichmentDialog::patternApplyToBox |
|
private |
QWidget * EnrichmentDialog::patternPage |
|
private |
QPushButton * EnrichmentDialog::rectangleDefaultBtn |
|
private |
QTabWidget* EnrichmentDialog::tabWidget |
|
private |
QComboBox* EnrichmentDialog::texCompilerBox |
|
private |
QCheckBox * EnrichmentDialog::texOutputBox |
|
private |
QComboBox * EnrichmentDialog::textApplyToBox |
|
private |
QPushButton* EnrichmentDialog::textApplyToBtn |
|
private |
QPushButton* EnrichmentDialog::textDefaultBtn |
|
private |
QTextEdit * EnrichmentDialog::textEditBox |
|
private |
QFont EnrichmentDialog::textFont |
|
private |
QPushButton* EnrichmentDialog::textFontBtn |
|
private |
QWidget * EnrichmentDialog::textPage |
|
private |
QSlider* EnrichmentDialog::transparencySlider |
|
private |
QComboBox* EnrichmentDialog::unitBox |
|
private |
QPushButton* EnrichmentDialog::updateButton |
|
private |
QCheckBox * EnrichmentDialog::useFrameColorBox |
|
private |
The documentation for this class was generated from the following files: