Log of /trunk/gui/ged/inc/TGedEditor.h
Parent Directory
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: 4614 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
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/inc/TGedEditor.h
File length: 4451 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/inc/TGedEditor.h
File length: 3345 byte(s)
Diff to
previous 15134
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
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/inc/TGedEditor.h
File length: 3294 byte(s)
Diff to
previous 11221
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
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/inc/TGedEditor.h
File length: 3212 byte(s)
Diff to
previous 10558
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
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/inc/TGedEditor.h
File length: 2860 byte(s)
Diff to
previous 9320
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
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/inc/TGedEditor.h
File length: 2781 byte(s)
Diff to
previous 9254
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
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/inc/TGedEditor.h
File length: 2606 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/inc/TGedEditor.h
File length: 1924 byte(s)
Diff to
previous 8280
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
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/inc/TGedEditor.h
File length: 1967 byte(s)
Diff to
previous 8233
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
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/inc/TGedEditor.h
File length: 1790 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.