QtiPlot  0.9.8.2
Public Types | Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
EnrichmentDialog Class Reference

#include <EnrichmentDialog.h>

Inheritance diagram for EnrichmentDialog:

Public Types

enum  WidgetType {
  Frame, Text, Image, Tex,
  MDIWindow, Ellipse
}
 

Public Member Functions

void accept ()
 
 EnrichmentDialog (WidgetType wt, Graph *g, ApplicationWindow *app, QWidget *parent=0)
 
void setWidget (QWidget *w)
 
 ~EnrichmentDialog ()
 

Private Slots

void adjustHeight (double width)
 
void adjustWidth (double height)
 
void apply ()
 
void chooseImageFile (const QString &fn=QString::null)
 
void clearForm ()
 
void createImage ()
 
void customButtons (QWidget *w)
 
void customFont ()
 
void displayCompileError (QProcess::ProcessError error)
 
void displayCoordinates (int unit)
 
void fetchImage ()
 
void finishedCompiling (int, QProcess::ExitStatus)
 
void frameApplyTo ()
 
void patternApplyTo ()
 
void saveImagesInternally (bool save)
 
void setBestSize ()
 
void setFrameDefaultValues ()
 
void setRectangleDefaultValues ()
 
void setTextDefaultValues ()
 
void textFormatApplyTo ()
 
void updateButtons ()
 
void updateCompilerInterface (int)
 
void updateForm (bool error)
 
void updateTransparency (int alpha)
 

Private Member Functions

QString createTempTexFile ()
 
void initEditorPage ()
 
void initFramePage ()
 
void initGeometryPage ()
 
void initImagePage ()
 
void initPatternPage ()
 
void initTextPage ()
 
void setCoordinates (int unit)
 
void setFrameTo (FrameWidget *fw)
 
void setPatternTo (FrameWidget *r)
 
void setText (QTextEdit *editor, const QString &t)
 
void setTextFormatTo (LegendWidget *l)
 

Private Attributes

double aspect_ratio
 
QComboBox * attachToBox
 
QCheckBox * autoUpdateTextBox
 
ColorButtonbackgroundColorBtn
 
QPushButton * bestSizeButton
 
QSpinBox * boxBackgroundTransparency
 
PenStyleBoxboxFrameLineStyle
 
DoubleSpinBoxboxFrameWidth
 
QCheckBox * boxSaveImagesInternally
 
QSpinBox * boxTextAngle
 
QSpinBox * boxTransparency
 
QPushButton * cancelButton
 
QPushButton * clearButton
 
QProcess * compileProcess
 
ApplicationWindowd_app
 
Graphd_plot
 
QWidget * d_widget
 
WidgetType d_widget_type
 
QProcess * dvipngProcess
 
QWidget * editPage
 
QTextEdit * equationEditor
 
QSlider * fillTransparencySlider
 
TextFormatButtonsformatButtons
 
QComboBox * frameApplyToBox
 
QComboBox * frameBox
 
ColorButtonframeColorBtn
 
QPushButton * frameDefaultBtn
 
QWidget * framePage
 
QWidget * geometryPage
 
DoubleSpinBoxheightBox
 
QHttp * http
 
QWidget * imagePage
 
QLineEdit * imagePathBox
 
QCheckBox * keepAspectBox
 
QLabel * outputLabel
 
QComboBox * patternApplyToBox
 
PatternBoxpatternBox
 
ColorButtonpatternColorBtn
 
QWidget * patternPage
 
QPushButton * rectangleDefaultBtn
 
QTabWidget * tabWidget
 
QComboBox * texCompilerBox
 
TextFormatButtonstexFormatButtons
 
QCheckBox * texOutputBox
 
QComboBox * textApplyToBox
 
QPushButton * textApplyToBtn
 
ColorButtontextBackgroundBtn
 
ColorButtontextColorBtn
 
QPushButton * textDefaultBtn
 
QTextEdit * textEditBox
 
QFont textFont
 
QPushButton * textFontBtn
 
QWidget * textPage
 
QSlider * transparencySlider
 
QComboBox * unitBox
 
QPushButton * updateButton
 
QCheckBox * useFrameColorBox
 
DoubleSpinBoxwidthBox
 
DoubleSpinBoxxBox
 
DoubleSpinBoxyBox
 

Member Enumeration Documentation

§ WidgetType

Enumerator
Frame 
Text 
Image 
Tex 
MDIWindow 
Ellipse 

Constructor & Destructor Documentation

§ EnrichmentDialog()

EnrichmentDialog::EnrichmentDialog ( WidgetType  wt,
Graph g,
ApplicationWindow app,
QWidget *  parent = 0 
)

§ ~EnrichmentDialog()

EnrichmentDialog::~EnrichmentDialog ( )

Member Function Documentation

§ accept()

void EnrichmentDialog::accept ( )
inline

§ adjustHeight

void EnrichmentDialog::adjustHeight ( double  width)
privateslot

§ adjustWidth

void EnrichmentDialog::adjustWidth ( double  height)
privateslot

§ apply

void EnrichmentDialog::apply ( )
privateslot

§ chooseImageFile

void EnrichmentDialog::chooseImageFile ( const QString &  fn = QString::null)
privateslot

§ clearForm

void EnrichmentDialog::clearForm ( )
privateslot

References equationEditor, and outputLabel.

Referenced by accept(), and EnrichmentDialog().

§ createImage

void EnrichmentDialog::createImage ( )
privateslot

§ createTempTexFile()

QString EnrichmentDialog::createTempTexFile ( )
private

References equationEditor.

Referenced by accept(), and fetchImage().

§ customButtons

void EnrichmentDialog::customButtons ( QWidget *  w)
privateslot

§ customFont

void EnrichmentDialog::customFont ( )
privateslot

References textEditBox, and textFont.

Referenced by accept(), and initTextPage().

§ displayCompileError

void EnrichmentDialog::displayCompileError ( QProcess::ProcessError  error)
privateslot

§ displayCoordinates

void EnrichmentDialog::displayCoordinates ( int  unit)
privateslot

§ fetchImage

void EnrichmentDialog::fetchImage ( )
privateslot

§ finishedCompiling

void EnrichmentDialog::finishedCompiling ( int  exitCode,
QProcess::ExitStatus  exitStatus 
)
privateslot

§ frameApplyTo

void EnrichmentDialog::frameApplyTo ( )
privateslot

§ initEditorPage()

void EnrichmentDialog::initEditorPage ( )
private

§ initFramePage()

void EnrichmentDialog::initFramePage ( )
private

§ initGeometryPage()

void EnrichmentDialog::initGeometryPage ( )
private

§ initImagePage()

void EnrichmentDialog::initImagePage ( )
private

§ initPatternPage()

void EnrichmentDialog::initPatternPage ( )
private

§ initTextPage()

void EnrichmentDialog::initTextPage ( )
private

§ patternApplyTo

void EnrichmentDialog::patternApplyTo ( )
privateslot

§ saveImagesInternally

void EnrichmentDialog::saveImagesInternally ( bool  save)
privateslot

§ setBestSize

void EnrichmentDialog::setBestSize ( )
privateslot

§ setCoordinates()

void EnrichmentDialog::setCoordinates ( int  unit)
private

§ setFrameDefaultValues

void EnrichmentDialog::setFrameDefaultValues ( )
privateslot

§ setFrameTo()

void EnrichmentDialog::setFrameTo ( FrameWidget fw)
private

§ setPatternTo()

void EnrichmentDialog::setPatternTo ( FrameWidget r)
private

§ setRectangleDefaultValues

void EnrichmentDialog::setRectangleDefaultValues ( )
privateslot

§ setText()

void EnrichmentDialog::setText ( QTextEdit *  editor,
const QString &  t 
)
private

Referenced by accept(), and setWidget().

§ setTextDefaultValues

void EnrichmentDialog::setTextDefaultValues ( )
privateslot

§ setTextFormatTo()

void EnrichmentDialog::setTextFormatTo ( LegendWidget l)
private

§ setWidget()

void EnrichmentDialog::setWidget ( QWidget *  w)

§ textFormatApplyTo

void EnrichmentDialog::textFormatApplyTo ( )
privateslot

§ updateButtons

void EnrichmentDialog::updateButtons ( )
privateslot

§ updateCompilerInterface

void EnrichmentDialog::updateCompilerInterface ( int  compiler)
privateslot

§ updateForm

void EnrichmentDialog::updateForm ( bool  error)
privateslot

§ updateTransparency

void EnrichmentDialog::updateTransparency ( int  alpha)
privateslot

References textBackgroundBtn, and textFormatApplyTo().

Referenced by accept(), and initTextPage().

Member Data Documentation

§ aspect_ratio

double EnrichmentDialog::aspect_ratio
private

§ attachToBox

QComboBox* EnrichmentDialog::attachToBox
private

Referenced by apply(), initGeometryPage(), and setWidget().

§ autoUpdateTextBox

QCheckBox* EnrichmentDialog::autoUpdateTextBox
private

§ backgroundColorBtn

ColorButton * EnrichmentDialog::backgroundColorBtn
private

§ bestSizeButton

QPushButton* EnrichmentDialog::bestSizeButton
private

Referenced by initGeometryPage(), and setWidget().

§ boxBackgroundTransparency

QSpinBox* EnrichmentDialog::boxBackgroundTransparency
private

§ boxFrameLineStyle

PenStyleBox* EnrichmentDialog::boxFrameLineStyle
private

