Log of /trunk/gui/gui/inc/TRootCanvas.h
Parent Directory
Revision
29403 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Jul 9 07:17:16 2009 UTC (5 years, 6 months ago) by
brun
File length: 7184 byte(s)
Diff to
previous 28464
From Bertrand:
Implement tooltip displaying information about the primitive below the mouse pointer in a canvas.
It is possible to enable/disable this optional feature with the "Tooltip info" menu entry from the "View" menu of the canvas.
To change the default behaviour (off by default), a new option has been added in system.rootrc:
Canvas.ShowToolTips: false
Revision
26760 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Dec 9 15:56:43 2008 UTC (6 years, 1 month ago) by
brun
File length: 6946 byte(s)
Diff to
previous 25603
From Axel, Matevz and me:
Added several methods to be able to properly generate pictures from macros (for html):
- Added Bool_t HasViewer3D() to TVirtualPad/TPad
- Added Bool_t HasEditor() HasMenuBar() HasStatusBar() HasToolBar() to TCanvasImp /TRootCanvas
Revision
25603 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Sep 30 07:58:03 2008 UTC (6 years, 3 months ago) by
bellenot
File length: 6816 byte(s)
Diff to
previous 23115
- From Katerina Opocenska and me:
TRecorder classes provide interface for recording and replaying
events in ROOT.
Recorded events are:
- Commands typed by user in command line (e.g. 'new TCanvas')
- GUI events (mouse movement, button clicks, ...)
All the recorded events from one session are stored in one TFile
and can be replayed again anytime.
- Added icons needed by TGRecorder
- Modifications in TRootCanvas menu:
Renamed "Inspect" menu title to "Tools"
Added "Event Recorder" menu entry
Revision
18536 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Apr 19 21:07:02 2007 UTC (7 years, 9 months ago) by
brun
Original Path:
trunk/gui/inc/TRootCanvas.h
File length: 6941 byte(s)
Diff to
previous 16670
From Bertrand:
Added drag and drop support for Linux (Xdnd) and Windows (Clipboard).
It is now possible to drag an histogram (or any other graphical object)
from an opened file in TBrowser to any TCanvas.
It is also possible to drag a text file from TBrowser to a TGTextView
or TGTextEdit widget (i.e. in TGTextEditor).
On Linux, it is even possible to drag from a Root application to another
one, or to drag a text file (i.e. a macro) from the ROOT browser to an
external editor (i.e. Kate).
On Windows, drag and drop only works within the same ROOT application
(for the time being).
Revision
12536 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Aug 25 16:38:43 2005 UTC (9 years, 5 months ago) by
rdm
Original Path:
trunk/gui/inc/TRootCanvas.h
File length: 6358 byte(s)
Diff to
previous 12518
From Ilka:
fixes in the TRootCanvas (side effects of recent code changes):
- keeping the canvas height when showing/hiding the dockable tool bar
and the status bar
- View/Toolbar menu does not switch off the toolbar if it is undocked
(it remains on screen)
- editor frame width changed to avoid the horizontal scrollbar appearance
Revision
12518 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Aug 19 09:46:37 2005 UTC (9 years, 5 months ago) by
rdm
Original Path:
trunk/gui/inc/TRootCanvas.h
File length: 6333 byte(s)
Diff to
previous 11995
From Ilka:
The attached patch fixes memory leaks caused by the method
TGMainFrame::SetIconPixmap following way:
- changed method signature to (the backward compatibility is kept)
const TGPicture *TGMainFrame::SetIconPixmap(const char *iconName);
- added new data members cost TGPicture* fIconPic for TRootCanvas,
TRootBrowser, TRootGuiBuilder classes that allow the icon picture to
be freed in the destructors
- code changes for fixing the memory leaks in TRootCanvas, TRootBrowser
and TRootGuiBuilder.
Revision
11995 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Jun 8 17:05:56 2005 UTC (9 years, 7 months ago) by
brun
Original Path:
trunk/gui/inc/TRootCanvas.h
File length: 6268 byte(s)
Diff to
previous 11912
From Valeriy Onuchin:
- TRootCanvas. Canvas toolbar made dockable.
Canvas tool bar is created dynamically now - only when "View
Toolbar" option is choosen from canvas "View" menu. This minimizes
ressources allocation and speed-up a the canvas creation time.
- TRootGuiBuilder - correction for parent window of guibuilder toolbar.
- fix segv. occured when TGDockableFrame was deleted at undocked state.
Revision
10783 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Dec 15 09:27:48 2004 UTC (10 years, 1 month ago) by
rdm
Original Path:
trunk/gui/inc/TRootCanvas.h
File length: 6184 byte(s)
Diff to
previous 9945
From Ilka:
enable the Print command in the TCanvas File menu via a proper
print dialog. The user can specify his prefered print command and
printer via the new Print.Command and Print.Printer rootrc resources.
Examples are provided in system.rootrc.
Revision
9945 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Sep 8 08:13:11 2004 UTC (10 years, 4 months ago) by
brun
Original Path:
trunk/gui/inc/TRootCanvas.h
File length: 6157 byte(s)
Diff to
previous 8847
From Valeriy Onuchin:
- provide default constructors for most TGxxx classes.
The goal:
1. required for guibuilder
2. providing ROOT I/O for GUI classes.
In all default constructors parent window is NULL,
that means that parent window is currently editted window.
Revision
8847 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon May 10 12:09:45 2004 UTC (10 years, 8 months ago) by
brun
Original Path:
trunk/gui/inc/TRootCanvas.h
File length: 6125 byte(s)
Diff to
previous 8776
From Valeriy Onuchin:
- thread safe technique introduced for TCanvas::Update, TCanvas::Resize
methods, i.e. use gInterpreter->Execute.
These mods should improve robustness of win32gdk version and remove
platform dependency of TRootCanvas.
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/gui/inc/TRootCanvas.h
File length: 5835 byte(s)
Diff to
previous 8278
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
8233 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Feb 18 20:13:43 2004 UTC (10 years, 11 months ago) by
brun
Original Path:
trunk/gui/inc/TRootCanvas.h
File length: 5595 byte(s)
Diff to
previous 7637
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.
Revision
7637 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Nov 24 10:51:55 2003 UTC (11 years, 2 months ago) by
brun
Original Path:
trunk/gui/inc/TRootCanvas.h
File length: 4887 byte(s)
Diff to
previous 7415
From valeriy Onuchin:
I updated several base and win32gdk classes.
The goals of these changes are:
- providing thread safety for CINT and canvas graphics
- improve perforamnce
The list of the changes.
win32gdk:
- new TGWin32Interpreter class introduced. Along with
redefinition of gInterpreter global that allows to have thread-safe
interface to CINT functions and methods.
- TGWin32Proxy class renamed to TGWin32VirtualXProxy and
modified in "not-radical way".
- TGWin32ProxyBase.cxx contains "howto create proxy class".
canvas thread-safety:
- locking methods added to TCanvasImp, TRootCanvas and TCanvas
classes. That prevents from simultanious canvas updating from
different threads.
The results:
- overall improvement of thread safety and stability of win32gdk version
- improved performance. benchmarks.C 15-20%, some cases (3D graphics)
more than 30%.
Revision
7415 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Oct 8 09:50:47 2003 UTC (11 years, 3 months ago) by
brun
Original Path:
trunk/gui/inc/TRootCanvas.h
File length: 4721 byte(s)
Diff to
previous 6600
From valeriy Onuchin:
Add possibility to put a progress bar into a status bar.
Deriving TGStatusBarPart from TGCompositeFrame
allows to do it.
- Derive TGStatusBarPart from TGCompositeFrame
- Add getters returning TGStatusBar to TRootBrowser,TRootCanvas
- Add getter returning TGStatusBarPart to TGStatusBar
Example:
TBrowser b;
TRootBrowser *imp= (TRootBrowser*)b.GetBrowserImp();
TGStatusBar *bar = imp->GetStatusBar();
TGCompositeFrame *part = bar->GetBarPart(1);
TGHProgressBar *hb = new TGHProgressBar(part, 300);
hb->Move(300,0);
part->MapSubwindows();
Revision
6600 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sun May 11 14:59:10 2003 UTC (11 years, 8 months ago) by
rdm
Original Path:
trunk/gui/inc/TRootCanvas.h
File length: 4659 byte(s)
Diff to
previous 5329
provide getters for the menubar and menubar item layout hints. This
allows for the extension of the standard TCanvas menubar. To add a menu
to the right of the "Classes" menu item do:
TCanvas *c = new TCanvas;
TRootCanvas *r = dynamic_cast<TRootCanvas*>(c->GetCanvasImp());
TGMenuBar *m = r->GetMenuBar();
TGPopupMenu *p = m->GetPopup("Help");
TGPopupMenu *menuNew = new TGPopupMenu();
menuNew->AddEntry("New Entry", 0);
m->AddPopup("New", menuNew, r->GetMenuBarItemLayout(), p);
m->MapSubwindows();
m->Layout();
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.