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

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

Parent Directory Parent Directory


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

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: 123844 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: 123830 byte(s)
Diff to previous 35417
Fix coverity reports (dereference null return values)

Revision 35417 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 20 07:16:18 2010 UTC (4 years, 4 months ago) by bellenot
File length: 123076 byte(s)
Diff to previous 35073
Add a protection against possible out-of-bounds read (coverity)

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: 123076 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: 122804 byte(s)
Diff to previous 31792
Protect potential out-of-bounds read (coverity)

Revision 31792 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 10 14:32:15 2009 UTC (5 years, 1 month ago) by bellenot
File length: 122686 byte(s)
Diff to previous 23115
- Fix memory leaks by properly delete allocated arrays (coverity)

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: 123699 byte(s)
Diff to previous 20882
moved to directory "gui" the following directories:

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

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/TH2Editor.cxx
File length: 123699 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/TH2Editor.cxx
File length: 123699 byte(s)
Diff to previous 18842
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 18842 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 21 13:42:26 2007 UTC (7 years, 8 months ago) by antcheva
Original Path: trunk/ged/src/TH2Editor.cxx
File length: 123716 byte(s)
Diff to previous 18221
Added fSizeForText data member. It is set to kTRUE if the
"TEXT" draw option uses marker size as a text size setting.
Follow up changes in TH2Editor.

Revision 18221 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 9 15:17:31 2007 UTC (7 years, 10 months ago) by antcheva
Original Path: trunk/ged/src/TH2Editor.cxx
File length: 123588 byte(s)
Diff to previous 18220
Forgot to remove debugging line.

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/TH2Editor.cxx
File length: 123595 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/TH2Editor.cxx
File length: 124854 byte(s)
Diff to previous 17700
- removed obsolete class TGedToolBox
- cleanup of includes

Revision 17700 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 5 17:24:57 2007 UTC (7 years, 11 months ago) by antcheva
Original Path: trunk/ged/src/TH2Editor.cxx
File length: 125007 byte(s)
Diff to previous 17518
- missing method separator line

Revision 17518 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 25 17:35:56 2007 UTC (8 years ago) by antcheva
Original Path: trunk/ged/src/TH2Editor.cxx
File length: 124925 byte(s)
Diff to previous 17482
Implemented functionality related to graphical cut draw options in TH2Editor.

Revision 17482 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 24 08:09:03 2007 UTC (8 years ago) by brun
Original Path: trunk/ged/src/TH2Editor.cxx
File length: 124135 byte(s)
Diff to previous 17477
Fix coding convention

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/TH2Editor.cxx
File length: 124136 byte(s)
Diff to previous 17448
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 17448 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 23 08:29:43 2007 UTC (8 years ago) by antcheva
Original Path: trunk/ged/src/TH2Editor.cxx
File length: 124140 byte(s)
Diff to previous 16353
Fixed the following bug in DoAddError method: when drawing in 3-D a
histogram without errors, draw options were concatenated  with the applied
ones for the 2-D case.

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/TH2Editor.cxx
File length: 124026 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/TH2Editor.cxx
File length: 124074 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/TH2Editor.cxx
File length: 126412 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/TH2Editor.cxx
File length: 124683 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/TH2Editor.cxx
File length: 124663 byte(s)
Diff to previous 13358
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 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/TH2Editor.cxx
File length: 117147 byte(s)
Diff to previous 13306
From Ilka:
Using the faster version of InheritsFrom(TClass*) instead of InheritsFrom(const char*)
where possible in the editors' code.

Revision 13306 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 21 16:11:07 2005 UTC (9 years, 2 months ago) by brun
Original Path: trunk/ged/src/TH2Editor.cxx
File length: 117120 byte(s)
Diff to previous 13199
From Ilka:
allow the TH2Editor editor to be activated for empty histograms (check for a histogram
name 'htemp', not for the number of entries = 0, as a condition to avoid empry
histograms used for ntuple drawings).

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/TH2Editor.cxx
File length: 117075 byte(s)
Diff to previous 12997
From Ilka:
Fixes to make the rule checker happy

Revision 12997 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 21 13:28:12 2005 UTC (9 years, 3 months ago) by brun
Original Path: trunk/ged/src/TH2Editor.cxx
File length: 117072 byte(s)
Diff to previous 12646
From Ilka:
a minor fix in TH2Editor.cxx

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/TH2Editor.cxx
File length: 117062 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/TH2Editor.cxx
File length: 116551 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/TH2Editor.cxx
File length: 116551 byte(s)
Diff to previous 10499
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 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/TH2Editor.cxx
File length: 116543 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/TH2Editor.cxx
File length: 116509 byte(s)
Diff to previous 10154
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 10154 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 23 06:23:25 2004 UTC (10 years, 4 months ago) by brun
Original Path: trunk/ged/src/TH2Editor.cxx
File length: 116398 byte(s)
Diff to previous 10152
Fix some format inconsistenties

Revision 10152 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 23 05:30:07 2004 UTC (10 years, 4 months ago) by brun
Original Path: trunk/ged/src/TH2Editor.cxx
File length: 116396 byte(s)
Diff to previous 10137
From Carsten:
commented version of TH2Editor with 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/TH2Editor.cxx
File length: 109425 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/TH2Editor.cxx
File length: 110070 byte(s)
Diff to previous 10121
New version of the editors (Carsten)

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/TH2Editor.cxx
File length: 108467 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/TH2Editor.cxx
File length: 108496 byte(s)
Diff to previous 10099
From Carsten Hof
some inconsistency fixes.

Revision 10099 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 20 11:30:15 2004 UTC (10 years, 4 months ago) by brun
Original Path: trunk/ged/src/TH2Editor.cxx
File length: 110442 byte(s)
Diff to previous 10084
From Olivier:
- The variable "i" was declared twice (VC++ 6 only)

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/TH2Editor.cxx
File length: 110444 byte(s)
Diff to previous 9940
From Carsten Hof
New version of the THxEditors with several tiny improvements

Revision 9940 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 7 18:45:42 2004 UTC (10 years, 4 months ago) by brun
Original Path: trunk/ged/src/TH2Editor.cxx
File length: 91950 byte(s)
Diff to previous 9829
From Carsten Hof
Implementation of rebinning from a Tree

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/TH2Editor.cxx
File length: 61431 byte(s)
Diff to previous 9789
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 9789 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 19 16:17:16 2004 UTC (10 years, 5 months ago) by brun
Original Path: trunk/ged/src/TH2Editor.cxx
File length: 46719 byte(s)
Diff to previous 9778
From Carsten Hof
New version of TH2Editor with several improvements in the GUI and in functionality

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/TH2Editor.cxx
File length: 39089 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