§ boxFrameWidth

DoubleSpinBox * EnrichmentDialog::boxFrameWidth
private

§ boxSaveImagesInternally

QCheckBox* EnrichmentDialog::boxSaveImagesInternally
private

§ boxTextAngle

QSpinBox * EnrichmentDialog::boxTextAngle
private

§ boxTransparency

QSpinBox* EnrichmentDialog::boxTransparency
private

§ cancelButton

QPushButton* EnrichmentDialog::cancelButton
private

Referenced by EnrichmentDialog().

§ clearButton

QPushButton* EnrichmentDialog::clearButton
private

§ compileProcess

QProcess* EnrichmentDialog::compileProcess
private

§ d_app

ApplicationWindow* EnrichmentDialog::d_app
private

§ d_plot

Graph* EnrichmentDialog::d_plot
private

§ d_widget

QWidget* EnrichmentDialog::d_widget
private

§ d_widget_type

WidgetType EnrichmentDialog::d_widget_type
private

§ dvipngProcess

QProcess * EnrichmentDialog::dvipngProcess
private

§ editPage

QWidget* EnrichmentDialog::editPage
private

§ equationEditor

QTextEdit* EnrichmentDialog::equationEditor
private

§ fillTransparencySlider

QSlider * EnrichmentDialog::fillTransparencySlider
private

Referenced by initPatternPage(), and setWidget().

§ formatButtons

TextFormatButtons* EnrichmentDialog::formatButtons
private

Referenced by initTextPage(), and updateButtons().

§ frameApplyToBox

QComboBox* EnrichmentDialog::frameApplyToBox
private

Referenced by frameApplyTo(), and initFramePage().

§ frameBox

QComboBox* EnrichmentDialog::frameBox
private

§ frameColorBtn

ColorButton* EnrichmentDialog::frameColorBtn
private

§ frameDefaultBtn

QPushButton * EnrichmentDialog::frameDefaultBtn
private

Referenced by initFramePage().

§ framePage

QWidget * EnrichmentDialog::framePage
private

Referenced by apply(), customButtons(), and initFramePage().

§ geometryPage

QWidget * EnrichmentDialog::geometryPage
private

Referenced by apply(), and initGeometryPage().

§ heightBox

DoubleSpinBox * EnrichmentDialog::heightBox
private

§ 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

Referenced by initPatternPage(), and patternApplyTo().

§ patternBox

PatternBox* EnrichmentDialog::patternBox
private

§ patternColorBtn

ColorButton * EnrichmentDialog::patternColorBtn
private

§ patternPage

QWidget * EnrichmentDialog::patternPage
private

§ rectangleDefaultBtn

QPushButton * EnrichmentDialog::rectangleDefaultBtn
private

Referenced by initPatternPage().

§ tabWidget

QTabWidget* EnrichmentDialog::tabWidget
private

§ texCompilerBox

QComboBox* EnrichmentDialog::texCompilerBox
private

Referenced by fetchImage(), and initEditorPage().

§ texFormatButtons

TextFormatButtons * EnrichmentDialog::texFormatButtons
private

Referenced by initEditorPage().

§ texOutputBox

QCheckBox * EnrichmentDialog::texOutputBox
private

§ textApplyToBox

QComboBox * EnrichmentDialog::textApplyToBox
private

Referenced by initTextPage(), and textFormatApplyTo().

§ textApplyToBtn

QPushButton* EnrichmentDialog::textApplyToBtn
private

Referenced by initTextPage().

§ textBackgroundBtn

ColorButton * EnrichmentDialog::textBackgroundBtn
private

§ textColorBtn

ColorButton* EnrichmentDialog::textColorBtn
private

§ textDefaultBtn

QPushButton* EnrichmentDialog::textDefaultBtn
private

Referenced by initTextPage().

§ textEditBox

QTextEdit * EnrichmentDialog::textEditBox
private

§ textFont

QFont EnrichmentDialog::textFont
private

§ textFontBtn

QPushButton* EnrichmentDialog::textFontBtn
private

Referenced by initTextPage().

§ textPage

QWidget * EnrichmentDialog::textPage
private

§ transparencySlider

QSlider* EnrichmentDialog::transparencySlider
private

Referenced by initTextPage(), and setWidget().

§ unitBox

QComboBox* EnrichmentDialog::unitBox
private

§ updateButton

QPushButton* EnrichmentDialog::updateButton
private

§ useFrameColorBox

QCheckBox * EnrichmentDialog::useFrameColorBox
private

§ widthBox

DoubleSpinBox * EnrichmentDialog::widthBox
private

§ xBox

DoubleSpinBox* EnrichmentDialog::xBox
private

§ yBox

DoubleSpinBox * EnrichmentDialog::yBox
private

The documentation for this class was generated from the following files: