[root] / trunk / gui / gui / inc / TRootCanvas.h Repository:
ViewVC logotype

Log of /trunk/gui/gui/inc/TRootCanvas.h

Parent Directory Parent Directory


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

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 28464 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 6 12:37:21 2009 UTC (5 years, 8 months ago) by brun
File length: 6949 byte(s)
Diff to previous 26760
From Timur:
New GL interface for TPad (to be documented in next check-in)

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 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: 6879 byte(s)
Copied from: trunk/gui/inc/TRootCanvas.h revision 23114
Diff to previous 20933
moved to directory "gui" the following directories:

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

Revision 20933 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 20 17:11:22 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/gui/inc/TRootCanvas.h
File length: 6879 byte(s)
Diff to previous 20882
From Bertrand:
fix naming conventions, after acronym, next word starts with upper case.

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/gui/inc/TRootCanvas.h
File length: 6879 byte(s)
Diff to previous 19826
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 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/gui/inc/TRootCanvas.h
File length: 6879 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/gui/inc/TRootCanvas.h
File length: 6931 byte(s)
Diff to previous 18536
remove :$ from tag line

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 16670 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 2 07:34:45 2006 UTC (8 years, 2 months ago) by brun
Original Path: trunk/gui/inc/TRootCanvas.h
File length: 6684 byte(s)
Diff to previous 16510
From Federico:
Small mods for effc++

Revision 16510 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 12 07:57:23 2006 UTC (8 years, 3 months ago) by antcheva
Original Path: trunk/gui/inc/TRootCanvas.h
File length: 6558 byte(s)
Diff to previous 13106
- fixed minor memory leak in canvas GUI

Revision 13106 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 1 18:36:01 2005 UTC (9 years, 2 months ago) by rdm
Original Path: trunk/gui/inc/TRootCanvas.h
File length: 6471 byte(s)
Diff to previous 12536
From Ilka:
added the getter method GetToolDock() of the fToolDock data member.

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 11912 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 30 22:47:27 2005 UTC (9 years, 7 months ago) by rdm
Original Path: trunk/gui/inc/TRootCanvas.h
File length: 6210 byte(s)
Diff to previous 10783
From Ilka:
this patch allows to put canvas window on the top of the window stack using
the canvas pointer - requested by Andrea Bulgarelli on RootForum at
http://root.cern.ch/phpBB2/viewtopic.php?t=2050.

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 8776 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 4 14:41:52 2004 UTC (10 years, 8 months ago) by brun
Original Path: trunk/gui/inc/TRootCanvas.h
File length: 6288 byte(s)
Diff to previous 8757
Modify TCanvasImp::GetWindowGeometry (and TRootCanvas::GetWindowGeometry) to return the editor width.
Change TCanvas::Streamer to save the effective canvas size excluding the editor.

Revision 8757 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 3 10:42:55 2004 UTC (10 years, 8 months ago) by rdm
Original Path: trunk/gui/inc/TRootCanvas.h
File length: 6289 byte(s)
Diff to previous 8655
three separator widgets were not deleted while their windows had been
closed. Caused benchmarks.C to fail.

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 8278 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 20 12:32:06 2004 UTC (10 years, 11 months ago) by brun
Original Path: trunk/gui/inc/TRootCanvas.h
File length: 5623 byte(s)
Diff to previous 8233
From Valeriy Onuchin:
The graphics editor is now craeted dynamically. This should fix a problem
under Windows when running benchmarks.C

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();

Revision 5329 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 18 13:12:59 2002 UTC (12 years, 4 months ago) by rdm
Original Path: trunk/gui/inc/TRootCanvas.h
File length: 4522 byte(s)
Diff to previous 3139
better closing strategy for the canvas, browser and controlbar. No need anymore
for the DetachImp() method (which has been removed).

Revision 3139 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 30 17:21:46 2001 UTC (13 years, 2 months ago) by rdm
Original Path: trunk/gui/inc/TRootCanvas.h
File length: 4494 byte(s)
Diff to previous 2162
handle fixed aspect ratio option in canvas.

Revision 2162 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 10 14:31:48 2001 UTC (13 years, 8 months ago) by rdm
Original Path: trunk/gui/inc/TRootCanvas.h
File length: 4628 byte(s)
Diff to previous 1956
additional change for Denis Bertini's Qt interface. Add Close() method to
TCanvasImp().

Revision 1956 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 11 11:10:44 2001 UTC (13 years, 9 months ago) by brun
Original Path: trunk/gui/inc/TRootCanvas.h
File length: 4610 byte(s)
Diff to previous 3
Add forward declarations for classes having a friend declaration.
This change is required for the new AIX C++ compiler.

Revision 3 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 16 17:00:58 2000 UTC (14 years, 8 months ago) by rdm
Original Path: trunk/gui/inc/TRootCanvas.h
File length: 4531 byte(s)
Copied from: branches/rdm/gui/inc/TRootCanvas.h revision 2
Diff to previous 2
This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches.

Revision 2 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue May 16 17:00:58 2000 UTC (14 years, 8 months ago) by rdm
Original Path: branches/rdm/gui/inc/TRootCanvas.h
File length: 4531 byte(s)
Initial import of ROOT into CVS

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