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

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

Parent Directory Parent Directory


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

Revision 42664 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 17 11:27:59 2012 UTC (3 years ago) by bellenot
File length: 21850 byte(s)
Diff to previous 41275
Fix coverity #35975: Dereference null return

Revision 41275 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 7 12:15:16 2011 UTC (3 years, 3 months ago) by bellenot
File length: 21824 byte(s)
Diff to previous 33756
Fix coverity reports #33686 & #33377 (dereference null return)

Revision 33756 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 7 07:39:43 2010 UTC (4 years, 7 months ago) by bellenot
File length: 21764 byte(s)
Diff to previous 33457
Add a protection against possible NULL gPad & fCanvas

Revision 33457 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 11 07:11:07 2010 UTC (4 years, 8 months ago) by bellenot
File length: 21730 byte(s)
Diff to previous 32185
From Matevz:
* TGedFrame: Remove function TGedFrame::GetLayoutHints() and data-member fLayoutHints caching these layout-hints as it led to double deletion in TGedEditor destruction.

* TGedEditor: Directly instantiate layout-hints instead of calling TGedFrame::GetLayoutHints().

Revision 32185 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 2 14:46:35 2010 UTC (4 years, 11 months ago) by bellenot
File length: 21655 byte(s)
Diff to previous 31320
Add protection against possible null pointer (coverity)

Revision 31320 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 19 16:42:53 2009 UTC (5 years, 2 months ago) by bellenot
File length: 21606 byte(s)
Diff to previous 31206
From Matevz:
- Add optional width and height arguments to TGedEditor constructor.

Revision 31206 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 16 16:48:49 2009 UTC (5 years, 2 months ago) by bellenot
File length: 21574 byte(s)
Diff to previous 27157
Form Matevz:
Create name-frame in new virtual function CreateNameFrame() to allow sub-classes to override the default look or add new functionality.

Revision 27157 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 15 14:05:12 2009 UTC (6 years ago) by brun
File length: 21294 byte(s)
Diff to previous 23115
From Axel:
Replace all references to Text_t by char, still keeping the definition in Rtypes.h

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: 21298 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/TGedEditor.cxx
File length: 21298 byte(s)
Diff to previous 20292
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 20292 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 10 14:08:48 2007 UTC (7 years, 3 months ago) by brun
Original Path: trunk/ged/src/TGedEditor.cxx
File length: 21298 byte(s)
Diff to previous 19826
From Matevz & Alja

	* base/inc/TVirtualViewer3D.h:
	Add function virtual void ObjectPaint(TObject*, Option_t*).


/**************************************************************************/

	* ged/src/TGedEditor.cxx:
	When adding top-level TGFrame for the extra tabs specify layout
	hints with kLHintsExpandX.


/**************************************************************************/

	* gl/inc/TGLScenePad.h:
	* gl/src/TGLScenePad.cxx:
	Implement virtual TVirtualViewer3D::ObjectPaint().

	* gl/src/TGLCamera.cxx:
	* gl/inc/TGLCamera.h:	
	* gl/src/TGLPerspectiveCamera.cxx:
	* gl/inc/TGLPerspectiveCamera.h:	
	* gl/src/TGLOrthoCamera.cxx:
	* gl/inc/TGLOrthoCamera.h:
	Introduce two transformation matrices to clearly define movement
	of camera around the center point. The first transformation matrix
	fCamBase defines the coordinate system placed at the camera center
	point with camera up-vector as the third base vector. The second
	transformation matrix fCamTrans defines the camera transformation
	relative to fCamBase.

        Implement a common Truck(), Rotate() and Dolly() function for
	orthographic and perspective camera.

	Implement an option to define camera center point
	externally. Center can also be determined via picking.

	* gl/src/TGLUtil.cxx:
	* gl/inc/TGLUtil.h:
	TGLMatrix: add new functions to get/set the base vectors
	directly.

	TGLUtil: add member UInt_t fgDefaultDrawQuality.

	TGLRect: bugfix in Diagonal(), integer calculation overflowed.

	* gl/src/TGLViewer.cxx:
	* gl/inc/TGLViewer.h:
	Make interface to draw camera center point.
	Add option to disable/enable depth test when drawing axis guides. 

	* gl/src/TGLViewerEditor.cxx:
	* gl/inc/TGLViewerEditor.h:
	Add GUI to manipulate camera center and to disable/enable depth
	test when drawing axis guides.

	* gl/src/TGLClipSetEditor.cxx:
	Change layout of labeled number entries.

	* gl/src/TGLLightSet.cxx:
	Fix positioning of front light. White-space consolidation.

	* gl/src/TGLLightSetEditor.cxx:
	* gl/inc/TGLLightSetEditor.h:
        Put GUI for the 6 lights in two columns.


/**************************************************************************/

	* tutorials/gl/glViewerExercise.C:
	Follow-up on changes in TGLCamera. Enable rotation on
	orthographic camera.

	* tutorials/gl/glViewerLOD.C:
	Workourond for cint bug with switch statements.

Revision 19826 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:56:11 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/ged/src/TGedEditor.cxx
File length: 21247 byte(s)
Diff to previous 19825
imported svn:keywords Id property

Revision 19825 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:49:10 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/ged/src/TGedEditor.cxx
File length: 21299 byte(s)
Diff to previous 19713
remove :$ from tag line

Revision 19713 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 28 14:25:19 2007 UTC (7 years, 4 months ago) by antcheva
Original Path: trunk/ged/src/TGedEditor.cxx
File length: 21309 byte(s)
Diff to previous 19685
From Matevz:
Prevent multiple addition of extra-tabs in ActivateEditor().

Revision 19685 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 26 16:51:48 2007 UTC (7 years, 5 months ago) by rdm
Original Path: trunk/ged/src/TGedEditor.cxx
File length: 21258 byte(s)
Diff to previous 18447
From Axel:
fix several warnings about pointer size on 64bit platforms.

Revision 18447 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 30 16:12:09 2007 UTC (7 years, 9 months ago) by antcheva
Original Path: trunk/ged/src/TGedEditor.cxx
File length: 21280 byte(s)
Diff to previous 18388
Additional protection against zero pointer of TColorWheel object

Revision 18388 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 22 14:58:45 2007 UTC (7 years, 10 months ago) by antcheva
Original Path: trunk/ged/src/TGedEditor.cxx
File length: 21248 byte(s)
Diff to previous 17733
TColorWheel object excluded from the selected objects in graphics editor.
It is used in color dialog for selecting colors.

Revision 17733 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 6 15:39:54 2007 UTC (7 years, 11 months ago) by antcheva
Original Path: trunk/ged/src/TGedEditor.cxx
File length: 21168 byte(s)
Diff to previous 17581
- cleanup of includes

Revision 17581 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 30 11:49:15 2007 UTC (7 years, 11 months ago) by brun
Original Path: trunk/ged/src/TGedEditor.cxx
File length: 21210 byte(s)
Diff to previous 17561
-Replace calls to gROOT->GetClass by TClass::GetClass
-Remove unused references to TROOT.h
-Add include TClass.h in classes assuming an implicit include by other classes

Revision 17561 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 29 15:10:49 2007 UTC (7 years, 11 months ago) by brun
Original Path: trunk/ged/src/TGedEditor.cxx
File length: 21213 byte(s)
Diff to previous 17560
-Add include "TROOT.h" in all implementation files that were assuming
that TROOT was included via TClass.h


-In TClass.h:
 --Remove the include of TROOT.h
 --add the following static member
   static IdMap_t    *fgIdMap;          //Map from typeid to TClass pointer

 --add the following functions:
   static void           AddClass(TClass *cl);
   static void           RemoveClass(TClass *cl);

 --Replace the inline definitions of GetClass functions by
   template <typename T> TClass* GetClass(      T**       /* dummy */) { return GetClass((T*)0); }
   template <typename T> TClass* GetClass(const T**       /* dummy */) { return GetClass((T*)0); }

-In TClass.cxx:
 --Instead of forwarding the calls to gROOT->GetClass, move the code
  originally in TROOT in the TClass::GetClass functions
 --Move class TMapTypeToTClass from TROOT to TClass.

Revision 17560 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 29 14:28:31 2007 UTC (7 years, 11 months ago) by antcheva
Original Path: trunk/ged/src/TGedEditor.cxx
File length: 21194 byte(s)
Diff to previous 17493
From Alja Tadel:
Fixed a bug in recently introduced ReinitWorkspace() method - the Style
tab was not cleared if the selected object does not have inherited or
implemented editor.

Revision 17493 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 24 17:58:38 2007 UTC (8 years ago) by antcheva
Original Path: trunk/ged/src/TGedEditor.cxx
File length: 21472 byte(s)
Diff to previous 17380
From Alja Tadel:
- In SetModel() map sub-frames only if the object fModel was changed.

Revision 17380 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 17 17:06:11 2007 UTC (8 years ago) by antcheva
Original Path: trunk/ged/src/TGedEditor.cxx
File length: 21241 byte(s)
Diff to previous 17378
From Axel:
- replaced TObject */*obj*/ by TObject * /*obj*/ to avoid MSVC
warnings about the "*/" outside a comment

Revision 17378 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 17 16:15:00 2007 UTC (8 years ago) by antcheva
Original Path: trunk/ged/src/TGedEditor.cxx
File length: 21240 byte(s)
Diff to previous 16968
- updated class description

Revision 16968 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 28 11:05:48 2006 UTC (8 years, 1 month ago) by antcheva
Original Path: trunk/ged/src/TGedEditor.cxx
File length: 18923 byte(s)
Diff to previous 16352
- do not show global editor if it was unmapped

Revision 16352 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 27 08:45:42 2006 UTC (8 years, 3 months ago) by rdm
Original Path: trunk/ged/src/TGedEditor.cxx
File length: 18906 byte(s)
Diff to previous 16327
From Matevz:
Avoid reparenting during ged-frame creation. A static member is
used to propagate the current TGedEditor to the frames and
TGedFrame constructor retrieves it from there.

Revision 16327 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 25 13:31:54 2006 UTC (8 years, 4 months ago) by rdm
Original Path: trunk/ged/src/TGedEditor.cxx
File length: 18996 byte(s)
Diff to previous 15849
From Matevz:
Reimplementation of TGedFrame and tab management.

1. Change creation of class-editors:
Use TClass::New() for instantiation. When fModel is changed, store
it in a local map fFrameMap. During construction get
them from pool or instantiate.

2. Handle visibility and order of class-editors:
Traverse the class hierarchy and construct a list of visible
frames. Each class-editor can override the default behavior by
implementing the virtual TGedFrame::ActivateBaseClassEditors()
method.

3. New SetModel scheme:
Hide currently shown tabs and their contents, then return them
to fFrameMap pool.

Activate desired TGedFrames and appropriate extra tabs Recursively
descend via
TGedEditor::ActivateEditor(TClass* c, Bool t recurse) and
TGedEditor::ActivateEditors(TList* classes, Bool t recurse).

For each encountered class-editor (not all classes have editors)
redirect recursion via virtual
TGedFrame::ActivateBaseClassEditors(TClass* c).

Revision 15849 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 26 13:36:44 2006 UTC (8 years, 6 months ago) by rdm
Original Path: trunk/ged/src/TGedEditor.cxx
File length: 13982 byte(s)
Diff to previous 15526
Instead of providing default implementations for copy ctor's and assignment
operators we better make them private (and not implemented) to avoid people
from accidentally using them. Especially the collections classes and the
TQObject derived classes. In these classes the default implementations would
cause havoc due to multiple deletions of the same objects and other
potential memory corruptions.

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/TGedEditor.cxx
File length: 14946 byte(s)
Diff to previous 15166
- 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 15166 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 24 14:49:21 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/ged/src/TGedEditor.cxx
File length: 14607 byte(s)
Diff to previous 15134
Fix coding conventions violations

Revision 15134 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 23 04:47:42 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/ged/src/TGedEditor.cxx
File length: 14538 byte(s)
Diff to previous 14336
From Federico Carminati:

"I have implemented all copy and equal operators needed to silence all
warnings in AliRoot, as requested. I have implemented shallow copies as
would do the default operators synthetized by the compiler.
Most operators are protected. If users complain, you just have to move
them into the public area, but class derivation is of course supported.
It has been a terrible job, I have modified 278 files, but the changes
are backward compabile, and this goes a long way to permitting user to
use the effc++ flag with root headers."

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/TGedEditor.cxx
File length: 13663 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/TGedEditor.cxx
File length: 13644 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/TGedEditor.cxx
File length: 13459 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/TGedEditor.cxx
File length: 13444 byte(s)
Diff to previous 12058
From Ilka:
Fixes to make the rule checker happy

Revision 12058 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 15 13:12:57 2005 UTC (9 years, 7 months ago) by rdm
Original Path: trunk/ged/src/TGedEditor.cxx
File length: 13331 byte(s)
Diff to previous 11844
from Ilka:
global editor protection for the cases it was activated via an embedded
canvas widget (in this case  the canvas->GetWindowHeight() returns 0).

