38 class DataSourceException;
244 void static stringTokenize(std::string input,
const std::string & delimiters,
245 std::vector<std::string> & tokens,
bool clear=
true);
283 #if QT_VERSION < 0x040000
286 std::map < Q3ListViewItem *, FunctionRep * > m_function_lv_map;
292 #if QT_VERSION < 0x040000
295 std::vector < Q3ListViewItem * > m_func_parm_checked;
394 int cutRadioId ()
const;
401 void invalidOperationError (
const std::string & message );
409 int transformId ()
const;
412 virtual void diffDataRep ();
415 #if QT_VERSION < 0x040000
418 Q3ListViewItem * getTopParent ( Q3ListViewItem *
item );
424 #if QT_VERSION < 0x040000
432 #if QT_VERSION < 0x040000
451 void fillCheckedFunctionRepItems ();
460 virtual void sel_combo_0_activated (
const QString & );
465 virtual void sel_combo_1_activated (
const QString & );
470 virtual void sel_combo_2_activated (
const QString & );
475 virtual void sel_combo_3_activated (
const QString & );
485 void loadAllUserModels ();
490 void convertCtrlPts ( std::vector < double > & sv );
494 void clear ( std::vector < QLabel * > & labels,
495 std::vector < QComboBox * > & combos );
501 void updateColorMapCtrls (
const PlotterBase * plotter );
507 void updateSelectedPlotData (
const PlotterBase * plotter );
511 void dataClearSelectedControls ();
515 void updateSelectedPlotDataSource (
const std::string & name );
519 void updateSelectedPlotType (
const PlotterBase * plotter );
526 void updateAutoScaleBox ();
530 void updateLogBox ();
534 void updateReverseBox ();
536 void updateCutsActive ();
540 void updateTupleCuts (
const std::vector < PlotterBase * > & cutlist );
548 const std::vector < PlotterBase * > &
552 void disableCutControls (
bool yes );
557 void fillPlotterList ( std::vector < PlotterBase * > & plot_list );
573 const std::vector < const TupleCut * > &
578 int findCutIndex (
const QString & label );
583 void setAllCutsActive (
bool yes );
587 void cutOnCutError ();
592 void invalidDataWarning ();
596 void newPlotError (
const std::exception & e );
599 void noNTupleSelectedError ();
602 void invalidRangeError (
const std::string & bad );
606 void incompatibleDataRepError (
const std::string &
type );
610 void incompatibleFitterError (
const std::string &
type );
614 void badFunctionError (
const std::string & name,
const char * what );
618 void fitFailedError ();
622 void incompatibleFunctionError (
const std::string &
type );
632 void multipleDataRepError (
const std::string &
type );
637 bool multipleDataRepInfo (
const std::string &
type );
641 void multiplePlotError ();
645 void functionAddError ();
650 #if QT_VERSION < 0x040000
653 unsigned int &
index );
655 void fillFunctionParameters ( Q3ListViewItem * parent,
657 unsigned int &
index );
666 void updateNewPlotControls ();
671 void setNewPlotNTuple (
const std::string & name );
678 void changeNTupleName (
const QString & );
683 virtual void ntupleChanged (
int );
687 virtual void updatePlotTab ();
691 virtual void errorBars_toggled (
bool );
700 void updateCutControls (
const std::vector < PlotterBase * > & cutlist );
704 void updateCutControlValues (
const PlotterBase * cutplotter );
708 void updateCutEnableButton ();
712 virtual void setZRadioButton (
bool enabled );
716 void updateValueCombo ();
721 int validPeriodicTransformRange();
722 bool validPeriodicTransformRange(
int miny );
727 void invalidPeriodicTransform ();
729 #if QT_VERSION < 0x040000
748 virtual void addDataRepButton_clicked ( );
752 virtual void removeDataRepButton_clicked();
754 virtual void allNtupleComboActivated (
const QString & );
757 virtual void updatePlotTypes ();
758 virtual void availPlotTypesActivated (
const QString & );
759 virtual void dataCreateNTuple ();
764 virtual void dataTupleNameChanged (
const QString & );
765 virtual void dataNTupleSelChanged (
int item );
769 virtual void titleText_returnPressed();
773 virtual void axis_button_group_clicked (
int id );
777 virtual void axisZoomPanCheckBox_clicked ();
781 virtual void axisLabelChanged (
int index,
const QString & axisName );
783 virtual void highRangeDrag();
784 virtual void lowRangeDrag();
785 virtual void newPlotButton_clicked ( );
789 virtual void setDragOn ();
791 virtual void offsetDrag();
792 virtual void entriesDrag();
793 virtual void symbolTypeButtonGroup_clicked (
int id );
794 virtual void lineStyleButtonGroup_clicked (
int id );
795 virtual void symbolPointSize_returnPressed ( );
796 virtual void intervalStateChanged (
bool state );
797 virtual void intervalTextChanged (
const QString & );
798 virtual void colorSelect_clicked ();
802 virtual void colorSelect_2_clicked ();
806 virtual void setWidthText ();
810 virtual void setOffsetText ();
812 virtual void setBinWidth (
int value );
816 virtual void functionsFitToDataButton_clicked ();
821 virtual void functionsRemoveButton_clicked ();
826 virtual void functionsResetButton_clicked();
829 virtual void functionParamsListViewCurrentChanged ();
830 virtual void functionParamsCheckBoxToggled(
bool );
833 virtual void ignoreErrorCheckBoxToggled(
bool);
834 virtual void functionParamsLineEditReturnPressed();
835 virtual void functionParamsSliderSliderReleased();
836 virtual void functionParamsSliderSliderMoved(
int );
837 virtual void functionParamsSliderSliderPressed();
845 virtual void cut_button_group_clicked ();
847 virtual void logScale_clicked();
851 virtual void reverse_clicked();
855 virtual void autoScale_clicked();
859 virtual void m_grid_clicked();
860 virtual void m_boxedge_clicked();
861 virtual void cutLowSlider_sliderMoved (
int value );
862 virtual void cutHighSlider_sliderMoved (
int value );
863 virtual void cutLowSlider_sliderReleased();
864 virtual void cutHighSlider_sliderReleased();
865 virtual void cutZoomPanCheckBox_clicked();
866 virtual void cutInvertPushButton_clicked();
870 virtual void cutAddSelected ();
874 virtual void cutAddAll ();
878 virtual void cutRemovePushButton_clicked ();
882 virtual void cutText_returnPressed();
886 virtual void cutEnablePushButton_toggled (
bool on );
890 virtual void setBinWidth (
int value,
bool drag );
894 virtual void axisLabelText ();
896 virtual void setLowRange (
int value );
900 virtual void setLowRange (
int value,
bool yes );
902 virtual void setLowText ();
903 virtual void setHighRange (
int value );
907 virtual void setHighRange (
int value,
bool yes );
909 virtual void setHighText ();
910 virtual void setOffset (
int value );
914 virtual void rotateX (
int offset );
915 virtual void rotateY (
int offset );
917 virtual void setXRotateText ();
918 virtual void setYRotateText ();
923 virtual void resetRotate ();
927 virtual void setRotate (
int x,
int y );
931 virtual void setOffset (
int value,
bool yes );
933 virtual void cutNew ();
934 virtual void functionAdd ();
935 virtual void summaryNew ();
943 virtual void transform_button_group_clicked ();
944 virtual void selCutChanged ();
945 virtual void updateDataTab();
946 virtual void pointRepComboBox_activated (
const QString & qstr );
950 virtual void updateCutsTab ();
954 virtual void updateDataCutsTab ();
958 virtual void updateFitCutsTab ();
962 virtual void updateFunctionsTab ();
964 virtual void createResiduals();
965 virtual void fitterNamesActivated (
int );
966 virtual void pushButtonNewErrorPlotClicked ();
970 virtual void updateAxisTab ();
974 virtual void updateTransformTab ();
976 virtual void widthDrag ();
979 void editLabelFontClicked();
982 void editTitleFontClicked();
990 std::string getArrayTupleLabel(
const DataSource * rtuple,
991 const std::string &
column );
995 virtual void valueChanged (
int );
1000 virtual void sliderChanged (
int );
1004 virtual void resetSlider ( );
1008 virtual void newColorModel ( );
1012 virtual void editColorModel ( );
1016 virtual void deleteColorModel ( );
1020 virtual void combineCheckBox_clicked();
1024 virtual void setMinEntries (
int increment );
1028 virtual int getMinEntries ();
1032 virtual void setMinEntriesText();
1038 const char * name = 0,
1040 Qt::WFlags flags = 0 );
1048 std::string getSelectedDataSourceName ()
const;
1055 void enableNewPlotBox (
bool yes =
true );
1063 #if QT_VERSION < 0x040000
1066 virtual void customEvent (
QEvent * event );
1072 virtual void update ( );
1074 virtual void selectedCutsRadioButton_toggled (
bool selected );
1075 virtual void allCutsRadioButton_toggled (
bool selected );
1079 virtual void updateSummaryTab ();
1081 virtual void statsButtonGroupClicked (
int );
1088 virtual void contourSlider_valueChanged (
int val );
1090 virtual void contourTextBox_returnPressed ();
1094 virtual void contourRadioButton1_toggled (
bool );
1098 virtual void contourLevelsTextBox_returnPressed ();
1102 void contourError ();
1107 virtual void tabChanged ();
1113 void setSelectedFitter (
const std::string & name );
1124 #endif // _Inspector_H_
int m_lowslider1_last_val
The value of the low slider in Axis Widget 1 as last recorded.
PlotterBase * m_plotter
The currently selected PlotterBase object.
std::vector< QLabel * > m_new_labels
Binding labels for new plot group box.
std::vector< QComboBox * > m_new_combos
Binding combo boxes for new plot group box.
QString m_model_name
The color model name settings key.
#define MDL_QTHIPPOPLOT_API
TupleCutList_t m_tuple_cuts
The list of TupleCut objects currently selected.
QString m_app_key
The QSettings application key for searching for setting.
std::vector< const TupleCut * > TupleCutList_t
The type of container for current TupleCut objects.
QString m_flat_width
The color model flat width settings key.
column
The column indices for 2 dimension data point tuple.
std::map< const PlotterBase *, bool > m_zoompan
QVBoxLayout * m_newVLayout
A derived class of DataRep which is a base class for displaying a function.
std::vector< QListViewItem * > m_func_parm_checked
The list of functions parameters that are checked for use by the error contour display.
std::vector< QComboBox * > m_sel_combos
Binding combo boxes for selected plot group box.
static QString s_registry
The QSettings Windows registry key.
bool m_is_updating
Set to true if updating is being processed.
The base class for the PlotterBase hierarchy.
hippodraw::Axes::Type m_axis
PyArray_TYPES type(numeric::array arr)
bool m_cut_enable_updating
Set to true when hippodraw::Inspector::cutEnablePushButton is being updated.
std::vector< PlotterBase * > m_plotter_list
The currently selected plotters.
A PlotterBase derived class that serves a base class for cut plotters.
int m_last_cut_index
The index of the last selected cut.
std::map< QListViewItem *, FunctionRep * > m_function_lv_map
Map between a function's QListViewItem and its FunctionRep pointer.
std::vector< QRadioButton * > m_transform_buttons
The list of transform radio buttons.
std::vector< double > m_oldParameters
QString m_break_point
The color model break point settings key.
int m_highslider1_last_val
The value of the high slider in Axis Widget 1 as last recorded.
std::vector< PlotterBase * > PlotterList_t
The type of container for PlotterBase objects.
hippodraw::Range class interface
int m_last_ntuple_edited
The m_all_ntuples item that was lasted edited.
int m_min_entries
The min_entries when draging starts.
std::map< PlotterBase *, int > m_cut_map
A map of the last cut item selected for each plotter.
Expresses a range of values.
std::vector< QLabel * > m_sel_labels
Binding labels for selected plot group box.
PlotterList_t m_tuple_cut_plotters
The PlotterBase object associated with each TupleCut object.
QString m_color_scale
The color model color scale settings key.
bool m_user_models_loaded
Set to true after the user defined value to color transforms have been loaded.
The base class for the Inspector class.
CanvasWindow * m_cur_window
The file created from InspectorBase.ui with the Qt uic tool.
bool m_rotate_enable
When changing current plot, set to false so that Inspector don't update the rotation repeatedly...
QWidget * m_newLayoutWidget
A concrete window class that contains the canvas and responds to menu item and tool bar events from t...
std::vector< int > m_functionIndexMap
A derived class of InspectorBase class which is generated by the Qt designer.
Base class for DataSource.