Public Slots | Public Member Functions | Public Attributes | Protected Slots | Protected Member Functions | Protected Attributes | Static Protected Attributes | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
Inspector Class Reference

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

#include <Inspector.h>

Inheritance diagram for Inspector:
Inheritance graph
[legend]
Collaboration diagram for Inspector:
Collaboration graph
[legend]

Public Slots

virtual void m_editFontToggled (bool)
 
virtual void m_editLabelFontClicked ()
 
virtual void m_editTitleFontClicked ()
 
virtual void m_numContourSlider_valueChanged (int)
 

Public Member Functions

 accept ()
 
virtual void allCutsRadioButton_toggled (bool selected)
 
virtual void customEvent (QCustomEvent *event)
 The method to receive update events from the application queue. More...
 
 done (int r)
 
void enableNewPlotBox (bool yes=true)
 Enables the new plot box. More...
 
 enum {Rejected, Accepted}
 
 exec ()
 
 extension () const
 
std::string getSelectedDataSourceName () const
 Returns the name of the currently selected DataSource in Data tabbed panel. More...
 
 Inspector (QWidget *parent=0, const char *name=0, bool modal=false, Qt::WFlags flags=0)
 The constructor. More...
 
 isModal () const
 
 isSizeGripEnabled () const
 
 orientation () const
 
 prop -whether show() should pop up the dialog as modal or modeless
 
 prop -whether the size grip is enabled
 
 reject ()
 
 result () const
 
virtual void selectedCutsRadioButton_toggled (bool selected)
 
 setExtension (QWidget *extension)
 
 setModal (bool modal)
 
 setOrientation (Orientation orientation)
 
 setResult (int i)
 
void setSelectedFitter (const std::string &name)
 Sets the selected Fitter. More...
 
 setSizeGripEnabled (bool)
 
 show ()
 
 showExtension (bool showIt)
 
virtual void statsButtonGroupClicked (int)
 
virtual void update ()
 The Update Method. More...
 
virtual void updateSummaryTab ()
 Updates the Stats tabbed panel's widgets. More...
 
virtual ~Inspector ()
 The virtual destructor. More...
 

Public Attributes

QRadioButtonallCutsRadioButton
 
QButtonGroupaxis_button_group
 
QWidgetaxisTab
 
hippodraw::AxisWidgetaxisWidget1
 
hippodraw::AxisWidgetaxisWidget2
 
hippodraw::AxisWidgetaxisWidget3
 
QLabelbrk_label
 
QSliderbrk_pt
 
QButtonGroupButtonGroup4
 
QButtonGroupButtonGroup8
 
QRadioButtoncircle
 
QSlidercolor_scale
 
QLabelcolorlabel
 
QPushButtoncolorSelect_2
 
QRadioButtoncontourRadioButton1
 
QRadioButtoncontourRadioButton2
 
QRadioButtoncross
 
QGroupBoxcurrentPlot
 
QButtonGroupcut_button_group
 
QPushButtoncutEnablePushButton
 
QPushButtoncutInvertPushButton
 
QPushButtoncutNewPushButton
 
QPushButtoncutRemovePushButton
 
QWidgetcutsTab
 
QWidgetdataTab
 
QPushButtondelete_model
 
QPushButtonedit_model
 
QRadioButtonfilledCircle
 
QRadioButtonfilledRectangle
 
QRadioButtonfilledTriangle
 
QSliderflat_width
 
QLabelflatlabel
 
QPushButtonfunctionsFitToDataButton
 
QPushButtonfunctionsRemoveButton
 
QPushButtonfunctionsResetButton
 
QWidgetfuntionTab
 
QGroupBoxgroupBox14
 
QLabellabel
 
QLabellabel_2
 
QCheckBoxlogScale
 
QPushButtonm_addDataRepButton
 
QRadioButtonm_Air
 
QComboBoxm_all_ntuples
 
QRadioButtonm_Arc
 
QCheckBoxm_autoScale
 
QComboBoxm_availPlotTypes
 
QFramem_axis_frame
 
QGroupBoxm_axis_group_box
 
QLineEditm_axis_label
 
QCheckBoxm_boxedge
 
QRadioButtonm_Car
 
QCheckBoxm_combine_checkbox
 
QButtonGroupm_contourBox
 
QLineEditm_contourLevelsTextBox
 
QRadioButtonm_cut_data1
 
QRadioButtonm_cut_data2
 
QRadioButtonm_cut_fit_radio
 
QGroupBoxm_cut_selected_box
 
QPushButtonm_cutAddAll
 
QPushButtonm_cutAddSelected
 
QComboBoxm_CutVariableComboBox1
 
QComboBoxm_CutVariableComboBox2
 
QPushButtonm_data_create
 
QLineEditm_dataRepNameText
 
QPushButtonm_diffdatarep
 
QPushButtonm_editLabelFont
 
QPushButtonm_editTitleFont
 
QCheckBoxm_errorBars
 
QComboBoxm_fitter_names
 
QGroupBoxm_func_new
 
QGroupBoxm_func_parms
 
QCheckBoxm_FunctionParamsCheckBox
 
QLineEditm_FunctionParamsLineEdit
 
QListViewm_FunctionParamsListView
 
QSliderm_FunctionParamsSlider
 
QRadioButtonm_Gls
 
QCheckBoxm_grid
 
QRadioButtonm_hammer
 
QCheckBoxm_IgnoreErrorCheckBox
 
QCheckBoxm_interval_cb
 
QGroupBoxm_interval_group
 
QLineEditm_interval_le
 
QRadioButtonm_lambert
 
QButtonGroupm_line_group
 
QRadioButtonm_linear
 
QRadioButtonm_logx
 
QRadioButtonm_logxy
 
QRadioButtonm_logy
 
QRadioButtonm_Mer
 
QGroupBoxm_new_cut_box
 
QGroupBoxm_new_plot_box
 
QLabelm_numContoursLabel
 
QSliderm_numContourSlider
 
QLineEditm_numContoursTextBox
 
QScrollBarm_offset_range
 
QLineEditm_offset_text
 
QPushButtonm_plot_color
 
QGroupBoxm_plot_symbols
 
QTabWidgetm_plot_tab
 
QGroupBoxm_plot_title
 
QWidgetStackm_point_stack
 
QComboBoxm_pointRepComboBox
 
QPushButtonm_PushButtonNewErrorPlot
 
QPushButtonm_removeDatarep
 
QPushButtonm_resid
 
QCheckBoxm_reverse
 
QComboBoxm_sel_ntuple_name
 
QComboBoxm_selCutComboBox
 
QPushButtonm_selectedColor
 
QRadioButtonm_selectedPlotRadioButton
 
QRadioButtonm_Sin
 
QGroupBoxm_slider_control
 
QRadioButtonm_stats_avg_x
 
QRadioButtonm_stats_avg_y
 
QRadioButtonm_stats_chi
 
QRadioButtonm_stats_fparms
 
QRadioButtonm_stats_number
 
QRadioButtonm_stats_overflow
 
QRadioButtonm_stats_std_x
 
QRadioButtonm_stats_text
 
QRadioButtonm_stats_underflow
 
QLineEditm_statsTextField
 
QRadioButtonm_Stg
 
QGroupBoxm_summary
 
QButtonGroupm_symbol_group
 
QLineEditm_symbolPointSize
 
QRadioButtonm_Tan
 
QLineEditm_titleText
 
QComboBoxm_value_combo
 
QScrollBarm_width_range
 
QLineEditm_width_text
 
QScrollBarm_x_offset
 
QLineEditm_x_offset_text
 
QScrollBarm_y_offset
 
QLineEditm_y_offset_text
 
QScrollBarmin_entries_slider
 
QLineEditmin_entries_text
 
QLabelnew_binding_0
 
QLabelnew_binding_1
 
QLabelnew_binding_2
 
QLabelnew_binding_3
 
QLabelnew_binding_4
 
QComboBoxnew_combo_0
 
QComboBoxnew_combo_1
 
QComboBoxnew_combo_2
 
QComboBoxnew_combo_3
 
QComboBoxnew_combo_4
 
QPushButtonnew_model
 
QPushButtonnewFunctionsAddButton
 
QComboBoxnewFunctionsComboBox
 
QPushButtonnewPlotButton
 
QPushButtonnewSummary
 
QWidgetpage
 
QWidgetpage_2
 
QWidgetplotTab_2
 
QRadioButtonplus
 
QPushButtonpushButton26
 
QRadioButtonradioButton27
 
QRadioButtonradioButton27_2
 
QRadioButtonradioButton27_2_2
 
QRadioButtonradioButton27_2_2_2
 
QRadioButtonradioButton27_2_2_2_2
 
QRadioButtonradioButton27_2_2_2_2_2
 
QRadioButtonradioButton38
 
QRadioButtonradioButton39
 
QRadioButtonradioButton40
 
QRadioButtonrectangle
 
QPushButtonreset_slider
 
QGroupBoxrotateGroupBox
 
QLabelsel_binding_0
 
QLabelsel_binding_1
 
QLabelsel_binding_2
 
QLabelsel_binding_3
 
QLabelsel_binding_4
 
QComboBoxsel_combo_0
 
QComboBoxsel_combo_1
 
QComboBoxsel_combo_2
 
QComboBoxsel_combo_3
 
QComboBoxsel_combo_4
 
QButtonGroupshow_cut_radio_group
 
QWidgetstatsTab
 
QWidgettab
 
QLabelTextLabel1
 
QLabeltextLabel1
 
QLabeltextLabel1_2
 
QLabeltextLabel1_2_2
 
QLabelTextLabel1_2_3
 
QLabelTextLabel1_2_3_2
 
QLabelTextLabel1_2_4
 
QLabelTextLabel1_2_4_2
 
QLabelTextLabel1_3
 
QLabelTextLabel1_3_2
 
QLabelTextLabel1_4
 
QLabeltextLabel5
 
QButtonGrouptransform_button_group
 
QRadioButtontriangle
 
QLabelu_fiiter
 

Protected Slots

virtual void languageChange ()
 
virtual void transformNew ()
 

Protected Member Functions

virtual void addDataRepButton_clicked ()
 Responds to click on the add Data Rep button. More...
 
virtual void allNtupleComboActivated (const QString &)
 
virtual void autoScale_clicked ()
 Slot which responds to the toggle in state of the autoScale check box. More...
 
virtual void availPlotTypesActivated (const QString &)
 
virtual void axis_button_group_clicked (int id)
 Responds to change in axis tabbed panel's axis radio button group. More...
 
virtual void axisLabelChanged (int index, const QString &axisName)
 Responds to change in axis binding on existing plotter. More...
 
virtual void axisLabelText ()
 Responds to return in axis label text box. More...
 
virtual void axisZoomPanCheckBox_clicked ()
 Responds to change in zoom/pan check box. More...
 
virtual void colorSelect_2_clicked ()
 Sets the Color of the cut plotter. More...
 
virtual void colorSelect_clicked ()
 
virtual void combineCheckBox_clicked ()
 Responds to the combined bins checkbox clicked. More...
 
void contourError ()
 Raises message box on contour input error. More...
 
virtual void contourLevelsTextBox_returnPressed ()
 Responds to change in contour levels text box. More...
 
virtual void contourRadioButton1_toggled (bool)
 Responds to change in 1st contour radio button. More...
 
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. More...
 
virtual void cut_button_group_clicked ()
 Responds to change of the cut panel's radio group. More...
 
virtual void cutAddAll ()
 Adds all the cuts to the DataRep. More...
 
virtual void cutAddSelected ()
 Adds selected cut to the DataRep. More...
 
virtual void cutEnablePushButton_toggled (bool on)
 Responds to the cut enable push button. More...
 
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. More...
 
virtual void cutText_returnPressed ()
 Responds to entry in one of the cut text fields. More...
 
virtual void cutZoomPanCheckBox_clicked ()
 
virtual void dataCreateNTuple ()
 
virtual void dataNTupleSelChanged (int item)
 
virtual void dataTupleNameChanged (const QString &)
 Respond to change of DataSource name change. More...
 
virtual void deleteColorModel ()
 Deletes an existing Value to Color Model. More...
 
virtual void editColorModel ()
 Brings up dialog to edit an existing Value to Color model. More...
 
void editLabelFontClicked ()
 Edit label font, ( if user wants to overwrite he default ) More...
 
void editTitleFontClicked ()
 Edit the title font, ( if user wants to overwrite he default ) More...
 
virtual void entriesDrag ()
 
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. More...
 
virtual void functionParamsLineEditReturnPressed ()
 Slot which recieves the signal if enter is pressed in the line edit in the the function Params tab. More...
 
virtual void functionParamsListViewCurrentChanged ()
 Slot which recieves the signal if Current item changes in the List View of the function Params. More...
 
virtual void functionParamsSliderSliderMoved (int)
 Slot which alters the parameter values as the function Params slider is moved. More...
 
virtual void functionParamsSliderSliderPressed ()
 Slot which recieves signal when params slider is presssed. More...
 
virtual void functionParamsSliderSliderReleased ()
 Slot which set the slider to mid point after it has been release. More...
 
virtual void functionsFitToDataButton_clicked ()
 Fits the selected function to the data. More...
 
virtual void functionsRemoveButton_clicked ()
 Removing the selected function and updating appropriate tabbed panels. More...
 
virtual void functionsResetButton_clicked ()
 Reset the function parameters from the parameters saved before the last fit. More...
 
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. More...
 
virtual int getMinEntries ()
 Get the minimum entries number of the plot. More...
 
virtual PlotterBasegetPlotter ()
 
virtual void highRangeDrag ()
 
virtual void ignoreErrorCheckBoxToggled (bool)
 Slot which responds to the ignoreError check box. More...
 
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. More...
 
virtual void lowRangeDrag ()
 
virtual void m_boxedge_clicked ()
 
virtual void m_grid_clicked ()
 Responds to the toggle in state of the show grid check box. More...
 
virtual void newColorModel ()
 Brings up dialog to create a new Value to Color model. More...
 
virtual void newPlotButton_clicked ()
 
virtual void offsetDrag ()
 
virtual void pointRepComboBox_activated (const QString &qstr)
 
virtual void pushButtonNewErrorPlotClicked ()
 The slot that recieves the signal when the PushButtonNewErrorPlot is clicked. More...
 
virtual void removeDataRepButton_clicked ()
 Responds to click on the remove Data Rep button. More...
 
virtual void resetRotate ()
 Reset to zero. More...
 
virtual void resetSlider ()
 Resets sliders to default position. More...
 
virtual void reverse_clicked ()
 Slot which respons to the toggle in state of the reverse check box. More...
 
virtual void rotateX (int offset)
 Rotation for periodic transform. More...
 
virtual void rotateY (int offset)
 
virtual void selCutChanged ()
 
virtual void setBinWidth (int value)
 
virtual void setBinWidth (int value, bool drag)
 Sets the bin width and the slider dragging flag. More...
 
virtual void setDragOn ()
 Called when any slider is pressed. More...
 
virtual void setHighRange (int value)
 
virtual void setHighRange (int value, bool yes)
 Sets the high range and the slider dragging flag. More...
 
virtual void setHighText ()
 
virtual void setLowRange (int value)
 
virtual void setLowRange (int value, bool yes)
 Sets the low range and slider dragging flag. More...
 
virtual void setLowText ()
 
virtual void setMinEntries (int increment)
 Responds to minimum entries slider. More...
 
virtual void setMinEntriesText ()
 Responds to the user input of minimum entries number. More...
 
virtual void setOffset (int value)
 
virtual void setOffset (int value, bool yes)
 sets the bin offset and the slider dragging flag. More...
 
virtual void setOffsetText ()
 Responds to return in bin offset text field. More...
 
virtual void setParameters (int, PlotterBase *)
 
virtual void setRotate (int x, int y)
 Reset the rotation slider and text, from the plotter. More...
 
virtual void setWidthText ()
 Responds to return in bin width text field. More...
 
virtual void setXRotateText ()
 
virtual void setYRotateText ()
 
virtual void sliderChanged (int)
 Responds to change in the sliders of one of the value to color sliders. More...
 
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. More...
 
virtual void titleText_returnPressed ()
 Responds to title text return. More...
 
virtual void transform_button_group_clicked ()
 Responds to change in transform tabbed panel's radio button group. More...
 
virtual void updateAxisTab ()
 Updates the axis tabbed panel's widgets. More...
 
virtual void updateCutsTab ()
 Updates the cut tabbed panel's widgets' state and values. More...
 
virtual void updateDataCutsTab ()
 Updates the cut tabbed panel when in data cut mode. More...
 
virtual void updateDataTab ()
 
virtual void updateFitCutsTab ()
 Update the cut tabbed panel when in fit cut mode. More...
 
virtual void updateFunctionsTab ()
 Updates the functions tabbed panel's widgets. More...
 
virtual void updatePlotTypes ()
 Updates the available plot types combo box. More...
 
virtual void updateTransformTab ()
 Update the transform tabbed panel's widgets. More...
 
virtual void valueChanged (int)
 Responds to change of the value to color combo box. More...
 
virtual void widthDrag ()
 

Protected Attributes

QVBoxLayoutlayout100
 
QVBoxLayoutlayout102
 
QHBoxLayoutlayout29
 
QHBoxLayoutlayout31
 
QHBoxLayoutLayout31
 
QHBoxLayoutlayout33
 
QVBoxLayoutlayout33_2
 
QVBoxLayoutlayout33_3
 
QVBoxLayoutlayout33_3_2
 
QVBoxLayoutlayout34
 
QVBoxLayoutlayout35
 
QVBoxLayoutlayout35_2
 
QVBoxLayoutlayout36
 
QHBoxLayoutlayout36_2
 
QHBoxLayoutlayout37
 
QVBoxLayoutlayout37_2
 
QVBoxLayoutlayout37_2_2
 
QVBoxLayoutlayout38
 
QHBoxLayoutlayout39
 
QHBoxLayoutlayout40
 
QHBoxLayoutLayout40_2
 
QHBoxLayoutlayout41
 
QHBoxLayoutlayout41_2
 
QHBoxLayoutlayout42
 
QHBoxLayoutlayout42_2
 
QHBoxLayoutlayout42_2_2
 
QHBoxLayoutlayout43
 
QHBoxLayoutlayout44
 
QHBoxLayoutlayout44_2
 
QHBoxLayoutlayout45
 
QHBoxLayoutlayout45_2
 
QVBoxLayoutlayout45_3
 
QHBoxLayoutlayout46
 
QHBoxLayoutlayout46_2
 
QHBoxLayoutlayout46_3
 
QHBoxLayoutlayout47
 
QHBoxLayoutlayout47_2
 
QHBoxLayoutlayout47_3
 
QHBoxLayoutlayout48
 
QHBoxLayoutlayout49
 
QHBoxLayoutlayout49_2
 
QVBoxLayoutlayout51
 
QVBoxLayoutlayout51_2
 
QHBoxLayoutlayout52
 
QVBoxLayoutlayout77
 
QHBoxLayoutm_color_layout
 
QVBoxLayoutm_line_groupLayout
 
QVBoxLayoutm_symbol_groupLayout
 
QVBoxLayoutm_value_layout
 

Static Protected Attributes

static QString s_registry
 The QSettings Windows registry key. More...
 

Private Types

enum  ParameterList {
  Index, Name, Value, Error,
  Fixed, Dummy
}
 
typedef std::vector
< PlotterBase * > 
PlotterList_t
 The type of container for PlotterBase objects. More...
 
typedef std::vector< const
TupleCut * > 
TupleCutList_t
 The type of container for current TupleCut objects. More...
 

Private Member Functions

void badFunctionError (const std::string &name, const char *what)
 Raise bad function error dialog. More...
 
void changeNTupleName (const QString &)
 Changes the name NTuple. More...
 
void clear (std::vector< QLabel * > &labels, std::vector< QComboBox * > &combos)
 Clears the labels and combo boxes. More...
 
void convertCtrlPts (std::vector< double > &sv)
 Converts the value to color control points from int slider values to float values. More...
 
void cutOnCutError ()
 Raises information dialog to say applying a cut to itself was not done. More...
 
int cutRadioId () const
 Returns the Id of the cut radio button group. More...
 
void dataClearSelectedControls ()
 Clears the previous binding controls. More...
 
virtual void diffDataRep ()
 Create display with differenece between two DataRep objects in Plotter. More...
 
void disableCutControls (bool yes)
 Disables all the control widgets for a cut. More...
 
virtual void errorBars_toggled (bool)
 Responds to error bars check box. More...
 
void fillCheckedFunctionRepItems ()
 Clears and fills m_func_parm_checked vector with the function parameters that have their check box on. More...
 
void fillFunctionParameters (QListViewItem *parent, const FunctionRep *function, unsigned int &index)
 Fills the QListView with items for each function parameter or function as a child of parent. More...
 
void fillPlotterList (std::vector< PlotterBase * > &plot_list)
 Clears and Fills plot_list with the PlotterBase objects on the current canvas. More...
 
int findCutIndex (const QString &label)
 Returns the index of the cut selections with label label. More...
 
void fitFailedError ()
 Raises failed fit error dialog. More...
 
void functionAddError ()
 Raises a function add error QMessageBox when the selected DataRep does not support the selected function. More...
 
hippodraw::Axes::Type getAxes (unsigned int index)
 Populates the three vectors(usr_models,brk_points,flat_widths) with details about the user defined Color Transform models. More...
 
const std::vector< const
TupleCut * > & 
getCutList (const PlotterBase *plotter) const
 
     Clears and fills the @a cut_list with PlotterBase objects that

are cuts whose target is the active DataRep contained by plotter. More...

 
const std::vector< PlotterBase * > & getDataCutList (PlotterBase *plotter)
 Returns the list of data cut plotter objects that target plotter. More...
 
FunctionRepgetFunctionRep (QListViewItem *item)
 Returns the FunctionRep coresponding to the selected item. More...
 
FunctionRepgetFunctionRep ()
 Returns the FunctionRep directly coresponding to the selected item. More...
 
virtual CutPlottergetSelectedCut ()
 
FunctionRepgetTopFunctionRep (QListViewItem *item)
 Returns the FunctionRep corresponding to the top function (composite function if any) parameters QListView item. More...
 
FunctionRepgetTopFunctionRep ()
 Returns the FunctionRep corresponding to top of selected function chain (the composite function if any) parameters QListView item. More...
 
QListViewItemgetTopParent (QListViewItem *item)
 Help function to find the top level object in a QListViewItem tree. More...
 
void incompatibleDataRepError (const std::string &type)
 Raises incompatible DataRep error dialog. More...
 
void incompatibleFitterError (const std::string &type)
 Raises incompatible Fitter error dialog. More...
 
void incompatibleFunctionError (const std::string &type)
 Raises the incompatible function error dialog. More...
 
void init ()
 Initializes the Inspector. More...
 
void invalidDataWarning ()
 Raises a dialog to warn user that bound DataSource has invalid data. More...
 
void invalidOperationError (const std::string &message)
 Raises operatonal error messge ox with messge. More...
 
void invalidPeriodicTransform ()
 Displays a warning message that application was not compiled with WCSLIB support. More...
 
void invalidRangeError (const std::string &bad)
 Raises invalid range error dialog. More...
 
void loadAllUserModels ()
 
void multipleDataRepError (const std::string &type)
 Raises a multiple DataRep error QMessageBox. More...
 
bool multipleDataRepInfo (const std::string &type)
 Raises a multiple DataRep info dialog. More...
 
void multiplePlotError ()
 Raises a multiple plot error message box. More...
 
void newPlotError (const std::exception &e)
 Raises a dialog for new plot error. More...
 
void noNTupleSelectedError ()
 Raises no NTuple selected error dialog. More...
 
virtual void ntupleChanged (int)
 Responds to combo box that shows the NTuple name of the selected plot. More...
 
virtual void sel_combo_0_activated (const QString &)
 Responds to combo box of selected plot be activated by changing the binding. More...
 
virtual void sel_combo_1_activated (const QString &)
 Responds to combo box of selected plot be activated by changing the binding. More...
 
virtual void sel_combo_2_activated (const QString &)
 Responds to combo box of selected plot be activated by changing the binding. More...
 
virtual void sel_combo_3_activated (const QString &)
 Responds to combo box of selected plot be activated by changing the binding. More...
 
void setAllCutsActive (bool yes)
 Sets all CutPlotter objects to active state if yes is true, otherwise sets them inactive. More...
 
void setAppKey ()
 Ensures that the application's key value has been set. More...
 
void setNewPlotNTuple (const std::string &name)
 Sets the current item in the available NTuple selection box to one that matches name. More...
 
virtual void setZRadioButton (bool enabled)
 Sets the Z axis radio button to proper state. More...
 
void statsStripValue (QRadioButton *box)
 Strips the value part of the text field. More...
 
int transformId () const
 Returns the Id of the transform radio button that is selected. More...
 
void updateAutoScaleBox ()
 Updates the active and inactive cuts. More...
 
void updateColorMapCtrls (const PlotterBase *plotter)
 Updates the controls for the color map if applicable, othewise disables them. More...
 
void updateCutControls (const std::vector< PlotterBase * > &cutlist)
 Updates the Cut controls in the Cut tabbed panel. More...
 
void updateCutControlValues (const PlotterBase *cutplotter)
 Updates the Cut control values with those of the designated cut Plotter. More...
 
void updateCutEnableButton ()
 Updates the cut enabled push button control. More...
 
void updateCutsActive ()
 
void updateCutVarGroupBox (const PlotterBase *plotter, int index)
 Updates the QGroupBox that displays to controller for creating a new cut. More...
 
void updateLogBox ()
 Update the status of the log scale check box. More...
 
void updateNewPlotControls ()
 Updates the controls in the new plot group box. More...
 
virtual void updatePlotTab ()
 Updates the Plot tabbed panel's widgets. More...
 
void updateReverseBox ()
 Update the status of the reverse check box. More...
 
void updateSelectedPlotData (const PlotterBase *plotter)
 Updates the controls in the selected plot QGroupBox of the data inspector. More...
 
void updateSelectedPlotDataSource (const std::string &name)
 Updates the selected plot data source combo box. More...
 
void updateSelectedPlotType (const PlotterBase *plotter)
 Updates the selected plot DataRep type. More...
 
void updateTupleCuts (const std::vector< PlotterBase * > &cutlist)
 Updates the list of TupleCut objects and their corresponding Plotter. More...
 
void updateValueCombo ()
 Updates the value to color transform combo box. More...
 
int validPeriodicTransformRange ()
 Return true if the range is valid for HammerAito or Lambert transform. More...
 
bool validPeriodicTransformRange (int miny)
 
void warningTex ()
 Raises warning if TeX not supported. More...
 

Static Private Member Functions

static void stringTokenize (std::string input, const std::string &delimiters, std::vector< std::string > &tokens, bool clear=true)
 

Private Attributes

QString m_app_key
 The QSettings application key for searching for setting. More...
 
hippodraw::Axes::Type m_axis
 
QString m_break_point
 The color model break point settings key. More...
 
QString m_color_scale
 The color model color scale settings key. More...
 
CanvasWindowm_cur_window
 
bool m_cut_enable_updating
 Set to true when hippodraw::Inspector::cutEnablePushButton is being updated. More...
 
std::map< PlotterBase *, int > m_cut_map
 A map of the last cut item selected for each plotter. More...
 
bool m_dragging
 
QString m_flat_width
 The color model flat width settings key. More...
 
std::vector< QListViewItem * > m_func_parm_checked
 The list of functions parameters that are checked for use by the error contour display. More...
 
std::map< QListViewItem
*, FunctionRep * > 
m_function_lv_map
 Map between a function's QListViewItem and its FunctionRep pointer. More...
 
std::vector< int > m_functionIndexMap
 
int m_highslider1_last_val
 The value of the high slider in Axis Widget 1 as last recorded. More...
 
bool m_is_updating
 Set to true if updating is being processed. More...
 
int m_last_cut_index
 The index of the last selected cut. More...
 
int m_last_ntuple_edited
 The m_all_ntuples item that was lasted edited. More...
 
QWidgetm_layoutWidget
 
int m_lowslider1_last_val
 The value of the low slider in Axis Widget 1 as last recorded. More...
 
int m_min_entries
 The min_entries when draging starts. More...
 
QString m_model_name
 The color model name settings key. More...
 
std::vector< QComboBox * > m_new_combos
 Binding combo boxes for new plot group box. More...
 
std::vector< QLabel * > m_new_labels
 Binding labels for new plot group box. More...
 
QWidgetm_newLayoutWidget
 
QVBoxLayoutm_newVLayout
 
std::vector< double > m_oldParameters
 
PlotterBasem_plotter
 The currently selected PlotterBase object. More...
 
std::vector< PlotterBase * > m_plotter_list
 The currently selected plotters. More...
 
Range m_range
 
bool m_rotate_enable
 When changing current plot, set to false so that Inspector don't update the rotation repeatedly. More...
 
std::vector< QComboBox * > m_sel_combos
 Binding combo boxes for selected plot group box. More...
 
std::vector< QLabel * > m_sel_labels
 Binding labels for selected plot group box. More...
 
std::vector< QRadioButton * > m_transform_buttons
 The list of transform radio buttons. More...
 
PlotterList_t m_tuple_cut_plotters
 The PlotterBase object associated with each TupleCut object. More...
 
TupleCutList_t m_tuple_cuts
 The list of TupleCut objects currently selected. More...
 
bool m_user_models_loaded
 Set to true after the user defined value to color transforms have been loaded. More...
 
QVBoxLayoutm_vLayout
 
std::map< const PlotterBase
*, bool
m_zoompan
 

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:
@@@ Can not change DataSource of plot if function has been applied.
Bug:
@@@ Editing font of title crashes on Linux, and second edit on Mac OS X.
Bug:
@@@ When Applying all cuts to DataRep that comes from different Ntuple, should raise Dialog to ask whether to not do it, or do it with same set of cut names and values, but from different datasource.
Bug:
@@@ When adding DataRep to another and first has cuts applied, then raise dialog to ask user if he wants same cuts applied or not.
Bug:
@@@ When color map is changed on plot with multiple DataReps objects, it should be changed on all on them.
Bug:
@@@ When plot has a function cut, trying to add and existing data cut causes crash.
Bug:
@@@ For test_FitsWriting.py, the time cut doesn't show up in Cuts panel when selecting the color plot.
Bug:
@@@ On axis tabbed panel, changing the high range via text box doesn't set the right bin width. So the range appears set in the box, but it is wrong. Use ConstantModelFit.py, autoscale, then set range.
Bug:
@@@ In axis tabbed panel, changng Y bin width on color plot increases range excessively.
Bug:
@@@ One can not change label of histogram on X or Y axis.
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:
@@ stats panel documentation image needs updating.
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 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 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:
On empty DataSource, the axis tabbed panel doesn't show the ranges etc. Use empty.py to see it.
Bug:
@ Access to adjustment of fitting cut is not available from the inspector if other cuts have been applied to the same display.
Bug:
@ Adjusting other cuts also affects the fitting cut.
Bug:
@ Can not compile with gcc 2.96 because of use of ostringstream.
Bug:
@ On data tabbed panel, the Add and Remove buttons should be disabled when not appropriate, or info dialog should pop up when used in correctly.
Bug:
@@@ Trying to change color on display that uses color does nothing. Should bring up an information dialog.
Bug:
When changing the DataSource on a plot which has a cut, the DataSoruce of the cut and all its targets is also changed without warning.
Bug:
On Plot tabbed panel, show box edges should be disabled if no boxes.
Bug:
After saving and loading a variable 3 color scale, it is different from the original one. ( Looks like variable rainbow ).
Requests:
It would be helpful if the Canvas settings pop-up had an "Apply" button that retiles the canvas, but which does not close the window (or save the configuration). You could just have the "Retile" button serve this purpose by not having it close the window.
Requests:
For views that have two histograms overlaid, it would be nice to have a button that returned the KS test statistic and probability that the two data sets are drawn from the same underlying distribution. Not sure what to do if more than two histograms are overlaid or if one of the datareps is not a histogram. Probably best to disable this button.
Requests:
In control-left clicking to select a datarep within a given view, it would be useful to have an easier way of returning to the state where no single datarep is selected. Often I have many datareps plotted in a single view, and I want a quick way of restoring the view rather than cycling through all of the reps, possibly overshooting in my haste.
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:
@ Display objective value to the functions tabbed panel.
Requests:
Should be able to change title/label text with TeX.
Requests:
In status tabbed panel, when no plot is selected should still be able to add text box.
Requests:
On the Stats panel, the radio button entry "Chi-squared statistics of function" should read "Chi-square per dof =" with the value displayed as it is for "Number of entries", "Average x-value", and "Average y-value". Same goes for "Standard deviation of x-value".
Requests:
On Stats tabbed panel, it would be nice when selecting text in box that the keyboard focus would go to box and a return with trigger the insertion.
Requests:
@@@ Sliders controlling cuts that are plotted on logarithmic x-axes should respond on a logarithmic scale instead of a linear one.
Requests:
Hoyle would like one x but 16 channels in Y displayed on one XY plot, but not do it via 16 DataRep objects.
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 a DataSource have been added via the Python interface without having to click on the CanvasView.
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 transform tabbed panel, use QDial instead of QSlider.
Bug:
Only first page is showed on Windows platform. Can't scroll down to see other plots. Have to maximize the canvas window.
@author Kaustuv <kaustuv@stanford.edu>
@author Paul F. Kunz <Paul_Kunz@slac.stanford.edu>
@author Sanket B. Malde <sanket@stanford.edu>
@author Joy Rajiv <jraviv@stanford.edu>
@author Tao Xu <taox@stanford.edu>
@author Xie Fang <xiefang@stanford.edu>

Definition at line 234 of file Inspector.h.

Member Typedef Documentation

typedef std::vector< PlotterBase * > PlotterList_t
private

The type of container for PlotterBase objects.

Definition at line 324 of file Inspector.h.

typedef std::vector< const TupleCut * > TupleCutList_t
private

The type of container for current TupleCut objects.

Definition at line 316 of file Inspector.h.

Member Enumeration Documentation

Enumerator
Index 
Name 
Value 
Error 
Fixed 
Dummy 

Definition at line 247 of file Inspector.h.

Constructor & Destructor Documentation

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

The virtual destructor.

Definition at line 241 of file Inspector.cxx.

References DisplayController::instance().

Member Function Documentation

void addDataRepButton_clicked ( )
protectedvirtual
void allCutsRadioButton_toggled ( bool  selected)
virtual
void allNtupleComboActivated ( const QString text)
protectedvirtual
void autoScale_clicked ( )
protectedvirtual
void availPlotTypesActivated ( const QString )
protectedvirtual
void axis_button_group_clicked ( int  id)
protectedvirtual

Responds to change in axis tabbed panel's axis radio button group.

Implements InspectorBase.

Definition at line 2270 of file Inspector.cxx.

References hippodraw::Axes::convert(), Inspector::m_axis, and Inspector::updateAxisTab().

void axisLabelChanged ( int  index,
const QString axisName 
)
protectedvirtual
void axisLabelText ( )
protectedvirtual
void axisZoomPanCheckBox_clicked ( )
protectedvirtual
void badFunctionError ( const std::string &  name,
const char *  what 
)
private

Raise bad function error dialog.

Definition at line 1087 of file Inspector.cxx.

References QMessageBox::critical().

Referenced by Inspector::functionAdd().

void changeNTupleName ( const QString text)
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 588 of file Inspector.cxx.

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

Referenced by Inspector::allNtupleComboActivated().

void clear ( std::vector< QLabel * > &  labels,
std::vector< QComboBox * > &  combos 
)
private
void colorSelect_2_clicked ( )
protectedvirtual

Sets the Color of the cut plotter.

Implements InspectorBase.

Definition at line 4934 of file Inspector.cxx.

References Inspector::cutRadioId(), QColorDialog::getColor(), and Inspector::getSelectedCut().

void colorSelect_clicked ( )
protectedvirtual
void combineCheckBox_clicked ( )
protectedvirtual
void contourError ( )
protected

Raises message box on contour input error.

Definition at line 5061 of file Inspector.cxx.

References QMessageBox::critical().

Referenced by Inspector::contourLevelsTextBox_returnPressed().

void contourLevelsTextBox_returnPressed ( )
protectedvirtual
void contourRadioButton1_toggled ( bool  )
protectedvirtual
void contourSlider_valueChanged ( int  val)
protectedvirtual
void contourTextBox_returnPressed ( )
protectedvirtual
void convertCtrlPts ( std::vector< double > &  sv)
private

Converts the value to color control points from int slider values to float values.

Definition at line 1917 of file Inspector.cxx.

References InspectorBase::brk_pt, InspectorBase::color_scale, and InspectorBase::flat_width.

Referenced by Inspector::editColorModel(), and Inspector::newColorModel().

const std::string convertToString ( hippodraw::Axes::Type  axis)
protectedvirtual
void createResiduals ( )
protectedvirtual

Creates a display showing the residuals of the function.

Implements InspectorBase.

Definition at line 4124 of file Inspector.cxx.

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

void 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 353 of file Inspector.cxx.

void cut_button_group_clicked ( )
protectedvirtual

Responds to change of the cut panel's radio group.

Note
This method does not use ability of button group to send radio button id because of bugs in Qt 4.1.1 in uic3's generation of the button group.

Implements InspectorBase.

Definition at line 3356 of file Inspector.cxx.

References Inspector::cutRadioId(), InspectorBase::m_CutVariableComboBox1, InspectorBase::m_CutVariableComboBox2, and Inspector::updateCutsTab().

void cutAddAll ( )
protectedvirtual
void cutAddSelected ( )
protectedvirtual

Adds selected cut to the DataRep.

Implements InspectorBase.

Definition at line 2953 of file Inspector.cxx.

References Inspector::getPlotter(), Inspector::getSelectedCut(), and CutController::instance().

void cutEnablePushButton_toggled ( bool  on)
protectedvirtual
void cutHighSlider_sliderMoved ( int  value)
protectedvirtual
void cutHighSlider_sliderReleased ( )
protectedvirtual
void cutInvertPushButton_clicked ( )
protectedvirtual
void cutLowSlider_sliderMoved ( int  value)
protectedvirtual
void cutLowSlider_sliderReleased ( )
protectedvirtual
void cutNew ( )
protectedvirtual
void cutOnCutError ( )
private

Raises information dialog to say applying a cut to itself was not done.

Definition at line 1193 of file Inspector.cxx.

References QMessageBox::information().

Referenced by Inspector::cutAddAll().

int cutRadioId ( ) const
private
void cutRemovePushButton_clicked ( )
protectedvirtual
void cutText_returnPressed ( )
protectedvirtual
void cutZoomPanCheckBox_clicked ( )
protectedvirtual
void dataClearSelectedControls ( )
private

Clears the previous binding controls.

Definition at line 913 of file Inspector.cxx.

References QLayoutIterator::current(), QLayoutIterator::deleteCurrent(), it, Inspector::m_vLayout, and QLayoutItem::widget().

Referenced by Inspector::updateDataTab().

void dataCreateNTuple ( )
protectedvirtual
void dataNTupleSelChanged ( int  item)
protectedvirtual
void dataTupleNameChanged ( const QString )
protectedvirtual

Respond to change of DataSource name change.

Note
the argument is ignored.

Implements InspectorBase.

Definition at line 580 of file Inspector.cxx.

References InspectorBase::m_all_ntuples, and Inspector::m_last_ntuple_edited.

void deleteColorModel ( )
protectedvirtual
void diffDataRep ( )
privatevirtual

Create display with differenece between two DataRep objects in Plotter.

Creates a display showing the difference of the two histogram.

Implements InspectorBase.

Definition at line 6001 of file Inspector.cxx.

References Inspector::getPlotter(), Inspector::getTopFunctionRep(), WindowController::instance(), DisplayController::instance(), QMessageBox::warning(), and hippodraw::Axes::X.

void disableCutControls ( bool  yes)
private
void editColorModel ( )
protectedvirtual
void editLabelFontClicked ( )
protectedvirtual

Edit label font, ( if user wants to overwrite he default )

Implements InspectorBase.

Definition at line 5134 of file Inspector.cxx.

References QFontDialog::getFont(), Inspector::getPlotter(), Inspector::m_axis, and ok.

void editTitleFontClicked ( )
protectedvirtual

Edit the title font, ( if user wants to overwrite he default )

Implements InspectorBase.

Definition at line 5169 of file Inspector.cxx.

References QFontDialog::getFont(), Inspector::getPlotter(), and ok.

void enableNewPlotBox ( bool  yes = true)

Enables the new plot box.

Enables the new plot box in the data tabbed panel so the user can add new plot to the canvas. Applications that have a CanvasView within a window will probably want to enable this feature. Applications that do not have a canvas, should leave this feature disabled.

Definition at line 346 of file Inspector.cxx.

References InspectorBase::m_new_plot_box, and InspectorBase::m_summary.

Referenced by CanvasView::setInspector().

void entriesDrag ( )
protectedvirtual
void errorBars_toggled ( bool  )
privatevirtual

Responds to error bars check box.

Implements InspectorBase.

Definition at line 2088 of file Inspector.cxx.

References Inspector::getPlotter(), DisplayController::instance(), QCheckBox::isChecked(), InspectorBase::m_errorBars, and hippodraw::Axes::Y.

void fillCheckedFunctionRepItems ( )
private

Clears and fills m_func_parm_checked vector with the function parameters that have their check box on.

Definition at line 4142 of file Inspector.cxx.

References it, item, Inspector::m_func_parm_checked, InspectorBase::m_FunctionParamsListView, and yes.

Referenced by Inspector::pushButtonNewErrorPlotClicked().

void fillFunctionParameters ( QListViewItem parent,
const FunctionRep function,
unsigned int &  index 
)
private

Fills the QListView with items for each function parameter or function as a child of parent.

Uses and updates the running index.

Definition at line 3631 of file Inspector.cxx.

References Inspector::Dummy, FunctionParameter::error(), Inspector::Error, Inspector::Fixed, i, Inspector::Index, FunctionParameter::isFixed(), Inspector::m_function_lv_map, FunctionParameter::name(), Inspector::Name, rep, num_util::size(), FunctionParameter::value(), and Inspector::Value.

Referenced by Inspector::setParameters().

void fillPlotterList ( std::vector< PlotterBase * > &  plot_list)
private

Clears and Fills plot_list with the PlotterBase objects on the current canvas.

Definition at line 1515 of file Inspector.cxx.

References WindowController::currentCanvas(), and WindowController::instance().

Referenced by Inspector::getDataCutList(), and Inspector::setAllCutsActive().

int findCutIndex ( const QString label)
private

Returns the index of the cut selections with label label.

Definition at line 3184 of file Inspector.cxx.

References i, index, InspectorBase::m_selCutComboBox, and num_util::size().

void fitFailedError ( )
private

Raises failed fit error dialog.

Definition at line 3819 of file Inspector.cxx.

References QMessageBox::critical().

Referenced by Inspector::functionAdd(), and Inspector::functionsFitToDataButton_clicked().

void fitterNamesActivated ( int  index)
protectedvirtual
void functionAdd ( )
protectedvirtual
void functionAddError ( )
private

Raises a function add error QMessageBox when the selected DataRep does not support the selected function.

Definition at line 1221 of file Inspector.cxx.

References QMessageBox::critical().

Referenced by Inspector::functionAdd().

void functionParamsCheckBoxToggled ( bool  )
protectedvirtual

Slot which recieves the signal if state of the checkbox changes in the the function Params tab.

Implements InspectorBase.

Definition at line 4569 of file Inspector.cxx.

References Inspector::Fixed, Inspector::getPlotter(), Inspector::getTopFunctionRep(), Inspector::Index, FunctionController::instance(), InspectorBase::m_FunctionParamsCheckBox, InspectorBase::m_FunctionParamsListView, and QString::toUInt().

Referenced by Inspector::getTopParent().

void functionParamsLineEditReturnPressed ( )
protectedvirtual
void functionParamsListViewCurrentChanged ( )
protectedvirtual

Slot which recieves the signal if Current item changes in the List View of the function Params.

Implements InspectorBase.

Definition at line 4509 of file Inspector.cxx.

References Inspector::Fixed, InspectorBase::functionsRemoveButton, InspectorBase::m_FunctionParamsCheckBox, InspectorBase::m_FunctionParamsLineEdit, InspectorBase::m_FunctionParamsListView, InspectorBase::m_FunctionParamsSlider, and Inspector::Value.

void functionParamsSliderSliderMoved ( int  )
protectedvirtual
void functionParamsSliderSliderPressed ( )
protectedvirtual

Slot which recieves signal when params slider is presssed.

It basically stores the old values of parameters.

Implements InspectorBase.

Definition at line 4658 of file Inspector.cxx.

References Inspector::getPlotter(), Inspector::getTopFunctionRep(), FunctionController::instance(), and Inspector::m_oldParameters.

void functionParamsSliderSliderReleased ( )
protectedvirtual

Slot which set the slider to mid point after it has been release.

Implements InspectorBase.

Definition at line 4724 of file Inspector.cxx.

References InspectorBase::m_FunctionParamsSlider.

void functionsFitToDataButton_clicked ( )
protectedvirtual
void functionsRemoveButton_clicked ( )
protectedvirtual

Removing the selected function and updating appropriate tabbed panels.

Implements InspectorBase.

Definition at line 3514 of file Inspector.cxx.

References PlotterBase::activePlotIndex(), Inspector::getFunctionRep(), Inspector::getPlotter(), FunctionController::instance(), PlotterBase::setActivePlot(), and Inspector::updateFunctionsTab().

void functionsResetButton_clicked ( )
protectedvirtual

Reset the function parameters from the parameters saved before the last fit.

Implements InspectorBase.

Definition at line 3533 of file Inspector.cxx.

References Inspector::getPlotter(), index, FunctionController::instance(), DisplayController::instance(), and Inspector::setParameters().

std::string getArrayTupleLabel ( const DataSource rtuple,
const std::string &  column 
)
protected

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.

So here we get the index of this relevant entry for this column in the given DataSource.

Note
This method is only available if configured with ROOT support

Definition at line 1252 of file Inspector.cxx.

References QString::append(), QString::ascii(), QInputDialog::getText(), i, index, RootController::instance(), QString::isEmpty(), InspectorBase::label, hippodraw::FontWeight::Normal, and ok.

Referenced by Inspector::addDataRepButton_clicked(), and Inspector::newPlotButton_clicked().

Axes::Type getAxes ( unsigned int  index)
private
const std::vector< const TupleCut * > & getCutList ( const PlotterBase plotter) const
private

     Clears and fills the @a cut_list with PlotterBase objects that

are cuts whose target is the active DataRep contained by plotter.

Returns the TupleCut list. Returns the TupleCut objects being used by active DataRep contained by the plotter. If active DataRep can not be found, throws logic_error exception.

Definition at line 2882 of file Inspector.cxx.

References index, CutController::instance(), and DisplayController::instance().

const std::vector< PlotterBase * > & getDataCutList ( PlotterBase plotter)
private
FunctionRep* getFunctionRep ( QListViewItem item)
private

Returns the FunctionRep coresponding to the selected item.

FunctionRep * getFunctionRep ( )
private

Returns the FunctionRep directly coresponding to the selected item.

Definition at line 3876 of file Inspector.cxx.

References InspectorBase::m_FunctionParamsListView.

Referenced by Inspector::functionsRemoveButton_clicked().

int getMinEntries ( )
protectedvirtual

Get the minimum entries number of the plot.

Definition at line 5902 of file Inspector.cxx.

References PlotterBase::getMinEntries(), and Inspector::getPlotter().

Referenced by Inspector::setDragOn(), and Inspector::updateAxisTab().

PlotterBase * getPlotter ( )
protectedvirtual

Definition at line 380 of file Inspector.cxx.

References Inspector::m_plotter.

Referenced by Inspector::addDataRepButton_clicked(), Inspector::allCutsRadioButton_toggled(), Inspector::axisLabelChanged(), Inspector::axisLabelText(), Inspector::axisZoomPanCheckBox_clicked(), Inspector::colorSelect_clicked(), Inspector::combineCheckBox_clicked(), Inspector::contourLevelsTextBox_returnPressed(), Inspector::contourRadioButton1_toggled(), Inspector::contourSlider_valueChanged(), Inspector::contourTextBox_returnPressed(), Inspector::createResiduals(), Inspector::cutAddAll(), Inspector::cutAddSelected(), Inspector::cutEnablePushButton_toggled(), Inspector::cutHighSlider_sliderMoved(), Inspector::cutInvertPushButton_clicked(), Inspector::cutLowSlider_sliderMoved(), Inspector::cutNew(), Inspector::cutRemovePushButton_clicked(), Inspector::dataCreateNTuple(), Inspector::deleteColorModel(), Inspector::diffDataRep(), Inspector::editColorModel(), Inspector::editLabelFontClicked(), Inspector::editTitleFontClicked(), Inspector::errorBars_toggled(), Inspector::fitterNamesActivated(), Inspector::functionAdd(), Inspector::functionParamsCheckBoxToggled(), Inspector::functionParamsLineEditReturnPressed(), Inspector::functionParamsSliderSliderMoved(), Inspector::functionParamsSliderSliderPressed(), Inspector::functionsFitToDataButton_clicked(), Inspector::functionsRemoveButton_clicked(), Inspector::functionsResetButton_clicked(), Inspector::getMinEntries(), Inspector::getSelectedCut(), Inspector::ignoreErrorCheckBoxToggled(), Inspector::intervalStateChanged(), Inspector::intervalTextChanged(), Inspector::lineStyleButtonGroup_clicked(), Inspector::m_boxedge_clicked(), Inspector::m_grid_clicked(), Inspector::newColorModel(), Inspector::pointRepComboBox_activated(), Inspector::pushButtonNewErrorPlotClicked(), Inspector::removeDataRepButton_clicked(), Inspector::rotateX(), Inspector::rotateY(), Inspector::selCutChanged(), Inspector::selectedCutsRadioButton_toggled(), Inspector::setBinWidth(), Inspector::setDragOn(), Inspector::setHighRange(), Inspector::setHighText(), Inspector::setLowRange(), Inspector::setLowText(), Inspector::setMinEntries(), Inspector::setMinEntriesText(), Inspector::setOffset(), Inspector::setOffsetText(), Inspector::setWidthText(), Inspector::setXRotateText(), Inspector::setYRotateText(), Inspector::sliderChanged(), Inspector::summaryNew(), Inspector::symbolPointSize_returnPressed(), Inspector::symbolTypeButtonGroup_clicked(), Inspector::transform_button_group_clicked(), Inspector::updateAxisTab(), Inspector::updateCutControls(), Inspector::updateCutsActive(), Inspector::updateCutsTab(), Inspector::updateDataCutsTab(), Inspector::updateDataTab(), Inspector::updateFunctionsTab(), Inspector::updatePlotTab(), Inspector::updateSummaryTab(), Inspector::updateTransformTab(), Inspector::validPeriodicTransformRange(), and Inspector::valueChanged().

CutPlotter * getSelectedCut ( )
privatevirtual
std::string getSelectedDataSourceName ( ) const

Returns the name of the currently selected DataSource in Data tabbed panel.

Definition at line 497 of file Inspector.cxx.

References index, DataSourceController::instance(), and InspectorBase::m_all_ntuples.

Referenced by Inspector::dataNTupleSelChanged(), and Inspector::setNewPlotNTuple().

FunctionRep* getTopFunctionRep ( QListViewItem item)
private

Returns the FunctionRep corresponding to the top function (composite function if any) parameters QListView item.

FunctionRep * getTopFunctionRep ( )
private
QListViewItem * getTopParent ( QListViewItem item)
private

Help function to find the top level object in a QListViewItem tree.

Definition at line 4542 of file Inspector.cxx.

References Inspector::functionParamsCheckBoxToggled(), and item.

Referenced by if(), and Inspector::pushButtonNewErrorPlotClicked().

void highRangeDrag ( )
protectedvirtual
void ignoreErrorCheckBoxToggled ( bool  )
protectedvirtual

Slot which responds to the ignoreError check box.

Reimplemented from InspectorBase.

Definition at line 5207 of file Inspector.cxx.

References Inspector::getPlotter(), Inspector::getTopFunctionRep(), FunctionController::instance(), and InspectorBase::m_IgnoreErrorCheckBox.

void incompatibleDataRepError ( const std::string &  type)
private

Raises incompatible DataRep error dialog.

Definition at line 1050 of file Inspector.cxx.

References QMessageBox::critical().

Referenced by Inspector::addDataRepButton_clicked().

void incompatibleFitterError ( const std::string &  type)
private

Raises incompatible Fitter error dialog.

Definition at line 1068 of file Inspector.cxx.

References QMessageBox::critical().

Referenced by Inspector::fitterNamesActivated().

void incompatibleFunctionError ( const std::string &  type)
private

Raises the incompatible function error dialog.

Definition at line 1105 of file Inspector.cxx.

References QMessageBox::critical().

Referenced by Inspector::functionAdd().

void init ( )
private

Initializes the Inspector.

Definition at line 250 of file Inspector.cxx.

References InspectorBase::currentPlot, InspectorBase::m_Air, InspectorBase::m_Arc, Inspector::m_axis, InspectorBase::m_Car, Inspector::m_dragging, InspectorBase::m_FunctionParamsListView, InspectorBase::m_Gls, InspectorBase::m_hammer, InspectorBase::m_interval_le, InspectorBase::m_lambert, Inspector::m_layoutWidget, InspectorBase::m_linear, InspectorBase::m_logx, InspectorBase::m_logxy, InspectorBase::m_logy, InspectorBase::m_Mer, Inspector::m_min_entries, Inspector::m_new_combos, Inspector::m_new_labels, InspectorBase::m_new_plot_box, Inspector::m_newLayoutWidget, Inspector::m_newVLayout, Inspector::m_rotate_enable, Inspector::m_sel_combos, Inspector::m_sel_labels, InspectorBase::m_Sin, InspectorBase::m_Stg, InspectorBase::m_Tan, Inspector::m_transform_buttons, Inspector::m_vLayout, InspectorBase::new_binding_0, InspectorBase::new_binding_1, InspectorBase::new_binding_2, InspectorBase::new_binding_3, InspectorBase::new_binding_4, InspectorBase::new_combo_0, InspectorBase::new_combo_1, InspectorBase::new_combo_2, InspectorBase::new_combo_3, InspectorBase::new_combo_4, InspectorBase::newPlotButton, InspectorBase::sel_binding_0, InspectorBase::sel_binding_1, InspectorBase::sel_binding_2, InspectorBase::sel_binding_3, InspectorBase::sel_binding_4, InspectorBase::sel_combo_0, InspectorBase::sel_combo_1, InspectorBase::sel_combo_2, InspectorBase::sel_combo_3, InspectorBase::sel_combo_4, QWidget::setGeometry(), num_util::size(), Inspector::updateValueCombo(), and hippodraw::Axes::X.

Referenced by Inspector::Inspector().

void intervalStateChanged ( bool  state)
protectedvirtual
void intervalTextChanged ( const QString text)
protectedvirtual
void invalidDataWarning ( )
private

Raises a dialog to warn user that bound DataSource has invalid data.

Definition at line 1020 of file Inspector.cxx.

References QMessageBox::warning().

Referenced by Inspector::addDataRepButton_clicked(), Inspector::axisLabelChanged(), and Inspector::newPlotButton_clicked().

void invalidOperationError ( const std::string &  message)
private

Raises operatonal error messge ox with messge.

Definition at line 4731 of file Inspector.cxx.

References QMessageBox::critical().

Referenced by Inspector::logScale_clicked(), and Inspector::transform_button_group_clicked().

void invalidPeriodicTransform ( )
private

Displays a warning message that application was not compiled with WCSLIB support.

Definition at line 5352 of file Inspector.cxx.

References QMessageBox::information().

Referenced by Inspector::transform_button_group_clicked().

void invalidRangeError ( const std::string &  bad)
private

Raises invalid range error dialog.

Definition at line 1124 of file Inspector.cxx.

References QMessageBox::critical().

void languageChange ( )
protectedvirtualslotinherited

Definition at line 1302 of file InspectorBase.cpp.

References QWhatsThis::add(), QToolTip::add(), InspectorBase::allCutsRadioButton, InspectorBase::axis_button_group, InspectorBase::axisTab, InspectorBase::brk_label, InspectorBase::ButtonGroup4, InspectorBase::ButtonGroup8, QTabWidget::changeTab(), InspectorBase::circle, InspectorBase::colorlabel, InspectorBase::colorSelect_2, InspectorBase::contourRadioButton1, InspectorBase::contourRadioButton2, InspectorBase::cross, InspectorBase::currentPlot, InspectorBase::cut_button_group, InspectorBase::cutEnablePushButton, InspectorBase::cutInvertPushButton, InspectorBase::cutNewPushButton, InspectorBase::cutRemovePushButton, InspectorBase::cutsTab, InspectorBase::dataTab, InspectorBase::delete_model, InspectorBase::edit_model, InspectorBase::filledCircle, InspectorBase::filledRectangle, InspectorBase::filledTriangle, InspectorBase::flatlabel, InspectorBase::functionsFitToDataButton, InspectorBase::functionsRemoveButton, InspectorBase::functionsResetButton, InspectorBase::funtionTab, InspectorBase::groupBox14, InspectorBase::label, InspectorBase::label_2, InspectorBase::logScale, InspectorBase::m_addDataRepButton, InspectorBase::m_Air, InspectorBase::m_Arc, InspectorBase::m_autoScale, InspectorBase::m_availPlotTypes, InspectorBase::m_axis_group_box, InspectorBase::m_axis_label, InspectorBase::m_boxedge, InspectorBase::m_Car, InspectorBase::m_combine_checkbox, InspectorBase::m_contourBox, InspectorBase::m_cut_data1, InspectorBase::m_cut_data2, InspectorBase::m_cut_fit_radio, InspectorBase::m_cut_selected_box, InspectorBase::m_cutAddAll, InspectorBase::m_cutAddSelected, InspectorBase::m_CutVariableComboBox1, InspectorBase::m_data_create, InspectorBase::m_dataRepNameText, InspectorBase::m_diffdatarep, InspectorBase::m_editLabelFont, InspectorBase::m_editTitleFont, InspectorBase::m_errorBars, InspectorBase::m_fitter_names, InspectorBase::m_func_new, InspectorBase::m_func_parms, InspectorBase::m_FunctionParamsCheckBox, InspectorBase::m_FunctionParamsLineEdit, InspectorBase::m_FunctionParamsListView, InspectorBase::m_FunctionParamsSlider, InspectorBase::m_Gls, InspectorBase::m_grid, InspectorBase::m_hammer, InspectorBase::m_IgnoreErrorCheckBox, InspectorBase::m_interval_cb, InspectorBase::m_interval_group, InspectorBase::m_interval_le, InspectorBase::m_lambert, InspectorBase::m_line_group, InspectorBase::m_linear, InspectorBase::m_logx, InspectorBase::m_logxy, InspectorBase::m_logy, InspectorBase::m_Mer, InspectorBase::m_new_cut_box, InspectorBase::m_new_plot_box, InspectorBase::m_numContoursLabel, InspectorBase::m_numContourSlider, InspectorBase::m_numContoursTextBox, InspectorBase::m_offset_range, InspectorBase::m_plot_color, InspectorBase::m_plot_symbols, InspectorBase::m_plot_tab, InspectorBase::m_plot_title, InspectorBase::m_pointRepComboBox, InspectorBase::m_PushButtonNewErrorPlot, InspectorBase::m_removeDatarep, InspectorBase::m_resid, InspectorBase::m_reverse, InspectorBase::m_selCutComboBox, InspectorBase::m_selectedColor, InspectorBase::m_selectedPlotRadioButton, InspectorBase::m_Sin, InspectorBase::m_slider_control, InspectorBase::m_stats_avg_x, InspectorBase::m_stats_avg_y, InspectorBase::m_stats_chi, InspectorBase::m_stats_fparms, InspectorBase::m_stats_number, InspectorBase::m_stats_overflow, InspectorBase::m_stats_std_x, InspectorBase::m_stats_text, InspectorBase::m_stats_underflow, InspectorBase::m_Stg, InspectorBase::m_summary, InspectorBase::m_symbol_group, InspectorBase::m_symbolPointSize, InspectorBase::m_Tan, InspectorBase::m_titleText, InspectorBase::m_value_combo, InspectorBase::m_width_range, InspectorBase::m_x_offset, InspectorBase::m_x_offset_text, InspectorBase::m_y_offset, InspectorBase::m_y_offset_text, InspectorBase::min_entries_slider, InspectorBase::min_entries_text, InspectorBase::new_binding_0, InspectorBase::new_binding_1, InspectorBase::new_binding_2, InspectorBase::new_binding_3, InspectorBase::new_binding_4, InspectorBase::new_model, InspectorBase::newFunctionsAddButton, InspectorBase::newFunctionsComboBox, InspectorBase::newPlotButton, InspectorBase::newSummary, InspectorBase::plotTab_2, InspectorBase::plus, InspectorBase::pushButton26, InspectorBase::radioButton27, InspectorBase::radioButton27_2, InspectorBase::radioButton27_2_2, InspectorBase::radioButton27_2_2_2, InspectorBase::radioButton27_2_2_2_2, InspectorBase::radioButton27_2_2_2_2_2, InspectorBase::radioButton38, InspectorBase::radioButton39, InspectorBase::radioButton40, InspectorBase::rectangle, InspectorBase::reset_slider, InspectorBase::rotateGroupBox, InspectorBase::sel_binding_0, InspectorBase::sel_binding_1, InspectorBase::sel_binding_2, InspectorBase::sel_binding_3, InspectorBase::sel_binding_4, QLabel::setText(), QRadioButton::setText(), QCheckBox::setText(), QPushButton::setText(), QLineEdit::setText(), QGroupBox::setTitle(), InspectorBase::show_cut_radio_group, InspectorBase::statsTab, InspectorBase::tab, InspectorBase::TextLabel1, InspectorBase::textLabel1, InspectorBase::textLabel1_2, InspectorBase::textLabel1_2_2, InspectorBase::TextLabel1_2_3, InspectorBase::TextLabel1_2_3_2, InspectorBase::TextLabel1_2_4, InspectorBase::TextLabel1_2_4_2, InspectorBase::TextLabel1_3, InspectorBase::TextLabel1_3_2, InspectorBase::TextLabel1_4, InspectorBase::textLabel5, InspectorBase::transform_button_group, InspectorBase::triangle, and InspectorBase::u_fiiter.

Referenced by InspectorBase::InspectorBase().

void lineStyleButtonGroup_clicked ( int  id)
protectedvirtual
void loadAllUserModels ( )
private
void logScale_clicked ( )
protectedvirtual

The Qt slot which responds to the toggle in state of the logScale checkbox.

Implements InspectorBase.

Definition at line 4744 of file Inspector.cxx.

References DisplayController::instance(), Inspector::invalidOperationError(), InspectorBase::logScale, InspectorBase::m_autoScale, Inspector::m_axis, Inspector::m_plotter_list, and Inspector::updateAxisTab().

void lowRangeDrag ( )
protectedvirtual
void m_boxedge_clicked ( )
protectedvirtual
void m_editFontToggled ( bool  )
virtualslotinherited

Definition at line 1525 of file InspectorBase.cpp.

void m_editLabelFontClicked ( )
virtualslotinherited

Definition at line 1535 of file InspectorBase.cpp.

void m_editTitleFontClicked ( )
virtualslotinherited

Definition at line 1530 of file InspectorBase.cpp.

void m_grid_clicked ( )
protectedvirtual

Responds to the toggle in state of the show grid check box.

Implements InspectorBase.

Definition at line 5846 of file Inspector.cxx.

References Inspector::getPlotter(), InspectorBase::m_grid, and PlotterBase::setShowGrid().

void m_numContourSlider_valueChanged ( int  )
virtualslotinherited

Definition at line 1570 of file InspectorBase.cpp.

void multipleDataRepError ( const std::string &  type)
private

Raises a multiple DataRep error QMessageBox.

When an application action requires only one DataRep to be active, then this function is called. The type is inserted in to the message string. This is part of the learn by doing GUI pattern. Rather than disabling a control when multiple DataRep objects are active, one calls this function to tell user what he should do to get the action he wants. Namely, shift click to make one DataRep active.

Definition at line 1140 of file Inspector.cxx.

References QMessageBox::information().

Referenced by Inspector::colorSelect_clicked(), Inspector::cutNew(), Inspector::functionAdd(), Inspector::lineStyleButtonGroup_clicked(), Inspector::summaryNew(), Inspector::symbolPointSize_returnPressed(), and Inspector::symbolTypeButtonGroup_clicked().

bool multipleDataRepInfo ( const std::string &  type)
private

Raises a multiple DataRep info dialog.

Returns true if user answers to apply request to each, otherwise returns false.

Definition at line 1162 of file Inspector.cxx.

References QMessageBox::information(), ok, and QDialog::result().

void multiplePlotError ( )
private

Raises a multiple plot error message box.

Definition at line 1207 of file Inspector.cxx.

References QMessageBox::information().

Referenced by Inspector::axisLabelChanged().

void newColorModel ( )
protectedvirtual
void newPlotButton_clicked ( )
protectedvirtual
void newPlotError ( const std::exception &  e)
private

Raises a dialog for new plot error.

Todo:
Should something be done with the exception, like deleting it?

Definition at line 1238 of file Inspector.cxx.

References QMessageBox::critical().

Referenced by Inspector::newPlotButton_clicked().

void noNTupleSelectedError ( )
private

Raises no NTuple selected error dialog.

Definition at line 1035 of file Inspector.cxx.

References QMessageBox::critical().

Referenced by Inspector::newPlotButton_clicked().

void ntupleChanged ( int  index)
privatevirtual
void offsetDrag ( )
protectedvirtual
void pointRepComboBox_activated ( const QString qstr)
protectedvirtual
void pushButtonNewErrorPlotClicked ( )
protectedvirtual
void removeDataRepButton_clicked ( )
protectedvirtual

Responds to click on the remove Data Rep button.

Implements InspectorBase.

Definition at line 1462 of file Inspector.cxx.

References PlotterBase::activePlotIndex(), Inspector::getPlotter(), rep, PlotterBase::setActivePlot(), Inspector::update(), and QMessageBox::warning().

void resetRotate ( )
protectedvirtual

Reset to zero.

Reimplemented from InspectorBase.

Definition at line 5837 of file Inspector.cxx.

References Inspector::rotateX(), Inspector::rotateY(), and Inspector::setRotate().

void resetSlider ( )
protectedvirtual

Resets sliders to default position.

Implements InspectorBase.

Definition at line 1904 of file Inspector.cxx.

References InspectorBase::brk_pt, InspectorBase::color_scale, InspectorBase::flat_width, and InspectorBase::m_slider_control.

void reverse_clicked ( )
protectedvirtual

Slot which respons to the toggle in state of the reverse check box.

Implements InspectorBase.

Definition at line 4765 of file Inspector.cxx.

References Inspector::m_plotter_list, InspectorBase::m_reverse, and Inspector::updateAxisTab().

void rotateX ( int  offset)
protectedvirtual
void rotateY ( int  offset)
protectedvirtual
void sel_combo_0_activated ( const QString label)
privatevirtual

Responds to combo box of selected plot be activated by changing the binding.

Implements InspectorBase.

Definition at line 641 of file Inspector.cxx.

References Inspector::axisLabelChanged().

void sel_combo_1_activated ( const QString label)
privatevirtual

Responds to combo box of selected plot be activated by changing the binding.

Implements InspectorBase.

Definition at line 648 of file Inspector.cxx.

References Inspector::axisLabelChanged().

void sel_combo_2_activated ( const QString label)
privatevirtual

Responds to combo box of selected plot be activated by changing the binding.

Implements InspectorBase.

Definition at line 655 of file Inspector.cxx.

References Inspector::axisLabelChanged().

void sel_combo_3_activated ( const QString label)
privatevirtual

Responds to combo box of selected plot be activated by changing the binding.

Reimplemented from InspectorBase.

Definition at line 662 of file Inspector.cxx.

References Inspector::axisLabelChanged().

void selCutChanged ( )
protectedvirtual
void selectedCutsRadioButton_toggled ( bool  selected)
virtual
void setAllCutsActive ( bool  yes)
private

Sets all CutPlotter objects to active state if yes is true, otherwise sets them inactive.

Definition at line 3274 of file Inspector.cxx.

References Inspector::fillPlotterList(), and CutController::instance().

Referenced by Inspector::updateCutsActive().

void setAppKey ( )
private
void setBinWidth ( int  value)
protectedvirtual
void setBinWidth ( int  value,
bool  drag 
)
protectedvirtual

Sets the bin width and the slider dragging flag.

Definition at line 2442 of file Inspector.cxx.

References Inspector::getPlotter(), Inspector::m_axis, Inspector::m_dragging, Inspector::setBinWidth(), and Inspector::updateAxisTab().

void setDragOn ( )
protectedvirtual
void setHighRange ( int  value)
protectedvirtual
void setHighRange ( int  value,
bool  yes 
)
protectedvirtual
void setHighText ( )
protectedvirtual
void setLowRange ( int  value)
protectedvirtual
void setLowRange ( int  value,
bool  yes 
)
protectedvirtual
void setLowText ( )
protectedvirtual
void setMinEntries ( int  increment)
protectedvirtual
void setMinEntriesText ( )
protectedvirtual

Responds to the user input of minimum entries number.

Implements InspectorBase.

Definition at line 5912 of file Inspector.cxx.

References Inspector::getPlotter(), InspectorBase::min_entries_text, PlotterBase::setMinEntries(), QLineEdit::text(), and Inspector::updateAxisTab().

void setNewPlotNTuple ( const std::string &  name)
private

Sets the current item in the available NTuple selection box to one that matches name.

Definition at line 556 of file Inspector.cxx.

References QToolTip::add(), Inspector::getSelectedDataSourceName(), i, DataSourceController::instance(), InspectorBase::m_all_ntuples, and QToolTip::remove().

Referenced by Inspector::updateNewPlotControls(), and Inspector::updateSelectedPlotData().

void setOffset ( int  value)
protectedvirtual
void setOffset ( int  value,
bool  yes 
)
protectedvirtual
void setOffsetText ( )
protectedvirtual
void setParameters ( int  index,
PlotterBase plotter 
)
protectedvirtual
void setRotate ( int  x,
int  y 
)
protectedvirtual
void setSelectedFitter ( const std::string &  name)

Sets the selected Fitter.

Definition at line 3379 of file Inspector.cxx.

References i, FunctionController::instance(), and InspectorBase::m_fitter_names.

Referenced by Inspector::updateFunctionsTab().

void setWidthText ( )
protectedvirtual
void setXRotateText ( )
protectedvirtual
void setYRotateText ( )
protectedvirtual
void setZRadioButton ( bool  enabled)
privatevirtual

Sets the Z axis radio button to proper state.

Definition at line 387 of file Inspector.cxx.

References InspectorBase::axis_button_group, Inspector::m_axis, Inspector::updateAxisTab(), hippodraw::Axes::X, and hippodraw::Axes::Z.

Referenced by Inspector::updateAxisTab().

void sliderChanged ( int  )
protectedvirtual

Responds to change in the sliders of one of the value to color sliders.

Implements InspectorBase.

Definition at line 1877 of file Inspector.cxx.

References InspectorBase::brk_pt, InspectorBase::color_scale, InspectorBase::flat_width, Inspector::getPlotter(), DisplayController::instance(), and Inspector::m_is_updating.

void statsButtonGroupClicked ( int  )
virtual

Implements InspectorBase.

Definition at line 4031 of file Inspector.cxx.

References InspectorBase::m_stats_text, InspectorBase::m_statsTextField, and yes.

void statsStripValue ( QRadioButton box)
private

Strips the value part of the text field.

Definition at line 3921 of file Inspector.cxx.

References QString::find(), i, and QString::remove().

Referenced by Inspector::updateSummaryTab().

void stringTokenize ( std::string  input,
const std::string &  delimiters,
std::vector< std::string > &  tokens,
bool  clear = true 
)
staticprivate

Definition at line 112 of file Inspector.cxx.

Referenced by Inspector::contourLevelsTextBox_returnPressed().

void summaryNew ( )
protectedvirtual
void symbolPointSize_returnPressed ( )
protectedvirtual
void symbolTypeButtonGroup_clicked ( int  id)
protectedvirtual
void tabChanged ( )
protectedvirtual

Receives the signal that the tabbed panel changed and invokes the update method.

Implements InspectorBase.

Definition at line 413 of file Inspector.cxx.

References Inspector::update().

void titleText_returnPressed ( )
protectedvirtual
void transform_button_group_clicked ( )
protectedvirtual

Responds to change in transform tabbed panel's radio button group.

Note
Did not use QButtonGroup's ability to send id because with Qt 4.1.1 the code generation for InspectorBase.h was faulty.

Implements InspectorBase.

Definition at line 5382 of file Inspector.cxx.

References Inspector::getPlotter(), QMessageBox::information(), DisplayController::instance(), Inspector::invalidOperationError(), Inspector::invalidPeriodicTransform(), InspectorBase::rotateGroupBox, Inspector::setRotate(), Inspector::transformId(), and Inspector::validPeriodicTransformRange().

int transformId ( ) const
private

Returns the Id of the transform radio button that is selected.

Note
This function was implemented to work around uic3 bugs in Qt 4.1.1 where the transform_button_group was generated incorrectly.

Definition at line 5368 of file Inspector.cxx.

References i, and Inspector::m_transform_buttons.

Referenced by Inspector::transform_button_group_clicked().

void transformNew ( )
protectedvirtualslotinherited

Definition at line 1550 of file InspectorBase.cpp.

void update ( )
virtual
void updateAutoScaleBox ( )
private

Updates the active and inactive cuts.

Update the status of the auto scale check box.

Definition at line 4287 of file Inspector.cxx.

References InspectorBase::m_autoScale, Inspector::m_axis, Inspector::m_plotter_list, and yes.

Referenced by Inspector::updateAxisTab().

void updateAxisTab ( )
protectedvirtual

Updates the axis tabbed panel's widgets.

Bug:
When bin widths are the same, enables the width text box initially, but not after one toggles each data rep and returns to all active. Try it on datareps.py
Todo:
Offset slider and text changes behave wildly on when on log scale. For now it is disabled. Should try to fix it.

Definition at line 4321 of file Inspector.cxx.

References DisplayController::activeDataRepIndex(), InspectorBase::axisWidget1, InspectorBase::contourRadioButton1, Inspector::contourRadioButton1_toggled(), InspectorBase::contourRadioButton2, Inspector::convertToString(), PlotterBase::getBinWidth(), Inspector::getMinEntries(), PlotterBase::getOffset(), Inspector::getPlotter(), PlotterBase::getRange(), PlotterBase::getTransform(), ContourPointRep::getUsingUserValues(), DisplayController::hasNTupleBindings(), Range::high(), DisplayController::instance(), QCheckBox::isChecked(), it, InspectorBase::label, InspectorBase::logScale, Range::low(), InspectorBase::m_autoScale, Inspector::m_axis, InspectorBase::m_axis_frame, InspectorBase::m_axis_label, InspectorBase::m_combine_checkbox, InspectorBase::m_contourBox, Inspector::m_highslider1_last_val, Inspector::m_lowslider1_last_val, InspectorBase::m_offset_range, InspectorBase::m_offset_text, InspectorBase::m_width_range, InspectorBase::m_width_text, Inspector::m_zoompan, InspectorBase::min_entries_slider, InspectorBase::min_entries_text, AxisWidget::processZoomPanCheckBoxClicked(), rep, AxisWidget::setAllDisabled(), QRadioButton::setChecked(), Inspector::setHighText(), Inspector::setLowText(), QLineEdit::setReadOnly(), QLineEdit::setText(), QScrollBar::setValue(), AxisWidget::setZoomPan(), Inspector::setZRadioButton(), Inspector::updateAutoScaleBox(), Inspector::updateLogBox(), Inspector::updateReverseBox(), yes, and hippodraw::Axes::Z.

Referenced by Inspector::autoScale_clicked(), Inspector::axis_button_group_clicked(), Inspector::combineCheckBox_clicked(), Inspector::logScale_clicked(), Inspector::reverse_clicked(), Inspector::setBinWidth(), Inspector::setHighText(), Inspector::setLowText(), Inspector::setMinEntriesText(), Inspector::setOffset(), Inspector::setOffsetText(), Inspector::setWidthText(), Inspector::setXRotateText(), Inspector::setYRotateText(), Inspector::setZRadioButton(), and Inspector::update().

void updateColorMapCtrls ( const PlotterBase plotter)
private
void updateCutControls ( const std::vector< PlotterBase * > &  cutlist)
private
void updateCutControlValues ( const PlotterBase cutplotter)
private
void updateCutEnableButton ( )
private

Updates the cut enabled push button control.

Requests:
This method seems to get called more than once when adding a cut. Should try to fix that.

Definition at line 2805 of file Inspector.cxx.

References InspectorBase::cutEnablePushButton, index, Inspector::m_cut_enable_updating, InspectorBase::m_selCutComboBox, Inspector::m_tuple_cuts, and yes.

Referenced by Inspector::selCutChanged(), and Inspector::updateCutControls().

void updateCutsActive ( )
private
void updateCutsTab ( )
protectedvirtual
void updateCutVarGroupBox ( const PlotterBase plotter,
int  index 
)
private
void updateDataCutsTab ( )
protectedvirtual
void updateDataTab ( )
protectedvirtual
void updateFitCutsTab ( )
protectedvirtual

Update the cut tabbed panel when in fit cut mode.

Definition at line 3229 of file Inspector.cxx.

Referenced by Inspector::updateCutsTab().

void updateFunctionsTab ( )
protectedvirtual
void updateLogBox ( )
private

Update the status of the log scale check box.

Definition at line 4273 of file Inspector.cxx.

References DisplayController::instance(), InspectorBase::logScale, Inspector::m_axis, Inspector::m_plotter_list, and yes.

Referenced by Inspector::updateAxisTab().

void updateNewPlotControls ( )
private
void updatePlotTab ( )
privatevirtual
void updatePlotTypes ( )
protectedvirtual
void updateReverseBox ( )
private

Update the status of the reverse check box.

Definition at line 4300 of file Inspector.cxx.

References Inspector::m_axis, Inspector::m_plotter_list, InspectorBase::m_reverse, hippodraw::Axes::X, and yes.

Referenced by Inspector::updateAxisTab().

void updateSelectedPlotData ( const PlotterBase plotter)
private
void updateSelectedPlotDataSource ( const std::string &  name)
private

Updates the selected plot data source combo box.

Definition at line 856 of file Inspector.cxx.

References QToolTip::add(), Inspector::clear(), i, DataSourceController::instance(), InspectorBase::m_sel_ntuple_name, QToolTip::remove(), and num_util::size().

Referenced by Inspector::updateSelectedPlotData().

void updateSelectedPlotType ( const PlotterBase plotter)
private

Updates the selected plot DataRep type.

Definition at line 889 of file Inspector.cxx.

References index, DisplayController::instance(), InspectorBase::m_dataRepNameText, QLineEdit::setText(), and yes.

Referenced by Inspector::updateDataTab().

void updateSummaryTab ( )
virtual
void updateTransformTab ( )
protectedvirtual
void updateTupleCuts ( const std::vector< PlotterBase * > &  cutlist)
private

Updates the list of TupleCut objects and their corresponding Plotter.

Definition at line 2727 of file Inspector.cxx.

References i, Inspector::m_tuple_cut_plotters, Inspector::m_tuple_cuts, and num_util::size().

Referenced by Inspector::updateCutControls().

void updateValueCombo ( )
private
int validPeriodicTransformRange ( )
private

Return true if the range is valid for HammerAito or Lambert transform.

Definition at line 5714 of file Inspector.cxx.

References Inspector::getPlotter(), Range::high(), Range::low(), hippodraw::Axes::X, and hippodraw::Axes::Y.

Referenced by Inspector::transform_button_group_clicked().

bool validPeriodicTransformRange ( int  miny)
private
void valueChanged ( int  index)
protectedvirtual
void warningTex ( )
private

Raises warning if TeX not supported.

Definition at line 2099 of file Inspector.cxx.

References QMessageBox::information().

Referenced by Inspector::axisLabelText(), Inspector::summaryNew(), and Inspector::titleText_returnPressed().

void widthDrag ( )
protectedvirtual

Member Data Documentation

QRadioButton* allCutsRadioButton
inherited
QButtonGroup* axis_button_group
inherited
QWidget* axisTab
inherited

Definition at line 136 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

hippodraw::AxisWidget* axisWidget1
inherited
hippodraw::AxisWidget* axisWidget2
inherited
hippodraw::AxisWidget* axisWidget3
inherited

Definition at line 158 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QLabel* brk_label
inherited
QSlider* brk_pt
inherited
QButtonGroup* ButtonGroup4
inherited

Definition at line 181 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QButtonGroup* ButtonGroup8
inherited

Definition at line 209 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QRadioButton* circle
inherited

Definition at line 98 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QSlider* color_scale
inherited
QLabel* colorlabel
inherited
QPushButton* colorSelect_2
inherited
QRadioButton* contourRadioButton1
inherited
QRadioButton* contourRadioButton2
inherited
QRadioButton* cross
inherited

Definition at line 101 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QGroupBox* currentPlot
inherited
QButtonGroup* cut_button_group
inherited
QPushButton* cutEnablePushButton
inherited
QPushButton* cutInvertPushButton
inherited
QPushButton* cutNewPushButton
inherited

Definition at line 175 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QPushButton* cutRemovePushButton
inherited
QWidget* cutsTab
inherited

Definition at line 167 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QWidget* dataTab
inherited

Definition at line 50 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QPushButton* delete_model
inherited

Definition at line 130 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QPushButton* edit_model
inherited
QRadioButton* filledCircle
inherited

Definition at line 99 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QRadioButton* filledRectangle
inherited

Definition at line 97 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QRadioButton* filledTriangle
inherited

Definition at line 95 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QSlider* flat_width
inherited
QLabel* flatlabel
inherited
QPushButton* functionsFitToDataButton
inherited
QPushButton* functionsRemoveButton
inherited
QPushButton* functionsResetButton
inherited
QWidget* funtionTab
inherited

Definition at line 189 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QGroupBox* groupBox14
inherited

Definition at line 230 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QLabel* label
inherited
QLabel* label_2
inherited

Definition at line 54 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QVBoxLayout* layout100
protectedinherited

Definition at line 261 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QVBoxLayout* layout102
protectedinherited

Definition at line 269 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QHBoxLayout* layout29
protectedinherited

Definition at line 297 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QHBoxLayout* layout31
protectedinherited

Definition at line 298 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QHBoxLayout* Layout31
protectedinherited

Definition at line 299 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QHBoxLayout* layout33
protectedinherited

Definition at line 282 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QVBoxLayout* layout33_2
protectedinherited

Definition at line 277 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QVBoxLayout* layout33_3
protectedinherited

Definition at line 290 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QVBoxLayout* layout33_3_2
protectedinherited

Definition at line 306 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QVBoxLayout* layout34
protectedinherited

Definition at line 292 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QVBoxLayout* layout35
protectedinherited

Definition at line 293 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QVBoxLayout* layout35_2
protectedinherited

Definition at line 309 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QVBoxLayout* layout36
protectedinherited

Definition at line 280 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QHBoxLayout* layout36_2
protectedinherited

Definition at line 291 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QHBoxLayout* layout37
protectedinherited

Definition at line 289 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QVBoxLayout* layout37_2
protectedinherited

Definition at line 286 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QVBoxLayout* layout37_2_2
protectedinherited

Definition at line 287 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QVBoxLayout* layout38
protectedinherited

Definition at line 285 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QHBoxLayout* layout39
protectedinherited

Definition at line 272 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QHBoxLayout* layout40
protectedinherited

Definition at line 273 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QHBoxLayout* Layout40_2
protectedinherited

Definition at line 288 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QHBoxLayout* layout41
protectedinherited

Definition at line 264 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QHBoxLayout* layout41_2
protectedinherited

Definition at line 274 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QHBoxLayout* layout42
protectedinherited

Definition at line 265 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QHBoxLayout* layout42_2
protectedinherited

Definition at line 275 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QHBoxLayout* layout42_2_2
protectedinherited

Definition at line 276 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QHBoxLayout* layout43
protectedinherited

Definition at line 266 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QHBoxLayout* layout44
protectedinherited

Definition at line 267 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QHBoxLayout* layout44_2
protectedinherited

Definition at line 268 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QHBoxLayout* layout45
protectedinherited

Definition at line 294 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QHBoxLayout* layout45_2
protectedinherited

Definition at line 301 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QVBoxLayout* layout45_3
protectedinherited

Definition at line 308 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QHBoxLayout* layout46
protectedinherited

Definition at line 262 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QHBoxLayout* layout46_2
protectedinherited

Definition at line 302 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QHBoxLayout* layout46_3
protectedinherited

Definition at line 307 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QHBoxLayout* layout47
protectedinherited

Definition at line 263 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QHBoxLayout* layout47_2
protectedinherited

Definition at line 303 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QHBoxLayout* layout47_3
protectedinherited

Definition at line 305 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QHBoxLayout* layout48
protectedinherited

Definition at line 270 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QHBoxLayout* layout49
protectedinherited

Definition at line 271 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QHBoxLayout* layout49_2
protectedinherited

Definition at line 300 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QVBoxLayout* layout51
protectedinherited

Definition at line 296 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QVBoxLayout* layout51_2
protectedinherited

Definition at line 304 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QHBoxLayout* layout52
protectedinherited

Definition at line 295 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QVBoxLayout* layout77
protectedinherited

Definition at line 284 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QCheckBox* logScale
inherited
QPushButton* m_addDataRepButton
inherited

Definition at line 67 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QRadioButton* m_Air
inherited
QComboBox* m_all_ntuples
inherited
QString m_app_key
private

The QSettings application key for searching for setting.

Definition at line 338 of file Inspector.h.

Referenced by Inspector::setAppKey().

QRadioButton* m_Arc
inherited
QCheckBox* m_autoScale
inherited
QComboBox* m_availPlotTypes
inherited
hippodraw::Axes::Type m_axis
private
QFrame* m_axis_frame
inherited

Definition at line 142 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and Inspector::updateAxisTab().

QGroupBox* m_axis_group_box
inherited

Definition at line 137 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QLineEdit* m_axis_label
inherited
QCheckBox* m_boxedge
inherited
QString m_break_point
private

The color model break point settings key.

Definition at line 255 of file Inspector.h.

Referenced by Inspector::deleteColorModel(), Inspector::editColorModel(), Inspector::loadAllUserModels(), Inspector::newColorModel(), and Inspector::setAppKey().

QRadioButton* m_Car
inherited
QHBoxLayout* m_color_layout
protectedinherited

Definition at line 283 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QString m_color_scale
private

The color model color scale settings key.

Definition at line 263 of file Inspector.h.

Referenced by Inspector::deleteColorModel(), Inspector::editColorModel(), Inspector::loadAllUserModels(), Inspector::newColorModel(), and Inspector::setAppKey().

QCheckBox* m_combine_checkbox
inherited
QButtonGroup* m_contourBox
inherited
QLineEdit* m_contourLevelsTextBox
inherited
CanvasWindow* m_cur_window
private

Definition at line 305 of file Inspector.h.

QRadioButton* m_cut_data1
inherited
QRadioButton* m_cut_data2
inherited
bool m_cut_enable_updating
private

Set to true when hippodraw::Inspector::cutEnablePushButton is being updated.

Definition at line 364 of file Inspector.h.

Referenced by Inspector::cutEnablePushButton_toggled(), and Inspector::updateCutEnableButton().

QRadioButton* m_cut_fit_radio
inherited
std::map< PlotterBase *, int > m_cut_map
private

A map of the last cut item selected for each plotter.

Definition at line 312 of file Inspector.h.

Referenced by Inspector::selCutChanged(), and Inspector::updateCutControls().

QGroupBox* m_cut_selected_box
inherited
QPushButton* m_cutAddAll
inherited
QPushButton* m_cutAddSelected
inherited
QComboBox* m_CutVariableComboBox1
inherited
QComboBox* m_CutVariableComboBox2
inherited
QPushButton* m_data_create
inherited

Definition at line 83 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QLineEdit* m_dataRepNameText
inherited
QPushButton* m_diffdatarep
inherited

Definition at line 85 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

bool m_dragging
private
QPushButton* m_editLabelFont
inherited

Definition at line 151 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QPushButton* m_editTitleFont
inherited

Definition at line 89 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QCheckBox* m_errorBars
inherited
QComboBox* m_fitter_names
inherited
QString m_flat_width
private

The color model flat width settings key.

Definition at line 259 of file Inspector.h.

Referenced by Inspector::deleteColorModel(), Inspector::editColorModel(), Inspector::loadAllUserModels(), Inspector::newColorModel(), and Inspector::setAppKey().

QGroupBox* m_func_new
inherited
std::vector< QListViewItem * > m_func_parm_checked
private

The list of functions parameters that are checked for use by the error contour display.

Definition at line 293 of file Inspector.h.

Referenced by Inspector::fillCheckedFunctionRepItems(), and Inspector::pushButtonNewErrorPlotClicked().

QGroupBox* m_func_parms
inherited

Definition at line 195 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

std::map< QListViewItem *, FunctionRep * > m_function_lv_map
private

Map between a function's QListViewItem and its FunctionRep pointer.

Definition at line 284 of file Inspector.h.

Referenced by Inspector::fillFunctionParameters(), if(), Inspector::pushButtonNewErrorPlotClicked(), and Inspector::setParameters().

std::vector< int > m_functionIndexMap
private

Definition at line 298 of file Inspector.h.

Referenced by Inspector::updateFunctionsTab().

QCheckBox* m_FunctionParamsCheckBox
inherited
QLineEdit* m_FunctionParamsLineEdit
inherited
QListView* m_FunctionParamsListView
inherited
QSlider* m_FunctionParamsSlider
inherited
QRadioButton* m_Gls
inherited
QCheckBox* m_grid
inherited
QRadioButton* m_hammer
inherited
int m_highslider1_last_val
private

The value of the high slider in Axis Widget 1 as last recorded.

Definition at line 354 of file Inspector.h.

Referenced by Inspector::Inspector(), Inspector::setHighRange(), and Inspector::updateAxisTab().

QCheckBox* m_IgnoreErrorCheckBox
inherited
QCheckBox* m_interval_cb
inherited
QGroupBox* m_interval_group
inherited

Definition at line 132 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QLineEdit* m_interval_le
inherited
bool m_is_updating
private

Set to true if updating is being processed.

Used to ignored signals from some controls when their value is being set.

Definition at line 359 of file Inspector.h.

Referenced by Inspector::cutHighSlider_sliderMoved(), Inspector::cutLowSlider_sliderMoved(), Inspector::cutText_returnPressed(), Inspector::setHighRange(), Inspector::setLowRange(), Inspector::sliderChanged(), Inspector::update(), Inspector::updateCutControlValues(), and Inspector::valueChanged().

QRadioButton* m_lambert
inherited
int m_last_cut_index
private

The index of the last selected cut.

Definition at line 348 of file Inspector.h.

Referenced by Inspector::getSelectedCut().

int m_last_ntuple_edited
private

The m_all_ntuples item that was lasted edited.

Definition at line 345 of file Inspector.h.

Referenced by Inspector::allNtupleComboActivated(), Inspector::changeNTupleName(), and Inspector::dataTupleNameChanged().

QWidget* m_layoutWidget
private

Definition at line 306 of file Inspector.h.

Referenced by Inspector::init(), and Inspector::updateSelectedPlotData().

QButtonGroup* m_line_group
inherited
QVBoxLayout* m_line_groupLayout
protectedinherited

Definition at line 279 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QRadioButton* m_linear
inherited
QRadioButton* m_logx
inherited
QRadioButton* m_logxy
inherited
QRadioButton* m_logy
inherited
int m_lowslider1_last_val
private

The value of the low slider in Axis Widget 1 as last recorded.

Definition at line 351 of file Inspector.h.

Referenced by Inspector::Inspector(), and Inspector::updateAxisTab().

QRadioButton* m_Mer
inherited
int m_min_entries
private

The min_entries when draging starts.

Definition at line 385 of file Inspector.h.

Referenced by Inspector::combineCheckBox_clicked(), Inspector::init(), Inspector::setDragOn(), and Inspector::setMinEntries().

QString m_model_name
private
std::vector< QComboBox * > m_new_combos
private

Binding combo boxes for new plot group box.

Definition at line 271 of file Inspector.h.

Referenced by Inspector::addDataRepButton_clicked(), Inspector::availPlotTypesActivated(), Inspector::init(), and Inspector::newPlotButton_clicked().

QGroupBox* m_new_cut_box
inherited
std::vector< QLabel * > m_new_labels
private

Binding labels for new plot group box.

Definition at line 267 of file Inspector.h.

Referenced by Inspector::availPlotTypesActivated(), and Inspector::init().

QGroupBox* m_new_plot_box
inherited
QWidget* m_newLayoutWidget
private

Definition at line 304 of file Inspector.h.

Referenced by Inspector::availPlotTypesActivated(), and Inspector::init().

QVBoxLayout* m_newVLayout
private

Definition at line 308 of file Inspector.h.

Referenced by Inspector::init().

QLabel* m_numContoursLabel
inherited
QSlider* m_numContourSlider
inherited
QLineEdit* m_numContoursTextBox
inherited
QScrollBar* m_offset_range
inherited
QLineEdit* m_offset_text
inherited
std::vector< double > m_oldParameters
private
QPushButton* m_plot_color
inherited
QGroupBox* m_plot_symbols
inherited
QTabWidget* m_plot_tab
inherited
QGroupBox* m_plot_title
inherited
PlotterBase* m_plotter
private

The currently selected PlotterBase object.

The currently selected PlotterBase object if only one is selected, otherwise a null pointer.

Definition at line 334 of file Inspector.h.

Referenced by Inspector::getPlotter().

std::vector< PlotterBase * > m_plotter_list
private
QWidgetStack* m_point_stack
inherited

Definition at line 91 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and Inspector::updatePlotTab().

QComboBox* m_pointRepComboBox
inherited
QPushButton* m_PushButtonNewErrorPlot
inherited
Range m_range
private
QPushButton* m_removeDatarep
inherited

Definition at line 84 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QPushButton* m_resid
inherited
QCheckBox* m_reverse
inherited
bool m_rotate_enable
private

When changing current plot, set to false so that Inspector don't update the rotation repeatedly.

Definition at line 376 of file Inspector.h.

Referenced by Inspector::init(), Inspector::rotateX(), Inspector::rotateY(), Inspector::setRotate(), Inspector::setXRotateText(), and Inspector::setYRotateText().

std::vector< QComboBox * > m_sel_combos
private

Binding combo boxes for selected plot group box.

Definition at line 279 of file Inspector.h.

Referenced by Inspector::init(), and Inspector::updateSelectedPlotData().

std::vector< QLabel * > m_sel_labels
private

Binding labels for selected plot group box.

Definition at line 275 of file Inspector.h.

Referenced by Inspector::axisLabelChanged(), Inspector::init(), and Inspector::updateSelectedPlotData().

QComboBox* m_sel_ntuple_name
inherited
QComboBox* m_selCutComboBox
inherited
QPushButton* m_selectedColor
inherited
QRadioButton* m_selectedPlotRadioButton
inherited
QRadioButton* m_Sin
inherited
QGroupBox* m_slider_control
inherited
QRadioButton* m_stats_avg_x
inherited
QRadioButton* m_stats_avg_y
inherited
QRadioButton* m_stats_chi
inherited
QRadioButton* m_stats_fparms
inherited
QRadioButton* m_stats_number
inherited
QRadioButton* m_stats_overflow
inherited
QRadioButton* m_stats_std_x
inherited

Definition at line 213 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QRadioButton* m_stats_text
inherited
QRadioButton* m_stats_underflow
inherited
QLineEdit* m_statsTextField
inherited
QRadioButton* m_Stg
inherited
QGroupBox* m_summary
inherited
QButtonGroup* m_symbol_group
inherited
QVBoxLayout* m_symbol_groupLayout
protectedinherited

Definition at line 278 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QLineEdit* m_symbolPointSize
inherited
QRadioButton* m_Tan
inherited
QLineEdit* m_titleText
inherited
std::vector< QRadioButton * > m_transform_buttons
private

The list of transform radio buttons.

Definition at line 381 of file Inspector.h.

Referenced by Inspector::init(), and Inspector::transformId().

PlotterList_t m_tuple_cut_plotters
private
TupleCutList_t m_tuple_cuts
private
bool m_user_models_loaded
private

Set to true after the user defined value to color transforms have been loaded.

Definition at line 371 of file Inspector.h.

Referenced by Inspector::loadAllUserModels().

QComboBox* m_value_combo
inherited
QVBoxLayout* m_value_layout
protectedinherited

Definition at line 281 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QVBoxLayout* m_vLayout
private

Definition at line 307 of file Inspector.h.

Referenced by Inspector::dataClearSelectedControls(), and Inspector::init().

QScrollBar* m_width_range
inherited
QLineEdit* m_width_text
inherited
QScrollBar* m_x_offset
inherited
QLineEdit* m_x_offset_text
inherited
QScrollBar* m_y_offset
inherited
QLineEdit* m_y_offset_text
inherited
std::map< const PlotterBase *, bool> m_zoompan
private
QScrollBar* min_entries_slider
inherited
QLineEdit* min_entries_text
inherited
QLabel* new_binding_0
inherited
QLabel* new_binding_1
inherited
QLabel* new_binding_2
inherited
QLabel* new_binding_3
inherited
QLabel* new_binding_4
inherited
QComboBox* new_combo_0
inherited

Definition at line 57 of file InspectorBase.h.

Referenced by Inspector::init(), and InspectorBase::InspectorBase().

QComboBox* new_combo_1
inherited

Definition at line 59 of file InspectorBase.h.

Referenced by Inspector::init(), and InspectorBase::InspectorBase().

QComboBox* new_combo_2
inherited

Definition at line 61 of file InspectorBase.h.

Referenced by Inspector::init(), and InspectorBase::InspectorBase().

QComboBox* new_combo_3
inherited

Definition at line 63 of file InspectorBase.h.

Referenced by Inspector::init(), and InspectorBase::InspectorBase().

QComboBox* new_combo_4
inherited

Definition at line 65 of file InspectorBase.h.

Referenced by Inspector::init(), and InspectorBase::InspectorBase().

QPushButton* new_model
inherited

Definition at line 129 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QPushButton* newFunctionsAddButton
inherited
QComboBox* newFunctionsComboBox
inherited
QPushButton* newPlotButton
inherited
QPushButton* newSummary
inherited

Definition at line 220 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QWidget* page
inherited

Definition at line 92 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QWidget* page_2
inherited

Definition at line 102 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase().

QWidget* plotTab_2
inherited

Definition at line 86 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QRadioButton* plus
inherited

Definition at line 100 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QPushButton* pushButton26
inherited

Definition at line 229 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QRadioButton* radioButton27
inherited

Definition at line 104 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QRadioButton* radioButton27_2
inherited

Definition at line 105 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QRadioButton* radioButton27_2_2
inherited

Definition at line 106 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QRadioButton* radioButton27_2_2_2
inherited

Definition at line 107 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QRadioButton* radioButton27_2_2_2_2
inherited

Definition at line 108 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QRadioButton* radioButton27_2_2_2_2_2
inherited

Definition at line 109 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QRadioButton* radioButton38
inherited

Definition at line 140 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QRadioButton* radioButton39
inherited

Definition at line 139 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QRadioButton* radioButton40
inherited

Definition at line 141 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QRadioButton* rectangle
inherited

Definition at line 96 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QPushButton* reset_slider
inherited

Definition at line 131 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QGroupBox* rotateGroupBox
inherited
QString s_registry
staticprotected

The QSettings Windows registry key.

The key is the same as used for by Trolltech for their Qt applications

Definition at line 738 of file Inspector.h.

Referenced by Inspector::deleteColorModel(), Inspector::editColorModel(), Inspector::loadAllUserModels(), and Inspector::newColorModel().

QLabel* sel_binding_0
inherited
QLabel* sel_binding_1
inherited
QLabel* sel_binding_2
inherited
QLabel* sel_binding_3
inherited
QLabel* sel_binding_4
inherited
QComboBox* sel_combo_0
inherited

Definition at line 74 of file InspectorBase.h.

Referenced by Inspector::init(), and InspectorBase::InspectorBase().

QComboBox* sel_combo_1
inherited

Definition at line 76 of file InspectorBase.h.

Referenced by Inspector::init(), and InspectorBase::InspectorBase().

QComboBox* sel_combo_2
inherited

Definition at line 78 of file InspectorBase.h.

Referenced by Inspector::init(), and InspectorBase::InspectorBase().

QComboBox* sel_combo_3
inherited

Definition at line 80 of file InspectorBase.h.

Referenced by Inspector::init(), and InspectorBase::InspectorBase().

QComboBox* sel_combo_4
inherited

Definition at line 82 of file InspectorBase.h.

Referenced by Inspector::init(), and InspectorBase::InspectorBase().

QButtonGroup* show_cut_radio_group
inherited

Definition at line 182 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QWidget* statsTab
inherited

Definition at line 207 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QWidget* tab
inherited

Definition at line 221 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QLabel* TextLabel1
inherited

Definition at line 114 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QLabel* textLabel1
inherited

Definition at line 149 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QLabel* textLabel1_2
inherited

Definition at line 110 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QLabel* textLabel1_2_2
inherited

Definition at line 112 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QLabel* TextLabel1_2_3
inherited

Definition at line 143 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QLabel* TextLabel1_2_3_2
inherited

Definition at line 223 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QLabel* TextLabel1_2_4
inherited

Definition at line 144 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QLabel* TextLabel1_2_4_2
inherited

Definition at line 224 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QLabel* TextLabel1_3
inherited

Definition at line 69 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QLabel* TextLabel1_3_2
inherited

Definition at line 52 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QLabel* TextLabel1_4
inherited

Definition at line 133 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QLabel* textLabel5
inherited

Definition at line 202 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QButtonGroup* transform_button_group
inherited
QRadioButton* triangle
inherited

Definition at line 94 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().

QLabel* u_fiiter
inherited

Definition at line 199 of file InspectorBase.h.

Referenced by InspectorBase::InspectorBase(), and InspectorBase::languageChange().


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

Generated for HippoDraw Class Library by doxygen