Revision 11844 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 20 16:22:37 2005 UTC (9 years, 8 months ago) by brun
Original Path: trunk/ged/src/TGedEditor.cxx
File length: 13091 byte(s)
Diff to previous 11843
From Ilka:
Additional fix for :
- TGedEditor.cxx - change the height in the Show() method too
- TGraphEditor - fix a side effect seen in ntuple1.C

- draw2dopt.C - change the canvas name to "surfopt" to avoid overwriting on
Windows
  (Thanks to Philippe)

Revision 11843 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 20 14:39:22 2005 UTC (9 years, 8 months ago) by brun
Original Path: trunk/ged/src/TGedEditor.cxx
File length: 13090 byte(s)
Diff to previous 11789
From Ilka:
ged/src/TGedEditor.cxx
-  change the height in the constructor to avoid scrollbars

ged/src/TGraphEditor.cxx
-  graph editor works for TGraphErrors objects too

tutorials/draw2dopt.C
-  change the canvas name from "surfaces" to "Surfaces" to avoid overwriting
the macro surfaces.C when saving  this canvas  as  a macro .C file via Save
menu.

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/TGedEditor.cxx
File length: 13090 byte(s)
Diff to previous 11780
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 11780 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 12 13:57:32 2005 UTC (9 years, 8 months ago) by rdm
Original Path: trunk/ged/src/TGedEditor.cxx
File length: 12723 byte(s)
Diff to previous 11221
From Ilka:
improvement of the global editor position. Its window appears closer to
the canvas window on the left or right side according to the available
display space.

Revision 11221 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 3 22:06:49 2005 UTC (9 years, 10 months ago) by brun
Original Path: trunk/ged/src/TGedEditor.cxx
File length: 12362 byte(s)
Diff to previous 11021
From Ilka:

TVirtualPadEditor.h, cxx
  - new methids IsGlobal(), SetGlobal()
  - setting of globel editor in Show() method
TGedEditor.h, cxx
  - new data member:Bool_t fGlobal;  //true if editor is global
  - new methods: IsGlobal(), SetGlobal(), SetCanvas(), GetCanvas(),
DisconnectEditors()
TRootCanvas.cxx
  - code changes that allow only one editor (embedded or global) to be activated
per canvas
  - activating the global editor via the context menu of another canvas will
connect this canvas to it and will close the embedded editor if it was opened
  - the global editor works for any embedded canvas

Revision 11021 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 2 17:45:47 2005 UTC (9 years, 11 months ago) by brun
Original Path: trunk/ged/src/TGedEditor.cxx
File length: 9765 byte(s)
Diff to previous 10749
From Ilka:
With this patch an embedded editor can be activated via View/Editor menu
in any canvas created in a root session.

Revision 10749 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 10 12:54:17 2004 UTC (10 years, 1 month ago) by brun
Original Path: trunk/ged/src/TGedEditor.cxx
File length: 9481 byte(s)
Diff to previous 10675
Change width of editor frames from 160 to 170 pixels to avoid the scroll bar overlapping
with the editor

Revision 10675 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 3 12:07:44 2004 UTC (10 years, 1 month ago) by brun
Original Path: trunk/ged/src/TGedEditor.cxx
File length: 9481 byte(s)
Diff to previous 10558
From Ilka:
fix of bug #2582. The changes are:
base/inc/TVirtualPadEditor.h,cxx
- the signature of GetPadEditor method
- new method Terminate() via which the global editor is closed

ged/src/TGedEditor.cxx
- fixes in Hide and RecursiveRemove methods

gui/src/TRootCanvas.cxx
- fix in dtor: deletion of fEditor has nothing to do with MustCleanup;
this caused double deletion in some cases
- close of the global editor in case it was activated

tutorials/guitest.C
- close of the global editor in case it was activated via embedded
canvas context menu

Revision 10558 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 18 15:52:17 2004 UTC (10 years, 2 months ago) by brun
Original Path: trunk/ged/src/TGedEditor.cxx
File length: 9504 byte(s)
Diff to previous 10505
From Ilka:
changes that provide scroll bars for the object editors:
TGedEditor.h,.cxx
- new data member: TGCanvas *fCan
- set the name of editor window 'canvasname_Editor'

TRootCanvas.cxx
- minor layout changes required by the scroll bar appearance

Revision 10505 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 9 16:08:52 2004 UTC (10 years, 2 months ago) by brun
Original Path: trunk/ged/src/TGedEditor.cxx
File length: 9314 byte(s)
Diff to previous 10126
From Ilka:
changes in TGedEditor.
object editors are activated/updated only when the left mouse button is
pressed.

Revision 10126 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 21 17:53:10 2004 UTC (10 years, 4 months ago) by brun
Original Path: trunk/ged/src/TGedEditor.cxx
File length: 9275 byte(s)
Diff to previous 10121
From Valeriy Onuchin:
-there is no need to call fStyle->SetEditable(1); TGedEditor ctor.
- fix Crop action in gui builder

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/TGedEditor.cxx
File length: 9331 byte(s)
Diff to previous 9585
From Carsten & Ilka
New version of the TH1 editor

Revision 9585 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 24 16:26:31 2004 UTC (10 years, 6 months ago) by rdm
Original Path: trunk/ged/src/TGedEditor.cxx
File length: 8615 byte(s)
Diff to previous 9320
in case no object has been selected use canvas itself, this fixes:
root [0] TCanvas *s = new TCanvas
root [1] s->ToggleEditor()

Revision 9320 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 25 17:13:23 2004 UTC (10 years, 7 months ago) by brun
Original Path: trunk/ged/src/TGedEditor.cxx
File length: 8509 byte(s)
Diff to previous 9260
From Ilka:
- implemented new method ConnectSignals2Slots() to avoid non pleasant
behavior of selected object in the canvas;
- improved comments;
- TGGroupFrame::DrawBorder() - fix in border drawing to avoid extra space
in the bottom of the group frame;
-TRootCanvas::ReallyDelete() - missing a call to DeleteEditors() method;


TPadEditor class provides GUI for an easy control of pad/canvas attributes.
Users can set log scales, ticks and grids along x, y,z; border mode and
size, etc.

TPaveStatsEditor provides GUI for editing TPaveStats options.

Revision 9260 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 18 22:26:53 2004 UTC (10 years, 7 months ago) by brun
Original Path: trunk/ged/src/TGedEditor.cxx
File length: 8195 byte(s)
Diff to previous 9254
Remove debug print statements

Revision 9254 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 18 15:50:43 2004 UTC (10 years, 7 months ago) by brun
Original Path: trunk/ged/src/TGedEditor.cxx
File length: 8388 byte(s)
Diff to previous 8655
From Ilka:
- TGedEditor class is changed completely to allow the freedom of loading any
  available attribute editor. There is a name convention to follow for this
  purpose: the name of the attribute editor is the class name + 'Editor',
  (i.e. the attribute editor of TAxis should be called TAxisEditor)

Revision 8655 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 22 16:28:29 2004 UTC (10 years, 9 months ago) by brun
Original Path: trunk/ged/src/TGedEditor.cxx
File length: 2992 byte(s)
Diff to previous 8484
Mega patch from Ilka:

base/inc/TAttAxis.h
   ~ SetTitleSize default value was wrong

ged/inc/LinkDef.h
   ~ included the new classes:
     TGedAttAxisFrame,
     TGedAttAxisTitle,
     TGedAttAxisLabel

ged/inc/TGedAttFrame.h, cxx
   ~ add comments on data members
   ~ new classes:
     TGedAttAxisFrame - axis attribute frame
     TGedAttAxisTitle - axis title attribute frame
     TGedAttAxisLabel - axis label attribute frame
   ~ layout hints changed mostly everywhere to gain space for axis
     attribute widgets in the editor window
   ~ code cleaning
   ~ added comments everywhere
   ~ new methods in class TGedAttFrame: ExecuteChar(), Update()

ged/inc/TGedEditor.h, cxx
   ~ removed fToolBox data member
   ~ changes required by removing of fToolBox

ged/inc/TGedPropertyFrame.h, cxx
   ~ added three new property farmes
   ~ the number of property frames is set via kNPropertyFrames
   ~ added axis, axis title, axis label attribute frames

ged/src/TGedToolBox.cxx
   ~ changes in: layout manager and button names

gpad/inc/TCanvas.h, cxx
   ~ new data members: fSelectedX, fSelectedY keeping the (X,Y)
     of selected object + corresponding getters
   ~ removed '!' from the comments of fShowToolBar, fShowEditor
   ~ changed class version from 4 to 5
   ~ changes in SaveSource to save the status of toolbar and pad
     editor in .C macro

gui/inc/TGNumberEntry.h, cxx
   ~ new signal ValueSet() needed by pad editor

gui/inc/TRootCanvas.h, cxx
   ~ new data members:
     fFileSaveMenu   // save cascade submenu
     fEditClearMenu  // clear cascade submenu
     fViewWithMenu   // view with... cascade submenu
   ~ menu reorganization
   ~ keeping the canvas size when showing the pad editor
   ~ moving the canvas scroll bars according to the (X,Y) of
     selected object to make it visible
   ~ draw primitive buttons added to the tool bar

Revision 8484 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 23 15:22:24 2004 UTC (10 years, 10 months ago) by brun
Original Path: trunk/ged/src/TGedEditor.cxx
File length: 2983 byte(s)
Diff to previous 8280
From Ilka:
The dialog editor shows up with no reduced size.

Revision 8280 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 20 16:30:49 2004 UTC (10 years, 11 months ago) by rdm
Original Path: trunk/ged/src/TGedEditor.cxx
File length: 2983 byte(s)
Diff to previous 8261
fix to avoid confusion between embedded editor and editor in dialog.
Each TCanvas (i.e. via TRootCanvas) own its editor obtained via
TVirtualPadEditor::LoadEditor(). However, there is only one editor dialog
for the entire application, which is referenced via
TVirtualPadEditor::GetPadEditor() (using the fgPadEditor static member).
Clicking the WM close button on this dialog does not delete, but just hide
the dialog for later use. Assigning an object to be edited by the editor in
the dialog is not yet fully functional.

Revision 8261 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 19 15:36:46 2004 UTC (10 years, 11 months ago) by brun
Original Path: trunk/ged/src/TGedEditor.cxx
File length: 2477 byte(s)
Diff to previous 8233
From Valeriy
- ged works on linux OK
- OK (except line styles) on windows

Revision 8233 - (view) (download) (as text) (annotate) - [select for diffs]
Added Wed Feb 18 20:13:43 2004 UTC (10 years, 11 months ago) by brun
Original Path: trunk/ged/src/TGedEditor.cxx
File length: 2476 byte(s)
The following mega patch is from Ilka. She has integrated and further
developed the original classes from Marek Biskup (summer student last year)..
Valeriy Onuchin has also contributed by extending/adapting existing
GUI classes.

Very first prototype of the new pad editor is available for testing and
feedbacks. It was started by Marek Biskup as his project during the
Summer Student Program 2003.
The new pad editor helps ROOT GUI to become closer to the well known
application GUIs; to be user friendly, having easier and faster access
to the ROOT graphics, to be more intuitive. It is embedded in the
TCanvas window every canvas has an editor.
The editor frame is on the left side of the canvas window. The user can
show it via Edit/Editor menu selection. The editor frame contains a set
of picture buttons for selecting well known graphical primitives for
drawing; below them there are widgets for attribute changing. When an
object is selected its name appears with a set of options available for
changing: fill style and color; line style, width and color; text font,
size and style; marker style, size and color.

New Classes:
TGFontTypeComboBox - a combo box with fonts for a choice;
TGLineWidthComboBox - a combo box with line widths;
TGLineWidthLBEntry - list box entry for different line widths
TGLineStyleComboBox - a combo box with line styles;
TGLineStyleLBEntry - list box entry for a line style

TGedEditor - the new editor containing tool-box and attribute frames of
the selected object;
TGedToolBox - frame with picture buttons for a primitive drawing

TGedAttFrame - a base class for all attribute frames
TGedAttNameFrame - a frame showing the selected object name (if exists)
TGedAttFillFrame - a frame showing the fill attributes
TGedAttLineFrame - a frame showing the line attributes
TGedAttTextFrame - a frame showing the text attributes
TGedAttMarkerFrame - a frame showing the marker attributes

TGedPatternFrame - popup window for fill pattern selection
TGedPatternSelector - a button for pattern selection
TGedSelect - service class for selecting
TGedPopup - service class for popup attribute window
TGPatternSelect - a button for selected pattern
TGedMarkerPopup - popup window for marker selection
TGedMarkerSelect - a button for selected marker

Several changes are made in TCanvas, TPad, TRootCanvas to adapt them for
the new GUI interface. The old GUI interface is kept and it can be used
too. The class TPadEditorOld provides its functionality.

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