#include <EnrichmentDialog.h>
§ WidgetType
Enumerator |
---|
Frame | |
Text | |
Image | |
Tex | |
MDIWindow | |
Ellipse | |
§ EnrichmentDialog()
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::~EnrichmentDialog |
( |
| ) |
|
§ accept()
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().
§ adjustHeight
void EnrichmentDialog::adjustHeight |
( |
double |
width | ) |
|
|
privateslot |
§ adjustWidth
void EnrichmentDialog::adjustWidth |
( |
double |
height | ) |
|
|
privateslot |
§ apply
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().
§ chooseImageFile
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().
§ clearForm
void EnrichmentDialog::clearForm |
( |
| ) |
|
|
privateslot |
§ createImage
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().
§ createTempTexFile()
QString EnrichmentDialog::createTempTexFile |
( |
| ) |
|
|
private |
§ customButtons
void EnrichmentDialog::customButtons |
( |
QWidget * |
w | ) |
|
|
privateslot |
§ customFont
void EnrichmentDialog::customFont |
( |
| ) |
|
|
privateslot |
§ displayCompileError
void EnrichmentDialog::displayCompileError |
( |
QProcess::ProcessError |
error | ) |
|
|
privateslot |
§ displayCoordinates
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().
§ fetchImage
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().
§ finishedCompiling
void EnrichmentDialog::finishedCompiling |
( |
int |
exitCode, |
|
|
QProcess::ExitStatus |
exitStatus |
|
) |
| |
|
privateslot |
§ frameApplyTo
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().
§ initEditorPage()
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().
§ initFramePage()
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().
§ initGeometryPage()
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().
§ initImagePage()
void EnrichmentDialog::initImagePage |
( |
| ) |
|
|
private |
§ initPatternPage()
void EnrichmentDialog::initPatternPage |
( |
| ) |
|
|
private |
References backgroundColorBtn, boxTransparency, fillTransparencySlider, patternApplyTo(), patternApplyToBox, patternBox, patternColorBtn, patternPage, rectangleDefaultBtn, setRectangleDefaultValues(), tabWidget, and useFrameColorBox.
Referenced by accept(), and EnrichmentDialog().
§ initTextPage()
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().
§ patternApplyTo
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().
§ saveImagesInternally
void EnrichmentDialog::saveImagesInternally |
( |
bool |
save | ) |
|
|
privateslot |
§ setBestSize
void EnrichmentDialog::setBestSize |
( |
| ) |
|
|
privateslot |
§ setCoordinates()
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().
§ setFrameDefaultValues
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().
§ setFrameTo()
§ setPatternTo()
References backgroundColorBtn, boxTransparency, ColorButton::color(), frameColorBtn, PatternBox::getSelectedPattern(), patternBox, patternColorBtn, FrameWidget::setBackgroundColor(), FrameWidget::setBrush(), and useFrameColorBox.
Referenced by accept(), and patternApplyTo().
§ setRectangleDefaultValues
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().
§ setText()
void EnrichmentDialog::setText |
( |
QTextEdit * |
editor, |
|
|
const QString & |
t |
|
) |
| |
|
private |
§ setTextDefaultValues
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().
§ setTextFormatTo()
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().
§ setWidget()
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().
§ textFormatApplyTo
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().
§ updateButtons
void EnrichmentDialog::updateButtons |
( |
| ) |
|
|
privateslot |
§ updateCompilerInterface
void EnrichmentDialog::updateCompilerInterface |
( |
int |
compiler | ) |
|
|
privateslot |
§ updateForm
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().
§ updateTransparency
void EnrichmentDialog::updateTransparency |
( |
int |
alpha | ) |
|
|
privateslot |
§ aspect_ratio
double EnrichmentDialog::aspect_ratio |
|
private |
§ attachToBox
QComboBox* EnrichmentDialog::attachToBox |
|
private |
§ autoUpdateTextBox
QCheckBox* EnrichmentDialog::autoUpdateTextBox |
|
private |
§ backgroundColorBtn
§ bestSizeButton
QPushButton* EnrichmentDialog::bestSizeButton |
|
private |
§ boxBackgroundTransparency
QSpinBox* EnrichmentDialog::boxBackgroundTransparency |
|
private |
§ boxFrameLineStyle
§ boxFrameWidth
§ boxSaveImagesInternally
QCheckBox* EnrichmentDialog::boxSaveImagesInternally |
|
private |
§ boxTextAngle
QSpinBox * EnrichmentDialog::boxTextAngle |
|
private |
§ boxTransparency
QSpinBox* EnrichmentDialog::boxTransparency |
|
private |
§ cancelButton
QPushButton* EnrichmentDialog::cancelButton |
|
private |
§ clearButton
QPushButton* EnrichmentDialog::clearButton |
|
private |
§ compileProcess
QProcess* EnrichmentDialog::compileProcess |
|
private |
§ d_app
Referenced by apply(), chooseImageFile(), fetchImage(), finishedCompiling(), frameApplyTo(), initEditorPage(), initFramePage(), initGeometryPage(), patternApplyTo(), saveImagesInternally(), setCoordinates(), setFrameDefaultValues(), setRectangleDefaultValues(), setTextDefaultValues(), setWidget(), textFormatApplyTo(), and updateCompilerInterface().
§ d_plot
Graph* EnrichmentDialog::d_plot |
|
private |
§ d_widget
QWidget* EnrichmentDialog::d_widget |
|
private |
Referenced by apply(), chooseImageFile(), createImage(), displayCoordinates(), fetchImage(), frameApplyTo(), patternApplyTo(), saveImagesInternally(), setBestSize(), setCoordinates(), setWidget(), textFormatApplyTo(), updateForm(), and ~EnrichmentDialog().
§ d_widget_type
§ dvipngProcess
QProcess * EnrichmentDialog::dvipngProcess |
|
private |
§ editPage
QWidget* EnrichmentDialog::editPage |
|
private |
§ equationEditor
QTextEdit* EnrichmentDialog::equationEditor |
|
private |
§ fillTransparencySlider
QSlider * EnrichmentDialog::fillTransparencySlider |
|
private |
§ formatButtons
§ frameApplyToBox
QComboBox* EnrichmentDialog::frameApplyToBox |
|
private |
§ frameBox
QComboBox* EnrichmentDialog::frameBox |
|
private |
§ frameColorBtn
§ frameDefaultBtn
QPushButton * EnrichmentDialog::frameDefaultBtn |
|
private |
§ framePage
QWidget * EnrichmentDialog::framePage |
|
private |
§ geometryPage
QWidget * EnrichmentDialog::geometryPage |
|
private |
§ heightBox
§ http
QHttp* EnrichmentDialog::http |
|
private |
§ imagePage
QWidget * EnrichmentDialog::imagePage |
|
private |
§ imagePathBox
QLineEdit* EnrichmentDialog::imagePathBox |
|
private |
§ keepAspectBox
QCheckBox* EnrichmentDialog::keepAspectBox |
|
private |
§ outputLabel
QLabel* EnrichmentDialog::outputLabel |
|
private |
§ patternApplyToBox
QComboBox * EnrichmentDialog::patternApplyToBox |
|
private |
§ patternBox
§ patternColorBtn
§ patternPage
QWidget * EnrichmentDialog::patternPage |
|
private |
§ rectangleDefaultBtn
QPushButton * EnrichmentDialog::rectangleDefaultBtn |
|
private |
§ tabWidget
QTabWidget* EnrichmentDialog::tabWidget |
|
private |
§ texCompilerBox
QComboBox* EnrichmentDialog::texCompilerBox |
|
private |
§ texFormatButtons
§ texOutputBox
QCheckBox * EnrichmentDialog::texOutputBox |
|
private |
§ textApplyToBox
QComboBox * EnrichmentDialog::textApplyToBox |
|
private |
§ textApplyToBtn
QPushButton* EnrichmentDialog::textApplyToBtn |
|
private |
§ textBackgroundBtn
§ textColorBtn
§ textDefaultBtn
QPushButton* EnrichmentDialog::textDefaultBtn |
|
private |
§ textEditBox
QTextEdit * EnrichmentDialog::textEditBox |
|
private |
§ textFont
QFont EnrichmentDialog::textFont |
|
private |
§ textFontBtn
QPushButton* EnrichmentDialog::textFontBtn |
|
private |
§ textPage
QWidget * EnrichmentDialog::textPage |
|
private |
§ transparencySlider
QSlider* EnrichmentDialog::transparencySlider |
|
private |
§ unitBox
QComboBox* EnrichmentDialog::unitBox |
|
private |
§ updateButton
QPushButton* EnrichmentDialog::updateButton |
|
private |
§ useFrameColorBox
QCheckBox * EnrichmentDialog::useFrameColorBox |
|
private |
§ widthBox
§ xBox
§ yBox
The documentation for this class was generated from the following files: