Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Inspector Class Reference

#include <Inspector.h>

Inheritance diagram for Inspector:

Inheritance graph
[legend]
Collaboration diagram for Inspector:

Collaboration graph
[legend]
List of all members.

Detailed Description

A derived class of InspectorBase class which is generated by the Qt designer.

It provides an Inspector it provides methods specific to the Qt implementation of the HippoDraw application.

Bug:
@@@ On plot tabbed panel, when function is selected, can not change style or color of function.

Bug:
@@ On axis tabbed panel, zoom pan doesn't work for static histograms.

Bug:
@@ When changing DataSource on multiple plots, and some could not be changed, one gets no warning.

Bug:
@ In Stats tabbed panel, the STD button is disabled.

Bug:
@ GUI On the Axis tabbed panel, the low and high sliders have large slider handle rectangle than the width and offset ones.

Bug:
@ On Axis tabbed panel, zoom/pan should be disabled on Z axis.

Bug:
@@ On cuts tabbed panel, switching to zoom pan doesn't work if one end of cut range is at full range.

Bug:
@@@ On the Axis tabbed panel, when in zoom / pan mode, the position slider is hard to control when X axis is in log scale.

Bug:
In the data tabbed panel, the lower box gets updated when update arrives, even when nothing has changed.
Try circbuff.py

Bug:
In Data tabbed panel, the title doesn't get set if there are multiple data reps on plot.
Probably should take title of first one. What if the data reps comes from two different data sources, then what title is used?

Bug:
Get assertion if remove function while chi-square or function parameters are being displayed.

Bug:
In stats tabbed panel, the error contour is enabled when no plots are selected.

Bug:
The new/edit custom color transform is not disabled value to color combo box is disabled.

Bug:
The Y value is broken.

Bug:
For a XY plot with Y error, try setting on and off the X error.
Seem to lose the Y error bars.

Bug:
When Minuit fails to converge, we don't get notification.

Requests:
@@ In zoom/pan mode, still should show high and low of range.

Requests:
@@ Set to likelihood fitter when statistics of bins go below some threshold.

Requests:
@@ Warn user that some bins have zero data and thus will not be included in the fit.

Requests:
@ Display objective value to the functions tabbed panel.

Requests:
Change cut range by direct manipulation of cut on its display.

Requests:
In the Data tabbed panel, need way to see the full path name of the NTuple files.

Requests:
In functions tabbed panel, add check box to use errors on data points or not.

Requests:
In status tabbed panel, when no plot is selected should still be able to add text box.

Todo:
In Stats tabbed panel, should add a feature of a composite text rep that combines the single TextRep objects into a composite.

Todo:
When the size of the labels of the function parameters changes, the sliders change as well.
GUI bug. low priority to fix.

Todo:
In cuts tabbed panel, the upper box gets updated when cut range changed even when it hasn't changed.

Requests:
In the stats summary panel, the description should match the type used by the factory.

Todo:
Replace the ComboBox objects in the Cut inspector with lists.
Then the user can see in one glance all the cuts on a plot. There usually will not be that many of them.

Todo:
For check boxes, should use clicked signal instead of toggled so that the check box can be set to a value without emitting a signal.

Todo:
On the Cuts tabbed pane, does the Replace button make sense.
What if selected plot has multiple cuts, which one to replace.

Bug:
@ Have inspector notice that NTuples have been added via the Python interface without having to click on the canvas.

Todo:
On the Inspector data tabbed panel, should leave the four binding options on all the time and disable the ones that are not used.
This way there would be less flicker.

Todo:
In Inspector stats tabbed panel, add average Z if plot has Z axis.

Todo:
In implementation, remove all remaining places, if any, where m_functionRep could be used instead of researching for the displayed function.

Author:
Kaustuv <kaustuv@stanford.edu>

Paul F. Kunz <Paul_Kunz@slac.stanford.edu>

Sanket B. Malde <sanket@stanford.edu>

Joy Rajiv <jraviv@stanford.edu>

Definition at line 166 of file Inspector.h.

Public Member Functions

virtual void allCutsRadioButton_toggled (bool selected)
virtual void customEvent (QCustomEvent *event)
 The method to receive update events from the application queue.
void enableNewPlotBox (bool yes=true)
 Enables the new plot box.
virtual PlotterBasegetSelectedCut ()
std::string getSelectedDataSourceName () const
 Returns the name of the currently selected DataSource in Data tabbed panel.
 Inspector (QWidget *parent=0, const char *name=0, bool modal=false, Qt::WFlags flags=0)
 The constructor.
virtual void selectedCutsRadioButton_toggled (bool selected)
virtual void statsButtonGroupClicked (int)
virtual void update ()
 The Update Method.
virtual void updateSummaryTab ()
 Updates the Stats tabbed panel's widgets.
virtual ~Inspector ()
 The virtual destructor.

Protected Member Functions

virtual void addDataRepButton_clicked ()
 Responds to click on the add Data Rep button.
virtual void allNtupleComboActivated (const QString &)
virtual void autoScale_clicked ()
 Slot which responds to the toggle in state of the autoScale check box.
virtual void availPlotTypesActivated (const QString &)
virtual void axisLabelChanged (int index, const QString &axisName)
 Responds to change in axis binding on existing plotter.
virtual void axisLabelText ()
 Responds to return in axis label text box.
virtual void axisZoomPanCheckBox_clicked ()
 Responds to change in zoom/pan check box.
virtual void colorSelect_2_clicked ()
 Sets the Color of the cut plotter.
virtual void colorSelect_clicked ()
virtual void comboBoxEllipsoidParamXHighlighted (int)
 The slot that recieves the signal when ComboBoxEllipsoidParamX (which is in the Confidence ellipsoid Group Box) is highlighted.
virtual void comboBoxEllipsoidParamYHighlighted (int)
 The slot that recieves the signal when ComboBoxEllipsoidParamY (which is in the Confidence ellipsoid Group Box) is highlighted.
void contourError ()
 Raises message box on contour input error.
virtual void contourLevelsTextBox_returnPressed ()
 Responds to change in contour levels text box.
virtual void contourRadioButton1_toggled (bool)
 Responds to change in 1st contour radio button.
virtual void contourSlider_valueChanged (int val)
virtual void contourTextBox_returnPressed ()
virtual const std::string convertToString (hippodraw::Axes::Type)
virtual void createResiduals ()
 Creates a display showing the residuals of the function.
virtual void cutAddAll ()
 Adds all the cuts to the DataRep.
virtual void cutAddSelected ()
 Adds selected cut to the DataRep.
virtual void cutEnablePushButton_toggled (bool on)
 Responds to the cut enable push button.
virtual void cutHighSlider_sliderMoved (int value)
virtual void cutHighSlider_sliderReleased ()
virtual void cutInvertPushButton_clicked ()
virtual void cutLowSlider_sliderMoved (int value)
virtual void cutLowSlider_sliderReleased ()
virtual void cutNew ()
virtual void cutRemovePushButton_clicked ()
 Responds to the button that removes a cut.
virtual void cutText_returnPressed ()
 Responds to entry in one of the cut text fields.
virtual void cutZoomPanCheckBox_clicked ()
virtual void dataCreateNTuple ()
virtual void dataNTupleSelChanged (int item)
virtual void dataTupleNameChanged (const QString &)
virtual void deleteColorModel ()
 Deletes an existing Value to Color Model.
virtual void editColorModel ()
 Brings up dialog to edit an existing Value to Color model.
void editLabelFontClicked ()
 Edit label font, ( if user wants to overwrite he default ).
void editTitleFontClicked ()
 Edit the title font, ( if user wants to overwrite he default ).
virtual void fitterNamesActivated (int)
virtual void functionAdd ()
virtual void functionParamsCheckBoxToggled (bool)
 Slot which recieves the signal if state of the checkbox changes in the the function Params tab.
virtual void functionParamsLineEditReturnPressed ()
 Slot which recieves the signal if enter is pressed in the line edit in the the function Params tab.
virtual void functionParamsListViewCurrentChanged (QListViewItem *)
 Slot which recieves the signal if Current item changes in the List View of the function Params.
virtual void functionParamsSliderSliderMoved (int)
 Slot which alters the parameter values as the function Params slider is moved.
virtual void functionParamsSliderSliderPressed ()
virtual void functionParamsSliderSliderReleased ()
 Slot which set the slider to mid point after it has been release.
virtual void functionsFitToDataButton_clicked ()
 Fits the selected function to the data.
virtual void functionsRemoveButton_clicked ()
 Removing the selected function and updating appropriate tabbed panels.
virtual void functionsResetButton_clicked ()
 Reset the function parameters from the parameters saved before the last fit.
std::string getArrayTupleLabel (const DataSource *rtuple, const std::string &column)
 In case we are dealing with multidimensional data in rows of this column in the given DataSource we would like to deal with on one entry of this multidimensional data.
virtual PlotterBasegetPlotter ()
virtual void highRangeDrag ()
virtual void intervalStateChanged (bool state)
virtual void intervalTextChanged (const QString &)
virtual void lineStyleButtonGroup_clicked (int id)
virtual void logScale_clicked ()
 The Qt slot which responds to the toggle in state of the logScale checkbox.
virtual void lowRangeDrag ()
virtual void newColorModel ()
 Brings up dialog to create a new Value to Color model.
virtual void newPlotButton_clicked ()
virtual void offsetDrag ()
virtual void on_axis_button_group_clicked (int id)
 Responds to change in axis tabbed panel's axis radio button group.
virtual void on_cut_button_group_clicked (int id)
 Responds to change of the cut panel's radio group.
virtual void pointRepComboBox_activated (const QString &qstr)
virtual void pushButtonNewErrorPlotClicked ()
 The slot that recieves the signal when the PushButtonNewErrorPlot is clicked.
virtual void resetSlider ()
 Resets sliders to default position.
virtual void selCutChanged ()
virtual void setBinWidth (int value, bool drag)
 Sets the bin width and the slider dragging flag.
virtual void setBinWidth (int value)
virtual void setDragOn ()
 Called when any slider is pressed.
virtual void setHighRange (int value, bool yes)
 Sets the high range and the slider dragging flag.
virtual void setHighRange (int value)
virtual void setHighText ()
virtual void setLowRange (int value, bool yes)
 Sets the low range and slider dragging flag.
virtual void setLowRange (int value)
virtual void setLowText ()
virtual void setOffset (int value, bool yes)
 sets the bin offset and the slider dragging flag.
virtual void setOffset (int value)
virtual void setOffsetText ()
 Responds to return in bin offset text field.
virtual void setParameters (int, PlotterBase *)
virtual void setWidthText ()
 Responds to return in bin width text field.
virtual void sliderChanged (int)
 Responds to change in the sliders.
virtual void summaryNew ()
virtual void symbolPointSize_returnPressed ()
virtual void symbolTypeButtonGroup_clicked (int id)
virtual void tabChanged ()
 Receives the signal that the tabbed panel changed and invokes the update method.
virtual void titleText_returnPressed ()
 Responds to title text return.
virtual void updateAxisTab ()
 Updates the axis tabbed panel's widgets.
virtual void updateCutsTab ()
 Updates the cut tabbed panel's widgets' state and values.
virtual void updateDataCutsTab ()
 Updates the cut tabbed panel when in data cut mode.
virtual void updateDataTab ()
virtual void updateFitCutsTab ()
 Update the cut tabbed panel when in fit cut mode.
virtual void updateFunctionsTab ()
 Updates the functions tabbed panel's widgets.
virtual void updatePlotTypes ()
 Updates the available plot types combo box.
virtual void valueChanged (int)
 Responds to change of the value to color combo box.
virtual void widthDrag ()

Static Protected Attributes

static QString s_app_key
 The QSettings application key for searching for setting.
static QString s_registry
 The QSettings Windows registry key.

Private Types

typedef std::vector< PlotterBase * > PlotterList_t
 The type of container for PlotterBase objects.
typedef std::vector< const
TupleCut * > 
TupleCutList_t
 The type of container for current TupleCut objects.

Private Member Functions

void changeNTupleName (const QString &)
 Changes the name NTuple.
void clearNewBindings ()
 Clears the combo boxes associated with new plot bindings.
void dataClearSelectedControls ()
 Clears the previous binding controls.
void disableCutControls (bool yes)
 Disables all the control widgets for a cut.
virtual void errorBars_toggled (bool)
 Responds to error bars check box.
void fillCutsOn (const PlotterBase *, std::vector< PlotterBase * > &cut_list)
 Clears and fills the cut_list with PlotterBase objects that are cuts whose target is the active DataRep contained by plotter.
void fillPlotterList (std::vector< PlotterBase * > &plot_list)
 Clears and Fills plot_list with the PlotterBase objects on the current canvas.
int findCutIndex (const QString &label)
 Returns the index of the cut selections with label label.
void functionAddError ()
 Raises a function add error QMessageBox when the selected DataRep does not support the selected function.
hippodraw::Axes::Type getAxes (unsigned int index)
 Returns the Axes::Type for the TupleCut at index i.
const std::vector< const TupleCut * > & getCutList (const PlotterBase *plotter) const
 Returns the TupleCut list.
const std::vector< PlotterBase * > & getDataCutList (PlotterBase *plotter)
 Returns the list of data cut plotter objects that target plotter.
void incompatibleDataRepError (const std::string &type)
 Raises incompatible DataRep error dialog.
void incompatibleFitterError (const std::string &type)
 Raises incompatible Fitter error dialog.
void incompatibleFunctionError (const std::string &type)
 Raises the incompatible function error dialog.
void init ()
 Initializes the Inspector.
void invalidDataWarning ()
 Raises a dialog to warn user that bound DataSource has invalid data.
void invalidRangeError (const std::string &bad)
 Raises invalid range error dialog.
void loadAllUsrModels ()
void multipleDataRepError (const std::string &type)
 Raises an multiple DataRep error QMessageBox.
void multiplePlotError ()
 Raises a multiple plot error message box.
void newPlotError (const DataSourceException &e)
 Raises a dialog for new plot error.
void noNTupleSelectedError ()
 Raises no NTuple selected error dialog.
virtual void ntupleChanged (int)
 Responds to combo box that shows the NTuple name of the selected plot.
virtual void on_sel_combo_0_activated (const QString &)
 Responds to combo box of selected plot be activated by changing the binding.
virtual void on_sel_combo_1_activated (const QString &)
 Responds to combo box of selected plot be activated by changing the binding.
virtual void on_sel_combo_2_activated (const QString &)
 Responds to combo box of selected plot be activated by changing the binding.
virtual void on_sel_combo_3_activated (const QString &)
 Responds to combo box of selected plot be activated by changing the binding.
void setAllCutsActive (bool yes)
 Sets all CutPlotter objects to active state if yes is true, otherwise sets them inactive.
void setNewPlotNTuple (const std::string &name)
 Sets the current item in the available NTuple selection box to one that matches name.
virtual void setZRadioButton (bool enabled)
 Sets the Z axis radio button to proper state.
void statsStripValue (QRadioButton *box)
 Strips the value part of the text field.
void updateAutoScaleBox ()
 Update the status of the auto scale check box.
void updateCutControls (const std::vector< PlotterBase * > &cutlist)
 Updates the Cut controls in the Cut tabbed panel.
void updateCutControlValues (const PlotterBase *cutplotter)
 Updates the Cut control values with those of the designated cut Plotter.
void updateCutEnableButton ()
 Updates the cut enabled push button control.
void updateCutsActive ()
void updateCutVarGroupBox (const PlotterBase *plotter, int index)
 Updates the QGroupBox that displays to controller for creating a new cut.
virtual void updateErrorEllipseTab ()
 Updates the error Ellipse controls.
void updateLogBox ()
 Update the status of the log scale check box.
void updateNewPlotControls ()
 Updates the controls in the new plot group box.
virtual void updatePlotTab ()
 Updates the Plot tabbed panel's widgets.
void updateSelectedPlotData (const PlotterBase *plotter)
 Updates the controls in the selected plot QGroupBox of the data inspector.
void updateSelectedPlotDataSource (const std::string &name)
 Updates the selected plot data source combo box.
void updateSelectedPlotType (const PlotterBase *plotter)
 Updates the selected plot DataRep type.
void updateTupleCuts (const std::vector< PlotterBase * > &cutlist)
 Updates the list of TupleCut objects and their corresponding Plotter.

Private Attributes

std::vector< double > brk_points
 User defined model parameter.
std::vector< double > color_scales
 User defined model parameter.
std::vector< double > flat_widths
 User defined model parameter.
hippodraw::Axes::Type m_axis
CanvasWindowm_cur_window
bool m_cut_enable_updating
 Set to true when cutEnablePushButton is being updated.
std::map< PlotterBase *, int > m_cut_map
 A map of the last cut item selected for each plotter.
bool m_dragging
std::vector< int > m_functionIndexMap
FunctionRepm_functionRep
 The currently displayed FunctionRep.
int m_highslider1_last_val
 The value of the high slider in Axis Widget 1 as last recorded.
bool m_is_updating
 Set to true if updating is being processed.
int m_last_cut_index
 The index of the last selected cut.
int m_last_ntuple_edited
 The m_all_ntuples item that was lasted edited.
QWidgetm_layoutWidget
int m_lowslider1_last_val
 The value of the low slider in Axis Widget 1 as last recorded.
std::vector< QComboBox * > m_new_combos
 Binding combo boxes for new plot group box.
std::vector< QLabel * > m_new_labels
 Binding labels for new plot group box.
QWidgetm_newLayoutWidget
QVBoxLayoutm_newVLayout
std::vector< double > m_oldParameters
PlotterBasem_plotter
 The currently selected PlotterBase object.
std::vector< PlotterBase * > m_plotter_list
 The currently selected plotters.
Range m_range
std::vector< QComboBox * > m_sel_combos
 Binding combo boxes for selected plot group box.
std::vector< QLabel * > m_sel_labels
 Binding labels for selected plot group box.
PlotterList_t m_tuple_cut_plotters
 The PlotterBase object associated with each TupleCut object.
TupleCutList_t m_tuple_cuts
 The list of TupleCut objects currently selected.
QVBoxLayoutm_vLayout
std::map< const PlotterBase *,
bool > 
m_zoompan
std::vector< std::stringusr_models
 User defined model name.


Member Typedef Documentation

typedef std::vector< PlotterBase * > Inspector::PlotterList_t [private]
 

The type of container for PlotterBase objects.

Definition at line 235 of file Inspector.h.

typedef std::vector< const TupleCut * > Inspector::TupleCutList_t [private]
 

The type of container for current TupleCut objects.

Definition at line 227 of file Inspector.h.


Constructor & Destructor Documentation

Inspector::Inspector QWidget parent = 0,
const char *  name = 0,
bool  modal = false,
Qt::WFlags  flags = 0
 

The constructor.

Definition at line 115 of file Inspector.cxx.

References axisZoomPanCheckBox_clicked(), cutHighSlider_sliderMoved(), cutHighSlider_sliderReleased(), cutLowSlider_sliderMoved(), cutLowSlider_sliderReleased(), cutText_returnPressed(), cutZoomPanCheckBox_clicked(), highRangeDrag(), init(), FunctionController::instance(), lowRangeDrag(), m_highslider1_last_val, m_lowslider1_last_val, m_plotter, setDragOn(), setHighRange(), setHighText(), setLowRange(), setLowText(), updatePlotTypes(), and ~Inspector().

Inspector::~Inspector  )  [virtual]
 

The virtual destructor.

Definition at line 199 of file Inspector.cxx.

Referenced by Inspector().


Member Function Documentation

void Inspector::addDataRepButton_clicked  )  [protected, virtual]
 

Responds to click on the add Data Rep button.

Definition at line 1157 of file Inspector.cxx.

References std::count(), getArrayTupleLabel(), getPlotter(), incompatibleDataRepError(), DisplayController::instance(), RootController::instance(), DataSourceController::instance(), invalidDataWarning(), QString::latin1(), m_new_combos, and update().

void Inspector::allCutsRadioButton_toggled bool  selected  )  [virtual]
 

Definition at line 2578 of file Inspector.cxx.

References disableCutControls(), getDataCutList(), getPlotter(), updateCutControls(), and updateCutControlValues().

Referenced by cutNew(), and updateCutsTab().

void Inspector::allNtupleComboActivated const QString  )  [protected, virtual]
 

Definition at line 504 of file Inspector.cxx.

References availPlotTypesActivated(), changeNTupleName(), and m_last_ntuple_edited.

void Inspector::autoScale_clicked  )  [protected, virtual]
 

Slot which responds to the toggle in state of the autoScale check box.

Definition at line 4144 of file Inspector.cxx.

References PlotterBase::getTransform(), m_axis, m_plotter_list, PeriodicBinaryTransform::setXOffset(), PeriodicBinaryTransform::setYOffset(), and updateAxisTab().

Referenced by setDragOn().

void Inspector::availPlotTypesActivated const QString  )  [protected, virtual]
 

Definition at line 610 of file Inspector.cxx.

References clearNewBindings(), DataSource::getLabels(), QWidget::hide(), DisplayController::instance(), DataSourceController::instance(), m_new_combos, m_new_labels, m_newLayoutWidget, and num_util::size().

Referenced by allNtupleComboActivated(), dataNTupleSelChanged(), and updateNewPlotControls().

void Inspector::axisLabelChanged int  index,
const QString axisName
[protected, virtual]
 

Responds to change in axis binding on existing plotter.

Definition at line 547 of file Inspector.cxx.

References getPlotter(), DisplayController::instance(), invalidDataWarning(), QString::latin1(), m_plotter_list, m_sel_labels, and multiplePlotError().

Referenced by on_sel_combo_0_activated(), on_sel_combo_1_activated(), on_sel_combo_2_activated(), and on_sel_combo_3_activated().

void Inspector::axisLabelText  )  [protected, virtual]
 

Responds to return in axis label text box.

Definition at line 2022 of file Inspector.cxx.

References convertToString(), getPlotter(), QString::latin1(), and m_axis.

void Inspector::axisZoomPanCheckBox_clicked  )  [protected, virtual]
 

Responds to change in zoom/pan check box.

Definition at line 1855 of file Inspector.cxx.

References getPlotter(), PlotterBase::getRange(), m_axis, m_zoompan, and PlotterBase::setAutoRanging().

Referenced by Inspector().

void Inspector::changeNTupleName const QString  )  [private]
 

Changes the name NTuple.

Changes the name of a NTuple object to new_name. The NTuple whose names get changed is the one whose name was last edited in the m_all_ntuples QComboBox. It was save in m_last_ntuple_edited.

Definition at line 480 of file Inspector.cxx.

References DataSourceController::instance(), QString::latin1(), and m_last_ntuple_edited.

Referenced by allNtupleComboActivated().

void Inspector::clearNewBindings  )  [private]
 

Clears the combo boxes associated with new plot bindings.

Definition at line 596 of file Inspector.cxx.

References m_new_combos, m_new_labels, and num_util::size().

Referenced by availPlotTypesActivated().

void Inspector::colorSelect_2_clicked  )  [protected, virtual]
 

Sets the Color of the cut plotter.

Definition at line 4291 of file Inspector.cxx.

References QColor::blue(), Color::getBlue(), QColorDialog::getColor(), Color::getGreen(), Color::getRed(), getSelectedCut(), QColor::green(), QColor::isValid(), and QColor::red().

void Inspector::colorSelect_clicked  )  [protected, virtual]
 

Definition at line 1796 of file Inspector.cxx.

References PlotterBase::activePlotIndex(), QColor::blue(), Color::getBlue(), QColorDialog::getColor(), Color::getGreen(), getPlotter(), Color::getRed(), QColor::green(), QColor::isValid(), multipleDataRepError(), QColor::red(), PlotterBase::repColor(), and PlotterBase::setRepColor().

void Inspector::comboBoxEllipsoidParamXHighlighted int  index  )  [protected, virtual]
 

The slot that recieves the signal when ComboBoxEllipsoidParamX (which is in the Confidence ellipsoid Group Box) is highlighted.

It sets the paramter along the Y axis against which the confidence ellipsoid is to be plotted

Definition at line 3630 of file Inspector.cxx.

References FunctionController::instance(), and hippodraw::Axes::X.

void Inspector::comboBoxEllipsoidParamYHighlighted int  index  )  [protected, virtual]
 

The slot that recieves the signal when ComboBoxEllipsoidParamY (which is in the Confidence ellipsoid Group Box) is highlighted.

It sets the paramter along the Y axis against which the confidence ellipsoid is to be plotted

Definition at line 3640 of file Inspector.cxx.

References FunctionController::instance(), and hippodraw::Axes::Y.

void Inspector::contourError  )  [protected]
 

Raises message box on contour input error.

Definition at line 4412 of file Inspector.cxx.

References QMessageBox::critical().

Referenced by contourLevelsTextBox_returnPressed().

void Inspector::contourLevelsTextBox_returnPressed  )  [protected, virtual]
 

Responds to change in contour levels text box.

Definition at line 4428 of file Inspector.cxx.

References DisplayController::activeDataRepIndex(), contourError(), PlotterBase::getDataRep(), getPlotter(), DataRep::getProjector(), DataRep::getRepresentation(), DisplayController::instance(), QString::isEmpty(), Observable::notifyObservers(), ContourPointRep::setContourValues(), QString::simplifyWhiteSpace(), and QString::toDouble().

Referenced by contourRadioButton1_toggled().

void Inspector::contourRadioButton1_toggled bool   )  [protected, virtual]
 

Responds to change in 1st contour radio button.

Definition at line 4369 of file Inspector.cxx.

References contourLevelsTextBox_returnPressed(), contourSlider_valueChanged(), ContourPointRep::getNumContours(), getPlotter(), and DataRep::getRepresentation().

Referenced by updateAxisTab().

void Inspector::contourSlider_valueChanged int  val  )  [protected, virtual]
 

Definition at line 4311 of file Inspector.cxx.

References DisplayController::activeDataRepIndex(), PlotterBase::getDataRep(), getPlotter(), DataRep::getRepresentation(), DisplayController::instance(), Observable::notifyObservers(), ContourPointRep::setNumContours(), and ContourPointRep::setUsingUserValues().

Referenced by contourRadioButton1_toggled().

void Inspector::contourTextBox_returnPressed  )  [protected, virtual]
 

Definition at line 4335 of file Inspector.cxx.

References DisplayController::activeDataRepIndex(), PlotterBase::getDataRep(), ContourPointRep::getNumContours(), getPlotter(), DataRep::getRepresentation(), DisplayController::instance(), Observable::notifyObservers(), ContourPointRep::setNumContours(), ContourPointRep::setUsingUserValues(), and QString::toInt().

const std::string Inspector::convertToString hippodraw::Axes::Type   )  [protected, virtual]
 

Definition at line 3724 of file Inspector.cxx.

References m_axis, hippodraw::Axes::X, hippodraw::Axes::Y, and hippodraw::Axes::Z.

Referenced by axisLabelText(), setBinWidth(), setHighRange(), setLowRange(), setOffset(), and updateAxisTab().

void Inspector::createResiduals  )  [protected, virtual]
 

Creates a display showing the residuals of the function.

Definition at line 3611 of file Inspector.cxx.

References getPlotter(), WindowController::instance(), FunctionController::instance(), and hippodraw::Axes::X.

void Inspector::customEvent QCustomEvent event  )  [virtual]
 

The method to receive update events from the application queue.

The event object's data should contain a pointer to a PlotterBase object. This object's properties will be use to update the Inspector's tabbed panels and will be the target for its controls.

Definition at line 280 of file Inspector.cxx.

References m_plotter, m_plotter_list, and update().

void Inspector::cutAddAll  )  [protected, virtual]
 

Adds all the cuts to the DataRep.

Definition at line 2536 of file Inspector.cxx.

References getDataCutList(), getPlotter(),