[root] / trunk / gui / ged / src / TH1Editor.cxx Repository:
ViewVC logotype

Log of /trunk/gui/ged/src/TH1Editor.cxx

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 49086 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 5 08:47:51 2013 UTC (21 months, 2 weeks ago) by bellenot
File length: 101073 byte(s)
Diff to previous 48046
Import rev.49085 from 5-34-patches: Add missing initialisation of the "Bar Option" check box, leading to keeping the check box checked when switching from an histogram draw with "BAR" option to another one without that option. Thanks to Axel for reporting this.

Revision 48046 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 14 15:35:16 2012 UTC (2 years, 1 month ago) by rdm
File length: 101037 byte(s)
Diff to previous 41280
From Ioan:
Replace the trunk code that uses the deprecated TH1::kCanRebin bit with
the new methods TH1::CanExtendAllAxes() and TH1::SetCanExtend() - see r47909,
r48012 and r48031. The old TH1::kCanRebin bit did not really have much to
do with histogram rebinning, but rather with extending the limits of the
histogram's axes (which can cause a rebin, but only in some cases). As such,
the word "Rebin" has been replaced with "Extend" for the new methods.

Rename TH1::RebinAxis() to TH1::ExtendAxis() for the reasons stated above.
The TH1::RebinAxis() method will be kept in v6-00 for backward compatibility
with an obsolete warning and will be removed in v6-02. The current
implementation simply forwards the call to TH1::ExtendAxis().

Revision 41280 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 7 13:02:45 2011 UTC (3 years, 3 months ago) by bellenot
File length: 101023 byte(s)
Diff to previous 35073
Fix coverity reports (dereference null return values)

Revision 35073 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 30 14:49:08 2010 UTC (4 years, 4 months ago) by bellenot
File length: 100533 byte(s)
Diff to previous 33869
Keep the zoom on any axis (re-apply the zoom after resetting the original histogram) when user cancels the rebinning. This should fix the bug #72004: Rebinning of the histogram (https://savannah.cern.ch/bugs/?72004)

Revision 33869 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 14 10:12:17 2010 UTC (4 years, 7 months ago) by bellenot
File length: 100397 byte(s)
Diff to previous 31790
Protect potential out-of-bounds read (coverity)

Revision 31790 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 10 14:14:17 2009 UTC (5 years, 1 month ago) by bellenot
File length: 100350 byte(s)
Diff to previous 23115
- Check validity of pointers returned by dynamic_cast (coverity)
- Fix memory leaks by properly delete allocated arrays (coverity)
- Fix uninitialized variable (valgrind)

Revision 23115 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 10 13:35:37 2008 UTC (6 years, 9 months ago) by rdm
File length: 100079 byte(s)
Diff to previous 22488
moved to directory "gui" the following directories:

fitpanel, ged, gui, guibuilder, guihtml, qtgsi, qtroot, sessionviewer

Revision 22488 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 6 16:04:47 2008 UTC (6 years, 10 months ago) by rdm
Original Path: trunk/ged/src/TH1Editor.cxx
File length: 100079 byte(s)
Diff to previous 20882
remove first batch of warning reported by gcc 4.3:
- warning: suggest parentheses around && within ||
- warning: suggest explicit braces to avoid ambiguous if else

Revision 20882 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 11:31:26 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/ged/src/TH1Editor.cxx
File length: 100077 byte(s)
Diff to previous 20220
Set property svn:eol-style LF on all source and Makefiles. This should avoid
problems with Win32 line endings ending up in the repository. All MS tools
support LF eols fine.

Revision 20220 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 4 23:00:41 2007 UTC (7 years, 3 months ago) by rdm
Original Path: trunk/ged/src/TH1Editor.cxx
File length: 100077 byte(s)
Diff to previous 18220
remove a bunch of $Name$ tags that were missed due to a problem in the
initial svn patch up script. Also add svn:keywords Id to all files not
having the property yet.

Revision 18220 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 9 15:09:12 2007 UTC (7 years, 10 months ago) by antcheva
Original Path: trunk/ged/src/TH1Editor.cxx
File length: 100094 byte(s)
Diff to previous 17749
Improved editors' layout on Windows
and removed some intermediate container frames

Revision 17749 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 7 09:00:41 2007 UTC (7 years, 11 months ago) by antcheva
Original Path: trunk/ged/src/TH1Editor.cxx
File length: 99612 byte(s)
Diff to previous 17701
- removed obsolete class TGedToolBox
- cleanup of includes

Revision 17701 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 5 17:28:41 2007 UTC (7 years, 11 months ago) by antcheva
Original Path: trunk/ged/src/TH1Editor.cxx
File length: 99741 byte(s)
Diff to previous 17676
- minor fix in Dividers method

Revision 17676 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 4 07:48:27 2007 UTC (7 years, 11 months ago) by brun
Original Path: trunk/ged/src/TH1Editor.cxx
File length: 99730 byte(s)
Diff to previous 17477
Use forward declaration of TH1

Revision 17477 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 23 14:22:45 2007 UTC (8 years ago) by rdm
Original Path: trunk/ged/src/TH1Editor.cxx
File length: 99713 byte(s)
Diff to previous 16353
From Ilka:
fixes in TGButton and TGButtonGroup classes related to double emitted
signals (bug #23011).
In addition are follow-up changes in different GUI classes where a
work-around was used by connecting the slots to the signals Released or
Pressed instead of Clicked.

Revision 16353 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 27 08:47:18 2006 UTC (8 years, 3 months ago) by rdm
Original Path: trunk/ged/src/TH1Editor.cxx
File length: 99714 byte(s)
Diff to previous 16329
From Matevz:
Use TGedFrame::CreateEditorTabSubFrame() to create extra sub-tab frames.

Revision 16329 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 25 13:38:45 2006 UTC (8 years, 4 months ago) by rdm
Original Path: trunk/ged/src/TH1Editor.cxx
File length: 99761 byte(s)
Diff to previous 15526
From Matevz:
Changes from TGedFrame.
Create 'Binning' tab using the new tab-management functionality.

Revision 15526 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 23 15:19:22 2006 UTC (8 years, 7 months ago) by antcheva
Original Path: trunk/ged/src/TH1Editor.cxx
File length: 103393 byte(s)
Diff to previous 14336
- fixed problem of object editor performance caused by freely emitted
  signals of used  GUI elements and corresponding slots execution.

TGedFrame
- new data member fAvoidSignal = kFALSE by default. In SetModel method of any editor it is set to kTRUE to avoid executing slot method and in the end of SetModet is set to kFALSE again;

TGedEditor
- move the call of TGMainFrame::Layout from TGedFrame::SetActive in
TGedEditor::SetModel

TPadEditor
- no need of TGCompositeFrame *f7 as data member
- added new data member TGButtonGroup *fBgrop
- connected DoBorderMode slot with TGButtonGroup::Released signal

TGraphEditor
- changed signature of DoShape method
- connected DoShape slot with TGButtonGroup::Released signal

TH1Editor
- new method DoHistView()
- fixed problem shown with MSVS 8 (thaks to Timur and Bertrand)
- connected DoHistView slot with TGButtonGroup::Released signal

TH2Editor
- new method DoHistView()
- fixed problem shown with MSVS 8 (thaks to Timur and Bertrand)
- connected DoHistView slot with TGButtonGroup::Released signal

All other editors - follow-up changes in the code related to the
fAvoidSignal use.

Revision 14336 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 20 21:43:44 2006 UTC (8 years, 10 months ago) by pcanal
Original Path: trunk/ged/src/TH1Editor.cxx
File length: 101964 byte(s)
Diff to previous 13508
Reduce direct dependencies on TClass.h, TROOT.h and TStreamerInfo.h.
Warning:  This means that some file that relied on the indirect
inclusion of these header file might now fail to compile with
an error message mention that gROOT is no known or that TClass,
TROOT or TStreamerInfo is incompletely defined.  Simply add the
proper include directive.

Revision 13508 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 6 17:32:15 2005 UTC (9 years, 1 month ago) by rdm
Original Path: trunk/ged/src/TH1Editor.cxx
File length: 101944 byte(s)
Diff to previous 13379
From Ilka:
- fix of the bug 13809 reported on Savannah in Dividers methods of
  TH1/2Editors (thanks to Axel).
- improved performance of both histogram editors.
- memory leak fixes.
- comment fixes.
- code layout changes of TH1/2 editors to make the code readable
  (some lines had > 150 symbols).

Revision 13379 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 28 17:01:16 2005 UTC (9 years, 1 month ago) by brun
Original Path: trunk/ged/src/TH1Editor.cxx
File length: 97081 byte(s)
Diff to previous 13358
From Ilka:
This patch fixes bug 13925 reported on Savannah. The draw option "same" was
ignored in the TH1Editor by Carsten. Next, I will check the TH2Editor for the same
bug.

Revision 13358 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 25 09:56:35 2005 UTC (9 years, 2 months ago) by brun
Original Path: trunk/ged/src/TH1Editor.cxx
File length: 96151 byte(s)
Diff to previous 13199
From Ilka:
Using the faster version of InheritsFrom(TClass*) instead of InheritsFrom(const char*)
where possible in the editors' code.

Revision 13199 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 11 15:38:30 2005 UTC (9 years, 2 months ago) by brun
Original Path: trunk/ged/src/TH1Editor.cxx
File length: 96116 byte(s)
Diff to previous 12646
From Ilka:
Fixes to make the rule checker happy

Revision 12646 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 5 10:01:46 2005 UTC (9 years, 4 months ago) by brun
Original Path: trunk/ged/src/TH1Editor.cxx
File length: 96080 byte(s)
Diff to previous 12553
From Ilka:
Fix remaining coding conventions violations in ged.

Revision 12553 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 29 16:32:45 2005 UTC (9 years, 4 months ago) by brun
Original Path: trunk/ged/src/TH1Editor.cxx
File length: 95272 byte(s)
Diff to previous 11789
Changes to make the rulechecker happy in directory ged

Revision 11789 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 14 00:19:58 2005 UTC (9 years, 8 months ago) by rdm
Original Path: trunk/ged/src/TH1Editor.cxx
File length: 95272 byte(s)
Diff to previous 11347
From Ilka:
- TGedEditor.cxx - if the canvas window is maximized the global editor
  appears in the bottom right corner of the canvas window
- fixes of errors reported in the violation table by Jose Lo

Revision 11347 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 15 14:02:06 2005 UTC (9 years, 10 months ago) by brun
Original Path: trunk/ged/src/TH1Editor.cxx
File length: 95265 byte(s)
Diff to previous 10499
From Ilka
In TH1Editor.h, there are two private members violating the naming conventions:
   Bool_t               make;             // Veto Variable
   Bool_t               makeB;            // avoid execution of Bar

Revision 10499 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 8 17:29:33 2004 UTC (10 years, 2 months ago) by brun
Original Path: trunk/ged/src/TH1Editor.cxx
File length: 95216 byte(s)
Diff to previous 10425
From Ilka:
TGraphEditor.h, cxx:
- reorder enum var to use widgets' ids directly in signals/slots
communications
- connect the button-group widget Clicked signal to the slot DoShape
- change the signature of DoMarkerOnOff slot to use directly the sent
info by Toggled signal
- code changes according to these new connections
- cosmetic layout changes of the code according to the ROOT coding rules
- cursor changes to kWatch if the graph has many points and the drawing
takes time

TH1/2Editor.cxx
- do not activate histogram editors if the entries == 0

Revision 10425 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 29 13:57:53 2004 UTC (10 years, 2 months ago) by brun
Original Path: trunk/ged/src/TH1Editor.cxx
File length: 95175 byte(s)
Diff to previous 10148
From Ilka:
TH2Editor:
The line:
fPad->GetCanvas()->Selected(fPad, fHist,  0);

is replaced by:
fModel = fHist;
Refresh();

to avoid calling SetModel method of all object editors.
Refresh() method updates the current GUI according to new object attributes.
I did not remove the replaced code, just I have commented it.

Revision 10148 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 22 18:00:15 2004 UTC (10 years, 4 months ago) by brun
Original Path: trunk/ged/src/TH1Editor.cxx
File length: 95058 byte(s)
Diff to previous 10147
minor format changes (removing blank lines) such that the class description
includes the pictures correctly.

Revision 10147 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 22 17:27:21 2004 UTC (10 years, 4 months ago) by brun
Original Path: trunk/ged/src/TH1Editor.cxx
File length: 95052 byte(s)
Diff to previous 10137
From Carsten
with documentation in the class header and the pictures.

Revision 10137 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 22 10:27:45 2004 UTC (10 years, 4 months ago) by brun
Original Path: trunk/ged/src/TH1Editor.cxx
File length: 89310 byte(s)
Diff to previous 10133
General code cleanup by Carsten

Revision 10133 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 22 08:24:35 2004 UTC (10 years, 4 months ago) by brun
Original Path: trunk/ged/src/TH1Editor.cxx
File length: 90603 byte(s)
Diff to previous 10130
New version of the editors (Carsten)

Revision 10130 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 22 06:58:17 2004 UTC (10 years, 4 months ago) by brun
Original Path: trunk/ged/src/TH1Editor.cxx
File length: 89620 byte(s)
Diff to previous 10121
New version with several problems fixed when having histograms
in different pads.

Revision 10121 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 21 14:17:59 2004 UTC (10 years, 4 months ago) by brun
Original Path: trunk/ged/src/TH1Editor.cxx
File length: 89892 byte(s)
Diff to previous 10108
From Carsten & Ilka
New version of the TH1 editor

Revision 10108 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 20 17:23:37 2004 UTC (10 years, 4 months ago) by brun
Original Path: trunk/ged/src/TH1Editor.cxx
File length: 89710 byte(s)
Diff to previous 10084
From Carsten Hof
some inconsistency fixes.

Revision 10084 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 17 09:37:32 2004 UTC (10 years, 4 months ago) by brun
Original Path: trunk/ged/src/TH1Editor.cxx
File length: 90203 byte(s)
Diff to previous 9939
From Carsten Hof
New version of the THxEditors with several tiny improvements

Revision 9939 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 7 17:26:16 2004 UTC (10 years, 4 months ago) by brun
Original Path: trunk/ged/src/TH1Editor.cxx
File length: 81883 byte(s)
Diff to previous 9936
From Carsten Hof
Forgot the implementation of the DoBinlabel method

Revision 9936 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 7 17:00:13 2004 UTC (10 years, 4 months ago) by brun
Original Path: trunk/ged/src/TH1Editor.cxx
File length: 81445 byte(s)
Diff to previous 9829
New version of TH1Editor from Carsten Hof.
This new version includes a TAB "Binning" with two major options
  -simple rebinning for a binned histogram
  -sliders reprojecting from the TTreePlayer vectors

Revision 9829 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 24 09:32:31 2004 UTC (10 years, 5 months ago) by brun
Original Path: trunk/ged/src/TH1Editor.cxx
File length: 53562 byte(s)
Diff to previous 9778
From Carsten Hof
new features in TH2Editor:

- Enable/Disable the "Cont"-Label
- Changing the Frame Fill Color and the Frame Fill Style
- in 3D-Plot + Cartesian Coordinates you can see the new axis range as a box
  when you push the "Delayed drawing" Checkbutton (it works =) :))))

Problem(s):
- the Frame Fill Color/Style is still kept when switching to a 2D-Plot

Revision 9778 - (view) (download) (as text) (annotate) - [select for diffs]
Added Wed Aug 18 09:12:00 2004 UTC (10 years, 5 months ago) by brun
Original Path: trunk/ged/src/TH1Editor.cxx
File length: 48203 byte(s)
From Carsten Hof:
Add new classes TH1Editor and TH2Editor

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9